question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bin/installDeps.sh - failing with unable to find `dezalgo` error

See original GitHub issue

Using the latest 1.6.2, get the following error when trying to start up. It seems to come from the installDeps.sh

[root@2274172dfbae etherpad]# bin/installDeps.sh
Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
npm ERR! path /opt/etherpad/src/node_modules/npm/node_modules/dezalgo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/opt/etherpad/src/node_modules/npm/node_modules/dezalgo' -> '/opt/etherpad/src/node_modules/npm/node_modules/.dezalgo.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-01-03T17_44_19_081Z-debug.log

Versions:

[root@2274172dfbae etherpad]# npm -v
5.6.0
[root@2274172dfbae etherpad]# node -v
v4.8.7

Any ideas?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
revolunetcommented, Jan 25, 2018

to make it work with npm@5.6.0 : remove the src/package-lock.json

4reactions
Doemelacommented, Jan 4, 2018

I removed all package-lock.json files and run bin/installDeps.sh with success

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module 'dezalgo' · Issue #13492 - GitHub
I got the message: "Error: Cannot find module 'dezalgo'". This happened every time. ... But downgrading npm fails with the same message:.
Read more >
npm install failing missing dezalgo - Stack Overflow
I'm got the same error trying to install axios with npm install --save axios on a create-react-app app. Manually adding axios in my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found