cruise-automation / webviz

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

Can't run webviz #744

Open schmogmog opened 2 years ago

schmogmog commented 2 years ago

Hi,

I tried to follow the instructions to run the static webviz application, but I run into an error, when executing npm run build-static-webviz:

npm WARN config global '--global', '--local' are deprecated. Use '--location=global' instead.

build-static-webviz lerna run build && rm -rf static_webviz && cp -r docs/public/app static_webviz && rm static_webviz/index.html && cp packages/webviz-core/public/index.html static_webviz/index.html && sed -i -- 's/\/dist\/webvizCoreBundle.js/webvizCoreBundle.js/' __static_webviz__/index.html && NODE_ENV=production STATIC_WEBVIZ=true webpack

lerna notice cli v3.6.0 lerna info Executing command in 4 packages: "npm run build" lerna ERR! npm run build exited 1 in '@cruise-automation/button' lerna ERR! npm run build stdout:

@cruise-automation/button@0.0.8 build NODE_ENV=production npm run build-dev && flow-copy-source -v src lib --ignore '.test.'

lerna ERR! npm run build stderr: npm WARN config global '--global', '--local' are deprecated. Use '--location=global' instead. Der Befehl "NODE_ENV" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

lerna ERR! npm run build exited 1 in '@cruise-automation/button' lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.

I used Node.js v16.15.1, but I run into the same issue, when using an older version of Node.js

Thanks in advance Greetings Steven

Thunder7991 commented 11 months ago

I have also encountered the same problem. Have you resolved it?