Comments (5)
@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.
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.
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.
It does...
npm cache clear, forget to do that.
I knew it was something obvious, thanks for your help 👍
from shrinkpack.
You're welcome, I think this is actually another example of the problem being looked at in #31.
from shrinkpack.
Related Issues (20)
- npm install fails after clone with some dependencies HOT 4
- shrinkpack 'is not recognized....' on Windows 10 HOT 3
- --compress flag issues on Windows HOT 6
- Update node & npm versions used in CI HOT 1
- Add support for npm5 HOT 86
- Handle local (file:) dependencies HOT 3
- after upgrate to ionic 3.. npm install failed, I cant create new app HOT 5
- Can't run shrinkpack after upgrading from npm v4.6.1 to v5.0.3 HOT 2
- NPM5 – npm ERR! aggregate error HOT 6
- UnhandledPromiseRejectionWarning: Unhandled promise rejection HOT 7
- Add Monorepo support
- Reference useful npm documentation in readme
- Add guides/recipes HOT 7
- Task: Ensure paths are always / in package lock
- npm 6 support (removed the `npm cache ls`) HOT 1
- Error: ! failed to read contents of npm cache HOT 1
- Integrities are concatenated HOT 5
- failed to read contents of npm cache
- A package+version tarball can be insufficient if platform libraries are needed HOT 2
- { "scripts": { "precompress": "{{ executes BEFORE the `compress` script }}", "compress": "{{ run command to compress files }}", "postcompress": "{{ executes AFTER `compress` script }}" } }
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shrinkpack.