tiagocoutinho / multivisor

Centralized supervisor WebUI and CLI
GNU General Public License v3.0
184 stars 37 forks source link

npm install failed #11

Closed laurent-claustre closed 5 years ago

laurent-claustre commented 5 years ago

Hi Tiago, I did use a cond env python 2.7, install conda package nodejs and then run: npm install Got the error npm ERR! code EPROTO npm ERR! errno EPROTO npm ERR! request to https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz failed, reason: write EPROTO 140055286269760:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:252: npm ERR!

npm ERR! A complete log of this run can be found in: npm ERR! /users/claustre/.npm/_logs/2019-01-31T13_04_00_226Z-debug.log

Any clue ?

Cheers Laurent

tiagocoutinho commented 5 years ago

Hi Laurent, thanks for the report.

Where does npm come from? Did you install it with conda or is it a debian package.

laurent-claustre commented 5 years ago

Hi Tiago, conda package nodejs nodejs 10.13.0 he6710b0_0

laurent-claustre commented 5 years ago

Hi again, maybe not a good idea to rebuild the webpack bundles. in the meantime I did use the pypi package you provide, it works fine. Now we have to change our ansible recipe to replace supervisor from system to the one installed in the common python env with supervisor.

tiagocoutinho commented 5 years ago

Hi, I just arrived at my laptop. I am trying to reproduce the problem.

I am not sure I understand what you mean by "rebuild the webpack bundles". Do you refer to having webpack bundle as a devDependency in package.json?

laurent-claustre commented 5 years ago

Hi, no I mean running npm install; npm run build

tiagocoutinho commented 5 years ago

I tried a fresh conda environment and I am not able to reproduce the problem. Do you have external web access from your conda environment (typical ESRF http_proxy problem)? Try from the conda environment: "ping www.google.com"

tiagocoutinho commented 5 years ago

Since 5.0.1 I updated all dependencies (it solves some security issues). It should work now. If you have time to test it would be great. If not, I can close this one and we reopen it if necessary

laurent-claustre commented 5 years ago

Yes, I just tested with 5.0.2, and it works fine. sysadmin did work on removing the proxy setting. So troubles was certainly due to that. You close it. Thanks