openvpn-status icon indicating copy to clipboard operation
openvpn-status copied to clipboard

Npm Install error please help

Open RaghavSaxena96 opened this issue 4 years ago • 11 comments

Screenshot from 2020-07-02 15-34-45

RaghavSaxena96 avatar Jul 02 '20 10:07 RaghavSaxena96

Can you try this using yarn ?

AuspeXeu avatar Jul 02 '20 12:07 AuspeXeu

I have the same error.

automatize-it avatar Aug 27 '20 12:08 automatize-it

npm or yarn?

AuspeXeu avatar Aug 27 '20 12:08 AuspeXeu

npm the same as RaghavSaxena96. yarn error: openvpn_mon_yarn_error

P.S. that was fast

automatize-it avatar Aug 27 '20 12:08 automatize-it

You're running node 8.10.0 and you need anything >= 10 as you can see in the error log.

AuspeXeu avatar Aug 27 '20 13:08 AuspeXeu

node -v 14.8.0

automatize-it avatar Aug 27 '20 14:08 automatize-it

sudo node -v ?

AuspeXeu avatar Aug 27 '20 17:08 AuspeXeu

sudo node -v ?

8.10.0 and that is complete surprise to me. Thanks for showing where to dig

automatize-it avatar Aug 27 '20 18:08 automatize-it

Offtop: I had much more luck installing under Windows 7, everything works, thanks. Under Ubuntu server 18.04 after lots of experiments I stuck on npm install sqlite3 .

automatize-it avatar Aug 28 '20 10:08 automatize-it

You'll have to check here what the requirements are to install sqlite3.

AuspeXeu avatar Aug 28 '20 12:08 AuspeXeu

Got it working! What was wrong in my system (ubuntu server 18.04):

  1. Node.js in default repos is 8.0, need to install v10+ manually;
  2. I somehow found myself installing in /home, not /home/user (such a shame)

automatize-it avatar Aug 31 '20 12:08 automatize-it