Comments (5)
@webernir Yes, you can disable all scripts using the --ignore-scripts
argument which will cause npm to not execute any scripts defined in the package.json.
npm install n_ -g --ignore-scripts
from n_.
i have a similar issue,
Windows, npm 5.3.0, node 8.1.2
npm install -g n_
C:\Program Files\nodejs\n_ -> C:\Program Files\nodejs\node_modules\n_\bin\n_
C:\Program Files\nodejs\n_3 -> C:\Program Files\nodejs\node_modules\n_\bin\n_3
> [email protected] postinstall C:\Program Files\nodejs\node_modules\n_
> npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ";": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\muUser\AppData\Roaming\npm-cache\_logs\2017-08-17T07_42_39_172Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\muUser\AppData\Roaming\npm-cache\_logs\2017-08-17T07_42_49_451Z-debug.log
from n_.
The cause of the error is in the postinstall script which is currently not windows compatible: https://github.com/borisdiakur/n_/blob/master/package.json#L11
from n_.
Thanks @borisdiakur !
is there a way to install, skipping the postinstall
script?
from n_.
@borisdiakur Thank you. it worked :)
from n_.
Related Issues (17)
- Problem with `_` HOT 13
- Add a nice animated gif to the README.md so that anyone sees immediately what n_ is made for HOT 1
- Would love to know how to make something like this for babel-node HOT 2
- Possibility to redirect the special variable `$` elsewhere so we could use it for our own needs? HOT 1
- Upgrade to lodash 4.0 HOT 2
- REPL history. HOT 4
- The special variable $ no longer works in Node 6 HOT 1
- Allow custom lodash version HOT 12
- n_ breaks npm ls -g HOT 1
- Add note about `_` redirect to `$` in readme.
- Deprecation Warning HOT 2
- unable to use _.toInteger() in n_ repl - how can I force lodash major version 4? HOT 3
- Error using rli prop
- Add unit tests. HOT 1
- `.clear` loses lodash binding
- Multi-line commands break lodash binding HOT 1
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 n_.