Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having an issue installing npm packages #897

Closed
johnrails opened this issue Apr 26, 2022 · 3 comments
Closed

Having an issue installing npm packages #897

johnrails opened this issue Apr 26, 2022 · 3 comments

Comments

@johnrails
Copy link

My team is looking to integrate turnilo into an app we're working on. We're looking into using some of the components included. I'm trying to do some exploration but I'm unable to install the NPM packages. Each time i run npm install I get this error:

 integrity checksum failed when using sha512:

the log output says this:

19858 silly extract [email protected]
19859 verbose stack Error: sha512-<removed> integrity checksum failed when using sha512: wanted sha512-<removed> but got sha512-<removed>. (18042 bytes)

removed the hash just because
I can install gauge npm install [email protected] just fine independently.

I'd appreciate any help.

Thanks!

@adrianmroz-allegro
Copy link
Contributor

It sounds more like an issue with npm. I can't reproduce this issue.

Are you sure you using supported node/npm version (node 14.x would be best)?
Do you have some kind of proxy for npm in your company?
Did you try to clean and/or verify your npm caches? npm cache verify and npm cache clean --force
If you're just looking around and don't want to contribute back, you can remove package-lock.json and install only of package.lock

@johnrails
Copy link
Author

Thanks for getting back to me @adrianmroz-allegro i tried what you suggested but now i'm getting this.
I'm using node 14.19.x and npm 8.7x. I can probably fix this by installing the proper dependencies or just using --legacy-peer-deps but i just wanted to post this in case it's something that has been seen before.

turnilo git:(master) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR!   dev typescript@"3.3.1" from the root project
npm ERR!   peer typescript@">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev" from [email protected]
npm ERR!   node_modules/tslint
npm ERR!     dev tslint@"5.10.0" from the root project
npm ERR!     peer tslint@"^5.0.0" from [email protected]
npm ERR!     node_modules/tslint-eslint-rules
npm ERR!       dev tslint-eslint-rules@"5.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"^2.2.0" from [email protected]
npm ERR! node_modules/tslint-eslint-rules
npm ERR!   dev tslint-eslint-rules@"5.3.1" 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.
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/j0d01w8/.npm/_logs/2022-04-26T16_40_38_845Z-debug-0.log
turnilo git:(master) ✗ npm -v
8.7.0
turnilo git:(master) ✗ node -v
v14.19.0
 turnilo git:(master) ✗

@johnrails
Copy link
Author

I'm closing this. it's not an issue for me any more

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

No branches or pull requests

2 participants