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.

Cannot install etherpad-lite (Ubuntu Server)

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
clayucommented, Aug 27, 2018

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” },

0reactions
cmschandancommented, May 7, 2021

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

wd@1.12.1 install /opt/lampp/htdocs/devopsschool/ds-etherpad/src/node_modules/wd node scripts/build-browser-scripts

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 `

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Install the Etherpad Collaborative Web Editor on ...
In this tutorial we will install Etherpad on an Ubuntu 20.04 server, using the SQLite database engine to store our data. We'll also...
Read more >
How to Install Etherpad Lite on Ubuntu 20.04 LTS - Linux Shout
Steps to install to Etherpad Lite on Ubuntu 20.04 or 18.04 LTS · 1. Perform system update & add Git · 2. Install...
Read more >
Etherpad-liteInstallation - Community Help Wiki
Install and run Etherpad Lite. In new terminal type: sudo su - etherpad -s /bin/bash mkdir -p ~/local/etherpad cd ~/local/etherpad git clone ...
Read more >
How to Install Etherpad on Ubuntu 18.04 - RoseHosting
How to Install Etherpad on Ubuntu 18.04 · Step 1: Log in to the Server & Update the Server OS Packages · Step...
Read more >
How to install the Etherpad collaborative note-taking platform ...
Jack Wallen walks you through the process of installing and ... ExecStart=/usr/bin/node /opt/etherpad/etherpad-lite/src/node/server.js.
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