webviz icon indicating copy to clipboard operation
webviz copied to clipboard

Can't run webviz

Open schmogmog opened this issue 2 years ago • 1 comments

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/[email protected] 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

schmogmog avatar Jun 22 '22 08:06 schmogmog

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

Thunder7991 avatar Jul 28 '23 03:07 Thunder7991