-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Closed
Copy link
Description
Describe the bug
I upgraded path version of Svelte and got the following error during deployment to Cloudflare Workers:
21:47:50.861 | npm ERR! code EBADENGINE
21:47:50.863 | npm ERR! engine Unsupported engine
21:47:50.863 | npm ERR! engine Not compatible with your version of node/npm: @typescript-eslint/types@8.18.1
21:47:50.863 | npm ERR! notsup Not compatible with your version of node/npm: @typescript-eslint/types@8.18.1
21:47:50.864 | npm ERR! notsup Required: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"}
21:47:50.864 | npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}
I guess it's because @typescript-eslint/types was added in v5.14.3 through new esrap dependency.
┬ svelte@5.14.3
└─┬ esrap@1.3.1
└── @typescript-eslint/types@8.18.1
Reproduction
I've just upgraded Svelte to patch version and nothing else.
Logs
No response
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
Memory: 12.50 GB / 15.58 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 23.3.0 - /run/user/1000/fnm_multishells/9366_1734546699967/bin/node
npm: 10.9.1 - /run/user/1000/fnm_multishells/9366_1734546699967/bin/npm
bun: 1.1.17 - ~/.bun/bin/bun
npmPackages:
svelte: ^5.14.4 => 5.14.4Severity
blocking an upgrade
Perdolique and arthurgubaidullinarthurgubaidullin
Metadata
Metadata
Assignees
Labels
No labels