open-source-labs / SvelteStorm

SvelteStorm is an open-source IDE with a built-in Debugging window for viewing and debugging your Svelte project in real-time
MIT License
1.02k stars 114 forks source link

nom install error #48

Open daslicht opened 3 years ago

daslicht commented 3 years ago

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: svelte-storm@1.0.0
npm ERR! Found: monaco-editor@0.23.0
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 rollup-plugin-monaco-editor@0.0.7
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: svelte-storm@1.0.0
64 error Found: monaco-editor@0.23.0
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 rollup-plugin-monaco-editor@0.0.7
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 commented 3 years ago

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

samfilip commented 3 years ago

Thanks for bringing this to our attention. "rollup-plugin-monaco-editor" was used in a previous build and requires monaco@0.21.2 - 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.