question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when regenerating npm-shrinkwrap

See original GitHub issue

I noticed that update-internal-deps command is failing when regenerating npm-shrinkwrap.json.

It throws this error:

npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid: acorn@^6.0.0, required by acorn-dynamic-import@4.0.0
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

It can be fixed by installing acorn@^6.0.0 with npm i acorn@6.0.0 --save, but it adds acorn dependency as a first level dependency, which is not what we want (afaik).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jesusbotellacommented, Oct 25, 2018

Sorry, I didn’t label this issue 🤦‍♂️

It’s meant for Frontend, it is relatively important when it comes to development because we cannot update CARTO.js version in Builder until we fix this, for example.

But it’s better to ask @rjimenezda and assign the proper priority under RT 😃

0reactions
rjimenezdacommented, Oct 29, 2018

Closed via #14369

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm related tasks are throwing errors during installations
First of all you need to make sure that your node and npm versions are up to ... Force clean the entire NPM...
Read more >
npm shrinkwrap error - Popular Blocks
Description. npm install fails after generating a npm-shrinkwrap.json file. npm versions. 2.15.11 works; 3.10.10 fails; 4.1.2 fails ...
Read more >
Fix to The “npm ERR! Object for dependency @Babel ...
Fix to The “npm ERR! Object for dependency @Babel/generator is empty” Error ... “If using a shrinkwrap, regenerate with npm shrinkwrap.”.
Read more >
npm-shrinkwrap
This command repurposes package-lock.json into a publishable npm-shrinkwrap.json or simply creates a new one. The file created and updated by this command ...
Read more >
[SOLVED] Fix npm ERR! code EINTEGRITY, integrity ...
Clean npm cache, node_modules, package-lock.json files to recover from all 'npm ERR! code EINTEGRITY' error messages during 'npm install'
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found