npm install does not work
See original GitHub issuewhen i am trying to install npm this error is showing up. I tried cleaning cache, deleting node_modules, reinstalling node.js and installing n_ package manually and the problem is still exist.
`npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3
npm ERR! addLocal Could not install C:\Users\Sinan\Desktop\creosafe\node_modules\n_;
npm ERR! Windows_NT 10.0.15063
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “pack” “lodash@3” “;” “targz” “extract” “lodash-3.*.tgz” “extraneous/lodash3”
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! path C:\Users\Sinan\Desktop\creosafe\node_modules\n_;
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open ‘C:\Users\Sinan\Desktop\creosafe\node_modules\n_;’
npm ERR! enoent ENOENT: no such file or directory, open ‘C:\Users\Sinan\Desktop\creosafe\node_modules\n_;’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Sinan\Desktop\creosafe\node_modules\n_\npm-debug.log
npm ERR! Windows_NT 10.0.15063
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install”
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! n_@1.4.4 postinstall: npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3
npm ERR! Exit status 4294963238
npm ERR!
npm ERR! Failed at the n_@1.4.4 postinstall script ‘npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the n_ package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm pack lodash@^3 ; targz extract lodash-3.*.tgz extraneous/lodash3
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs n_
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls n_
npm ERR! There is likely additional logging output above. ``
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@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.@borisdiakur Thank you. it worked 😃