cruise-automation / webviz

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

npm run bootstrap error #763

Open akshay-ram-pp opened 1 year ago

akshay-ram-pp commented 1 year ago

Ubuntu:20.04

root@ bootstrap /home/webviz npm install && lerna bootstrap --hoist "{react,react-dom}" -- --legacy-peer-deps

npm WARN @babel/helper-define-polyfill-provider@0.3.3 requires a peer of @babel/core@^7.4.0-0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.20.7 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-proposal-class-static-block@7.20.7 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself. npm WARN @dump247/storybook-state@1.5.2 requires a peer of @storybook/addons@^3.2.16 but none is installed. You must install peer dependencies yourself. npm WARN babel-jest@29.4.1 requires a peer of @babel/core@^7.8.0 but none is installed. You must install peer dependencies yourself. npm WARN babel-plugin-apply-mdx-type-prop@1.6.22 requires a peer of @babel/core@^7.11.6 but none is installed. You must install peer dependencies yourself. npm WARN @babel/helper-define-polyfill-provider@0.1.5 requires a peer of @babel/core@^7.4.0-0 but none is installed. You must install peer dependencies yourself. npm WARN bootstrap@5.2.3 requires a peer of @popperjs/core@^2.11.6 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-problems@2.0.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-import@2.14.0 requires a peer of eslint@2.x - 5.x but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-import-order-alphabetical@0.0.2 requires a peer of eslint@2.x - 5.x but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-react@7.11.1 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-react-hooks@1.6.0 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN file-loader@4.0.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN monaco-editor-webpack-plugin@1.9.0 requires a peer of webpack@^4.5.0 but none is installed. You must install peer dependencies yourself. npm WARN node-sass-json-importer@4.3.0 requires a peer of node-sass@>=3.5.3 but none is installed. You must install peer dependencies yourself. npm WARN redux-devtools-extension@2.13.7 requires a peer of redux@^3.1.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN rollup-plugin-babel@4.1.0 requires a peer of rollup@>=0.60.0 <1 but none is installed. You must install peer dependencies yourself. npm WARN rollup-plugin-peer-deps-external@2.2.0 requires a peer of rollup@^0.x but none is installed. You must install peer dependencies yourself. npm WARN rollup-plugin-terser@3.0.0 requires a peer of rollup@>=0.66.0 <1 but none is installed. You must install peer dependencies yourself. npm WARN string-replace-loader@2.2.0 requires a peer of webpack@1 || 2 || 3 || 4 but none is installed. You must install peer dependencies yourself. npm WARN url-loader@1.1.2 requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN webpack-filter-warnings-plugin@1.2.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN worker-loader@2.0.0 requires a peer of webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

audited 5972 packages in 24.712s found 47 vulnerabilities (15 low, 8 moderate, 24 high) run npm audit fix to fix them, or npm audit for details /home/webviz/node_modules/@lerna/package-graph/index.js:79 if (depNode?.version) { ^

SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/webviz/node_modules/@lerna/query-graph/query-graph.js:3:26) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! root@ bootstrap: npm install && lerna bootstrap --hoist "{react,react-dom}" -- --legacy-peer-deps npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the root@ bootstrap script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/.npm/_logs/2023-01-27T10_08_40_664Z-debug.log