Failed to install ndb
See original GitHub issueSteps to reproduce
jsmith@jsmith-hp1:~/projs/$ sudo npm install -g ndb
/usr/bin/ndb -> /usr/lib/node_modules/ndb/ndb.js
> deasync@0.1.13 install /usr/lib/node_modules/ndb/node_modules/deasync
> node ./build.js
`linux-x64-node-8` exists; testing
Binary is fine; exiting
> node-pty-prebuilt@0.7.3 install /usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt
> prebuild-install || node scripts/install.js
prebuild-install WARN install EACCES: permission denied, mkdir '/usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt/build'
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt/build'
gyp ERR! System Linux 3.19.0-65-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Tell us about your environment:
- ndb version: n/a (initial installation)
- Platform / OS version: ubuntu 14.04 64bit.
- Node.js version: 8.4.0
What steps will reproduce the problem?
Seeing the error mkdir '/usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt/build'
, I tried to
manually created directory ‘/usr/lib/node_modules/ndb/node_modules/node-pty-prebuilt/’ but I got the same error when I tried to install it again.
What is the expected result?
What happens instead?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:17
Top Results From Across the Web
node.js - Nodejs ndb installation ERROR: Failed to download ...
1 Answer 1 · Try to install ndb with this command : PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 sudo npm install -g ndb --unsafe-perm=true --allow-root ...
Read more >MySQL NDB Cluster install on RHEL 7 fails — oracle-tech
Hi, I am currently trying to install MySQL NDB Cluster 7.6 using Auto-installer on RHEL 7 which currently fails with below error:
Read more >2.7.4 NDB Cluster Error Handling - MySQL :: Developer Zone
Temporary errors. When first starting a node, it is possible that you may see Error 1204 Temporary failure, distribution changed and similar temporary...
Read more >UNABLE TO INSTALL OR ADD ANY SOFTWARE IN ...
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend. Problem occurred during or after installation or ...
Read more >Error "com/sap/ndb/studio/modeler/base ...
It is Java problem. either Java updated and not installed. Please check java installed or not and path configuration. Add a Comment ...
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 Free
Top 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
sudo npm install -g ndb --unsafe-perm=true --allow-root
ftwThanks, worked for me with
--unsafe-perm=true