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.

Provide steps for shrinkwrap users to fix their builds after 2.2.0 was unpublished

See original GitHub issue

As suggested in #15 I’m opening this issue to help users who’s projects/packages/builds are broken due to version 2.2.0 being unpublished, in particular in regards to version 2.2.0 being listed in npm-shrinkwrap.json.

I manually edited my npm-shrinkwrap.json but this is annoying and error prone, and I’d like to know if there’s a better way. Deleting npm-shrinkwrap.json and re-running npm shrinkwrap is not always an option, as I’d like to keep most of the packages locked to their current versions.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
desbocommented, Mar 29, 2016

If it’s any help you can use https://gist.github.com/desbo/906326b08c05aa09e2fe to replace any occurrences of ansi-styles at 2.2.0 with 2.2.1 in npm-shrinkwrap.json.

2reactions
dr-nafanyacommented, Mar 28, 2016

Manual search/replace of ansi-styles@2.2.0 to ansi-styles@2.2.1 in npm-shrinkwrap.json does work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

package.json - npm Docs
This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a...
Read more >
An 11 line npm package called left-pad with only 10 ... - Reddit
So, he unpublished all his modules in protest. Since a lot of NPM modules have a dependency on his module left_pad, it broke...
Read more >
Using npm's `ls` command for Fun and Insight
I've been playing around a bunch with `npm ls` recently. I wanted to share some of the neat uses I've discovered!. Tagged with...
Read more >
npm Documentation - API Manual
One of the key steps in becoming immersed in an ecosystem is learning its vocabulary. Node.js and npm have very specific definitions of...
Read more >
Third-party libraries used in Kanzi Studio
user who has been prohibited from participating in the U.S.A. export ... Such code is provided “as is” and Autodesk, Inc. disclaims any...
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