-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm package installation fails in ubuntu #174
Comments
This problem is not related to the project as if you see the project builds fine on Travis (Linux) The issue you are facing is related to npm and npm install is not able to update the package-json.lock file Possible solutions for you or delete the package-lock.json file and then try |
I am aslo facing this same issue |
|
Thank you for posting this. I've been using Windows and travis seems to work. Will investigate |
Can you'll update the version of node js to the latest instead of 6 and see it works. I'll get hold of a ubuntu machine to test as well . https://stackoverflow.com/questions/48739985/npm-err-code-z-buf-error-when-install |
I'm submitting a ...
[ * ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
bug
What is the current behavior?
npm install command fails to install all the dependencies .
2656 silly saveTree +-- [email protected]
2656 silly saveTree `-- [email protected]
2657 verbose stack ZlibError: zlib: unexpected end of file
2657 verbose stack at Zlib.(anonymous function).onerror (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:131:21)
2657 verbose stack at Unzip.write (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:255:31)
2657 verbose stack at Unzip.flush (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:222:10)
2657 verbose stack at Unzip.end (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:229:10)
2657 verbose stack at Object.end (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:415:21)
2657 verbose stack at PassThrough.onend (_stream_readable.js:595:10)
2657 verbose stack at Object.onceWrapper (events.js:313:30)
2657 verbose stack at emitNone (events.js:111:20)
2657 verbose stack at PassThrough.emit (events.js:208:7)
2657 verbose stack at endReadableNT (_stream_readable.js:1064:12)
2657 verbose stack at _combinedTickCallback (internal/process/next_tick.js:139:11)
2657 verbose stack at process._tickCallback (internal/process/next_tick.js:181:9)
2658 verbose cwd /home/manikandan/mani/nxplorerjs-microservice-starter
2659 verbose Linux 4.15.0-38-generic
2660 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
2661 verbose node v8.12.0
2662 verbose npm v6.4.1
2663 error code Z_BUF_ERROR
2664 error errno -5
2665 error zlib: unexpected end of file
2666 verbose exit [ -5, true ]
Just clone the repo in ubuntu env and try to install the dep.
After cloning the repo , npm install should install all the pkgs and it should allow us to run the app.
-node -8.12.0
npm -6.4.1
ubuntu 16
The text was updated successfully, but these errors were encountered: