Skip to content

"Could not resolve dependency" error #23

Open
@ogrotten

Description

@ogrotten

Following the instructions in the README results in this pretty quickly:

PS C:\WORKING\Projects\phyle-trials\create-svelte-electron-app> npm i -D @rollup/plugin-commonjs@latest @rollup/plugin-node-resolve@latest rollup@latest rollup-plugin-css-only@latest rollup-plugin-livereload@latest rollup-plugin-svelte@latest rollup-plugin-terser@latest sirv-cli@latest svelte@latest
npm WARN idealTree Removing dependencies.sirv-cli in favor of devDependencies.sirv-cli
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/rollup
npm ERR!   dev rollup@"3.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rollup@"^2.0.0" from [email protected]
npm ERR! node_modules/rollup-plugin-terser
npm ERR!   dev rollup-plugin-terser@"7.0.2" 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 \windowspath\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     \windowspath\_logs\2022-12-02T15_58_13_167Z-debug-0.log

Any plans to move from rollup to vite along with the vanilla svelte?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions