Describe the bug
On @sveltejs/kit version 1.0.0-next.147, trying to access routes such as [id].svelte results in
error loading dynamically imported module
This did not happen on version 1.0.0-next.146.
Reproduction
npm update to the latest version (1.0.0-next.147)
- try to access a relative route such as
[id].svelte
- Status code 500:
error loading dynamically imported module
Logs
No response
System Info
Need to install the following packages:
envinfo
Ok to proceed? (y)
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz
Memory: 2.91 GB / 7.78 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 16.6.1 - ~/.nvm/versions/node/v16.6.1/bin/node
npm: 7.20.3 - ~/.nvm/versions/node/v16.6.1/bin/npm
npmPackages:
@sveltejs/adapter-node: ^1.0.0-next.33 => 1.0.0-next.40
@sveltejs/kit: next => 1.0.0-next.147
svelte: ^3.34.0 => 3.42.1
Severity
blocking some usage of SvelteKit
Additional Information
If it helps, here is the (working) system info prior to npm update
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz
Memory: 2.92 GB / 7.78 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 16.6.1 - ~/.nvm/versions/node/v16.6.1/bin/node
npm: 7.20.3 - ~/.nvm/versions/node/v16.6.1/bin/npm
npmPackages:
@sveltejs/adapter-node: ^1.0.0-next.33 => 1.0.0-next.39
@sveltejs/kit: next => 1.0.0-next.146
svelte: ^3.34.0 => 3.42.1
Describe the bug
On
@sveltejs/kitversion1.0.0-next.147, trying to access routes such as[id].svelteresults inThis did not happen on version
1.0.0-next.146.Reproduction
npm updateto the latest version (1.0.0-next.147)[id].svelteerror loading dynamically imported moduleLogs
No response
System Info
Severity
blocking some usage of SvelteKit
Additional Information
If it helps, here is the (working) system info prior to
npm update