Dependency install for mobile app fails #70

Closed
opened 2026-02-28 18:47:38 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @fuzzmz on GitHub (May 2, 2022).

Trying to install dependencies for packages/mobile fails on Windows running NodeJS 16.14.0 & npm 8.4.1 with the following traceback:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: mobile@0.0.101
npm ERR! Found: react@16.9.0
npm ERR! node_modules/react
npm ERR!   react@"16.9.0" from the root project
npm ERR!   peer react@">=16.0" from @react-native-community/masked-view@0.1.11
npm ERR!   node_modules/@react-native-community/masked-view
npm ERR!     @react-native-community/masked-view@"0.1.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.2" from react-native@0.65.2
npm ERR! node_modules/react-native
npm ERR!   react-native@"^0.65.1" from the root project
npm ERR!   peer react-native@">=0.57" from @react-native-community/masked-view@0.1.11
npm ERR!   node_modules/@react-native-community/masked-view
npm ERR!     @react-native-community/masked-view@"0.1.11" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Originally created by @fuzzmz on GitHub (May 2, 2022). Trying to install dependencies for `packages/mobile` fails on Windows running NodeJS 16.14.0 & npm 8.4.1 with the following traceback: ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: mobile@0.0.101 npm ERR! Found: react@16.9.0 npm ERR! node_modules/react npm ERR! react@"16.9.0" from the root project npm ERR! peer react@">=16.0" from @react-native-community/masked-view@0.1.11 npm ERR! node_modules/@react-native-community/masked-view npm ERR! @react-native-community/masked-view@"0.1.11" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.2" from react-native@0.65.2 npm ERR! node_modules/react-native npm ERR! react-native@"^0.65.1" from the root project npm ERR! peer react-native@">=0.57" from @react-native-community/masked-view@0.1.11 npm ERR! node_modules/@react-native-community/masked-view npm ERR! @react-native-community/masked-view@"0.1.11" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. ```
Author
Owner

@fuzzmz commented on GitHub (May 2, 2022):

Also it looks like more than just the mobile dependency tree is broken. Trying to install dependencies for loot-core fails with

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-libofx - Not found
npm ERR! 404
npm ERR! 404  'node-libofx@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
@fuzzmz commented on GitHub (May 2, 2022): Also it looks like more than just the mobile dependency tree is broken. Trying to install dependencies for `loot-core` fails with ``` npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-libofx - Not found npm ERR! 404 npm ERR! 404 'node-libofx@*' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#70