zk project --ui svelte <name> is currently broken (TypeScript projects that we use in Nightlies) due to npm create svelte@latest -y ui issue.
The eslint was upgraded to v9.0.0 but libraries like typescript-eslint use old versions.
npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ui@0.0.1
npm ERR! Found: eslint@9.0.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from typescript-eslint@7.6.0
npm ERR! node_modules/typescript-eslint
npm ERR! dev typescript-eslint@"^7.5.0" 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!
npm ERR! For a full report see:
npm ERR! /Users/serhii/.npm/_logs/2024-04-13T09_50_48_134Z-eresolve-report.txt
zk project --ui svelte <name>
is currently broken (TypeScript projects that we use in Nightlies) due tonpm create svelte@latest -y ui
issue. Theeslint
was upgraded tov9.0.0
but libraries liketypescript-eslint
use old versions.