Giter Site home page Giter Site logo

Comments (5)

maiis avatar maiis commented on May 16, 2024 1

@JamieMason LOL you are right but that wasn't my problem.
I've undo everything, except if there is some special things to do to uninstall ?
I deleted node_shrinkwrap folder and npm-shrinkwrap.json, then re-run "npm shrinkwrap" so a new .json is created with resolved containing "file:node_shrinkwrap/xxx"... hence my confusion

from shrinkpack.

JamieMason avatar JamieMason commented on May 16, 2024

Thanks for raising this @maiis.

I think there is a difference between removing the files that make up the tool itself and removing/undoing the things you did while using the tool. For example, if I were to use ImageOptim to optimise a folder of images and then uninstalled ImageOptim – I wouldn't expect all those images to be deoptimised afterwards.

There are other examples of this (SASS, fixmyjs, Babel, anything really).

When you uninstall a tool you're just removing the tool, not undoing everything you used it for.

Does that makes sense? Have I understood your question correctly?

from shrinkpack.

JamieMason avatar JamieMason commented on May 16, 2024

haha, I did wonder for a minute there. Ok, I think I understand now – does this work?

npm uninstall -g shrinkpack
rm -rf ./node_shrinkwrap npm-shrinkwrap.json
npm cache clean
npm shrinkwrap

from shrinkpack.

maiis avatar maiis commented on May 16, 2024

It does...
npm cache clear, forget to do that.
I knew it was something obvious, thanks for your help 👍

from shrinkpack.

JamieMason avatar JamieMason commented on May 16, 2024

You're welcome, I think this is actually another example of the problem being looked at in #31.

from shrinkpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.