You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Evaluating settings
jest-haste-map: Haste module naming collision: @myapp/myplugin
The following files share their name; please adjust your hasteImpl:
* <rootDir>/libs/myplugin/package.json
* <rootDir>/dist/libs/myplugin/package.json
Failed to construct transformer: DuplicateError: Duplicated files or mocks. Please check the console for more info
Expected Behavior
nx run-android works
Steps to Reproduce
Generate a react-native app: npx nx g @nrwl/react-native:app awesome-app
Generate a nx plugin: nx g @nrwl/nx-plugin:plugin myplugin
Build the plugin: nx build myplugin
Try to run the react-native app: nx run-android
Environment
Node : 16.2.0
OS : linux x64
yarn : 1.22.10
nx : 12.9.0
@nrwl/angular : Not Found
@nrwl/cli : 12.9.0
@nrwl/cypress : 12.9.0
@nrwl/devkit : 12.9.0
@nrwl/eslint-plugin-nx : 12.9.0
@nrwl/express : Not Found
@nrwl/jest : 12.9.0
@nrwl/linter : 12.9.0
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 12.9.0
@nrwl/nx-cloud : Not Found
@nrwl/react : 12.9.0
@nrwl/schematics : Not Found
@nrwl/tao : 12.9.0
@nrwl/web : 12.9.0
@nrwl/workspace : 12.9.0
@nrwl/storybook : 12.9.0
@nrwl/gatsby : Not Found
typescript : 4.3.5
@nrwl/react-native is at 12.9.0 too
The text was updated successfully, but these errors were encountered:
i think it might be related to this react-native issue: react-native-async-storage/async-storage#169.
maybe try to add: blacklistRE: /libs\/myplugin/ to resolver in metro.config.js.
Current Behavior
react-native's nx run-android fails with:
Expected Behavior
nx run-android works
Steps to Reproduce
npx nx g @nrwl/react-native:app awesome-app
nx g @nrwl/nx-plugin:plugin myplugin
nx build myplugin
nx run-android
Environment
@nrwl/react-native is at 12.9.0 too
The text was updated successfully, but these errors were encountered: