Cannot install etherpad-lite (Ubuntu Server)
See original GitHub issueI use Ubuntu instance created from AWS EC2, and follow the instructions of installing etherpad, after executing the bin/run.sh --root
, it will fail:
Ensure that all dependencies are up to date… If this is the first time you have run Etherpad please be patient.
wd@1.10.3 install /root/etherpad-lite/src/node_modules/wd node scripts/build-browser-scripts
internal/modules/cjs/loader.js:550 throw err; ^
Error: Cannot find module ‘/root/etherpad-lite/src/node_modules/wd/scripts/build-browser-scripts’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
at Function.Module._load (internal/modules/cjs/loader.js:475:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
at startup (internal/bootstrap/node.js:201:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wd@1.10.3 install: node scripts/build-browser-scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wd@1.10.3 install 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! /root/.npm/_logs/2018-08-17T04_46_57_247Z-debug.log
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top GitHub Comments
For a quick fix, I removed all the “devDependencies” from the package.json file.
“devDependencies”: { “mocha”: “5.2.0”, “nyc”: “^12.0.2”, “supertest”: “3.0.0”, “wd”: “1.10.3” },
I am facing below issue in my ubuntu machine which is serve on AWS-EC2…
`Ensure that all dependencies are up to date… If this is the first time you have run Etherpad please be patient. npm WARN prepare removing existing node_modules/ before installation
internal/modules/cjs/loader.js:638 throw err; ^
Error: Cannot find module ‘/opt/lampp/htdocs/devopsschool/ds-etherpad/src/node_modules/wd/scripts/build-browser-scripts’ at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! wd@1.12.1 install:
node scripts/build-browser-scripts
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the wd@1.12.1 install 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! /root/.npm/_logs/2021-05-07T11_58_01_145Z-debug.log `