Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 5: Missing "./internal" specifier in "svelte" package #10979

Closed
quantumwebco opened this issue Mar 29, 2024 · 3 comments · Fixed by #10987
Closed

Svelte 5: Missing "./internal" specifier in "svelte" package #10979

quantumwebco opened this issue Mar 29, 2024 · 3 comments · Fixed by #10987

Comments

@quantumwebco
Copy link

Describe the bug

Trying to install sveltekit according to the docs https://kit.svelte.dev/docs/creating-a-project
Chosen options Demo app, Typescript, Prettier, Svelte 5
When running npm run dev results in Missing "./internal" specifier in "svelte" package

Reproduction

Follow the install guide and choose svelte 5
https://kit.svelte.dev/docs/creating-a-project

Logs

error when starting dev server:
Error: Missing "./internal" specifier in "svelte" package
    at e (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47585:25)
    at n (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47585:627)
    at o (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47585:1297)
    at resolveExportsOrImports (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:48275:20)
    at resolveDeepImport (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:48294:31)
    at tryNodeResolve (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:48019:20)
    at Context.resolveId (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47769:28)
    at Object.resolveId (file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:51029:64)
    at async file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:68130:21
    at async file:///var/www/vhosts/quantum/demo/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:51703:20

System Info

System:
    OS: Linux 5.15 Ubuntu 20.04.5 LTS (Focal Fossa)
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 2.84 GB / 5.79 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 21.7.1 - ~/.nvm/versions/node/v21.7.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v21.7.1/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v21.7.1/bin/npm
    pnpm: 8.15.5 - ~/.yarn/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.139
  npmPackages:
    svelte: ^4.2.7 => 4.2.12

Severity

blocking all usage of svelte

@s24407-pj
Copy link

I encountered the same issue after upgrading from version 5.0.0-next.87 to version 5.0.0-next.88.

@SiebeBaree

This comment was marked as duplicate.

@Rich-Harris
Copy link
Member

People, you don't need to add comments saying 'me too' (unless you're adding new information like which version broke). That's what emoji reactions are for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants