AuspeXeu / openvpn-status

A web-based application to monitor OpenVPN server client connections
MIT License
161 stars 48 forks source link

Npm Install error please help #495

Open RaghavSaxena96 opened 4 years ago

RaghavSaxena96 commented 4 years ago

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

AuspeXeu commented 4 years ago

Can you try this using yarn ?

automatize-it commented 4 years ago

I have the same error.

AuspeXeu commented 4 years ago

npm or yarn?

automatize-it commented 4 years ago

npm the same as RaghavSaxena96. yarn error: openvpn_mon_yarn_error

P.S. that was fast

AuspeXeu commented 4 years ago

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

automatize-it commented 4 years ago

node -v 14.8.0

AuspeXeu commented 4 years ago

sudo node -v ?

automatize-it commented 4 years ago

sudo node -v ?

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

automatize-it commented 4 years ago

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 .

AuspeXeu commented 4 years ago

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

automatize-it commented 4 years ago

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)