Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

cli issue #3560

Open
ghost opened this issue Sep 8, 2021 · 10 comments
Open

cli issue #3560

ghost opened this issue Sep 8, 2021 · 10 comments

Comments

@ghost
Copy link

ghost commented Sep 8, 2021

~ $ npm install 16.9.0
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! Exit handler never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2021-09-08T10_03_47_120Z-debug.log
@marioegghead2
Copy link

understood, and confirmed.. digging deeper it appears the last upgrade of our packages was done using a version of npm that has different behaviors, i found several conflicts in our source tree (for example, our react and react-native versions are in conflict, expo-three and three, etc.)

i'm able to work around the issue with cli flags to npm:
npm install --legacy-peer-deps

..but it looks like we'll still need to force upgrade/downgrade packages and run regression tests. fun.

Also, thanks for the feedback! 💯

@marioegghead2
Copy link

npm install --legacy-peer-deps
``

@marioegghead2
Copy link

Run this command
``
npm install --legacy-peer-deps

@marioegghead2
Copy link

npm install --legacy-peer-deps

@ghost
Copy link
Author

ghost commented Sep 13, 2021

thanks for your help kind man, but it still doesnt work

~ $ npm install --legacy-peer-deps
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! Exit handler never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2021-09-13T04_28_58_613Z-debug.log

@ghost
Copy link
Author

ghost commented Sep 13, 2021

by the way, im using termux android for my coding ╮(╯_╰)╭

@brandontorreglosa
Copy link

thanks for your help kind man, but it still doesnt work

~ $ npm install --legacy-peer-deps
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! Exit handler never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2021-09-13T04_28_58_613Z-debug.log

please go on your node.js app and run it there
it will update your node version from v14 to v16

@brandontorreglosa
Copy link

your package-lock is old cuz it was created in node v14
update to v16

@ghost
Copy link
Author

ghost commented Sep 14, 2021

do they have a node.js app?

@ghost
Copy link
Author

ghost commented Sep 14, 2021

sorry for my dumbness but what do i have to run?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants