← All tasks
javascriptreact-native-image-picker/react-native-image-picker #1530Not a task: not reproduced

[🐛] Unable to resolve path to module 'react-native-image-picker'

envgap__react-native-image-picker__react-native-image-picker-1530

01 / FAILURE SIGNATURE

As reported upstream

When I add "main": "src/index.ts" in react-native-image-picker/package.json the error goes away
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
699399300eb6c0ee2511b03eb0c269bc51625f6c
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

react-native-image-picker/react-native-image-picker #1530 · read the original issue
### Description



I upgraded to v3.0.1 and now I'm getting "Unable to resolve path to module 'react-native-image-picker'."

### How to repeat issue and example



- step to reproduce the issue

Import the module

```js

import { launchImageLibrary } from 'react-native-image-picker';

```

The package name is underlined with red.



### Additional Information



- Image Picker version: [3.0.1]

- React Native version: [0.63.4]

- Platform: [Android]

- Development Operating System: [Windows]

- Dev tools: [Android Studio version, iOS or Android SDK version, if applicable] navigation crash for Android



When I add "main": "src/index.ts" in react-native-image-picker/package.json the error goes away
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]