Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
247 views
in Technique[技术] by (71.8m points)

Npm string empty when Etherpad is loaded as Service

today Iam trying to get an Etherpad Instance working as a Service.

The Installation and configuration of the Etherpad is fine. Everything works well if I start the Etherpad myself.

But I want to get this running as a Service on autostart.

The Etherpad wont start due to the following Error:

 Abort trap
 ERROR: Cannot extract npm major version from version string ""
 [: : bad number
 [: : bad number
 ERROR: Your npm version "." is too old. npm 5..x or higher is required.
  1: 0x16adf70 node::Abort(void) [/usr/local/bin/node]
  2: 0x16811da node::PlatformInit(void) [/usr/local/bin/node]
  3: 0x16801a0 node::InitializeOncePerProcess(int, char**) [/usr/local/bin/node]
  4: 0x1680779 node::Start(int, char**) [/usr/local/bin/node]

Any tips?

Edit:

Iam using the following Versions:

  • Etherpad: git master
  • npm 6.14.8
  • nodejs 15.6.0
question from:https://stackoverflow.com/questions/65846818/npm-string-empty-when-etherpad-is-loaded-as-service

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...