SvelteStorm icon indicating copy to clipboard operation
SvelteStorm copied to clipboard

nom install error

Open daslicht opened this issue 4 years ago • 2 comments

When I run npm install I get :

daslicht@Marcs-Mac-mini SvelteStorm % npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/monaco-editor
npm ERR!   monaco-editor@"^0.23.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer monaco-editor@"0.21.2" from [email protected]
npm ERR! node_modules/rollup-plugin-monaco-editor
npm ERR!   rollup-plugin-monaco-editor@"0.0.7" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/daslicht/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/daslicht/.npm/_logs/2021-07-17T11_06_07_372Z-debug.log
daslicht@Marcs-Mac-mini SvelteStorm % 
61 error code ERESOLVE
62 error ERESOLVE unable to resolve dependency tree
63 error
64 error While resolving: [email protected]
64 error Found: [email protected]
64 error node_modules/monaco-editor
64 error   monaco-editor@"^0.23.0" from the root project
64 error
64 error Could not resolve dependency:
64 error peer monaco-editor@"0.21.2" from [email protected]
64 error node_modules/rollup-plugin-monaco-editor
64 error   rollup-plugin-monaco-editor@"0.0.7" from the root project
64 error
64 error Fix the upstream dependency conflict, or retry
64 error this command with --force, or --legacy-peer-deps
64 error to accept an incorrect (and potentially broken) dependency resolution.
64 error

~ Marc

daslicht avatar Jul 17 '21 11:07 daslicht

with --force it runs through but i get 7 vulnerabilities

daslicht avatar Jul 17 '21 11:07 daslicht

Thanks for bringing this to our attention. "rollup-plugin-monaco-editor" was used in a previous build and requires [email protected] - we can remove this plugin from the projects dependencies which should resolve this error. We are also in the process of updating other deprecated rollup dependencies in order to remove other vulnerabilities and use the latest version of electron and other dependencies.

samfilip avatar Jul 17 '21 17:07 samfilip