webviz icon indicating copy to clipboard operation
webviz copied to clipboard

Webviz with npm

Open denesh-globotix opened this issue 2 years ago • 4 comments

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?

denesh-globotix avatar Oct 29 '21 10:10 denesh-globotix

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 .

jxjshaw avatar Oct 29 '21 15:10 jxjshaw

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'

anown0 avatar Nov 19 '21 20:11 anown0

sudo npm install -g [email protected] seems to do the trick for now

denesh-globotix avatar Dec 28 '21 06:12 denesh-globotix

sudo npm install -g [email protected] 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

luorixiangyang avatar Mar 08 '22 09:03 luorixiangyang