npm install error(postinstall.js)
See original GitHub issue- OS: ubuntu 18.04
- PL version: nodejs v10.13.0
- CCXT version: 1.18.586
- method: npm install ccxt
I was using ccxt without any problem until today. Got some errors when I install ccxt in a new project today. It seems like some files is missing on npm, postinstall.js is likely.
error description is below
> ccxt@1.18.586 postinstall /home/user/project/node_modules/ccxt
> node build/postinstall.js
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module '/home/user/project/node_modules/ccxt/build/postinstall.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
npm WARN trades@1.0.0 No description
npm WARN trades@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ccxt@1.18.586 postinstall: `node build/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ccxt@1.18.586 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! /home/user/.npm/_logs/2019-05-29T04_10_53_356Z-debug.log
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Issues in npm post-install script - Stack Overflow
There is some error in npm post-install script. My project is based on Linux but due to issues i have to run the...
Read more >postinstall script fails when running `npm install` - Drupal
When running npm install, the install fails at the postinstall script stage with error: > barebones@1.0.0 postinstall ...
Read more >postinstall - npm
Deploy files from modules after npm install. Latest version: 0.8.0, ... Start using postinstall in your project by running `npm i postinstall`.
Read more >Npm install core js postinstall sh: 1: node: Permission denied
In one of my react js project on doing npm install i got the following error , eventhough I was running as root...
Read more >Trouble performing npm install in Basic Gulp Housekeeping
Error : EACCES, mkdir '/home/vagrant/.npm/laravel-elixir/3.3.4' npm ERR! ... node npm-scripts/postinstall.js npm WARN engine get-stdin@5.0.0: wanted: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MRDNZ it works if you
git clone
and thennpm install
working for a fix fornpm install ccxt
nowI have the same issue with ccxt@1.18.587. Removed node_modules, cleared cache and reinstalled the package but keeps failing at the postinstall script.