cruise-automation / webviz

web-based visualization libraries
https://webviz.io/
Apache License 2.0
2.08k stars 412 forks source link

Webviz with npm #681

Open denesh-globotix opened 3 years ago

denesh-globotix commented 3 years ago

npm version 6.14.13 works really well with webviz. However, when upgrading to npm version 8 and above, there is an error with the artifactory module and webviz refuses to build. This was build from source using npm run bootstrap command. Does anyone have any advice regarding this, or do we have to maintain the version of npm to around version 6?

jxjshaw commented 3 years ago

was also curious what was going on with this

On Fri, Oct 29, 2021 at 3:37 AM den @.***> wrote:

npm version 6.14.13 works really well with webviz. However, when upgrading to npm version 8 and above, there is an error with the artifactory module and webviz refuses to build. This was build from source using npm run bootstrap command. Does anyone have any advice regarding this, or do we have to maintain the version of npm to around version 6?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cruise-automation/webviz/issues/681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6VGJQGLZEA5TFG22RJFJLUJJ2NZANCNFSM5G7AIMUQ .

anown0 commented 2 years ago

I'm also experiencing this issue with npm version 8.1.0. Cloning the repo, and running npm run bootstrap produces the error:

^[[1;2C⸨##################⸩ ⠦ reify:monaco-editor: timing reifyNode:node_modules/@icons/material Completed in 21193mnpm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://artifactory.robot.car/artifactory/api/npm/npm-virtual/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz failed, reason: getaddrinfo ENOTFOUND artifactory.robot.car
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
denesh-globotix commented 2 years ago

sudo npm install -g npm@7.6.0 seems to do the trick for now

luorixiangyang commented 2 years ago

sudo npm install -g npm@7.6.0 seems to do the trick for now

only downgrade npm to 7.6.0 neither node version still take the same exception.

node :16.14.0 npm: downgrade from 8.3.1 to 7.6.0