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-migrate package is broken #9084

Closed
hyunbinseo opened this issue Feb 17, 2023 · 0 comments · Fixed by #9085
Closed

svelte-migrate package is broken #9084

hyunbinseo opened this issue Feb 17, 2023 · 0 comments · Fixed by #9085

Comments

@hyunbinseo
Copy link
Contributor

Describe the bug

The utils.js file is missing in the 1.1.0 release.

Error [ERR_MODULE_NOT_FOUND]: Cannot find module './node_modules/svelte-migrate/utils.js' imported from ./node_modules/svelte-migrate/migrations/package/index.js

Reproduction

Run npx svelte-migrate package as guided. #8922

Logs

Error [ERR_MODULE_NOT_FOUND]: Cannot find module './node_modules/svelte-migrate/utils.js' imported from ./node_modules/svelte-migrate/migrations/package/index.js
    at new NodeError (node:internal/errors:387:5)
    at finalizeResolution (node:internal/modules/esm/resolve:330:11)
    at moduleResolve (node:internal/modules/esm/resolve:907:10)
    at defaultResolve (node:internal/modules/esm/resolve:1115:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

System Info

System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1
    Memory: 56.28 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
  Browsers:
    Chrome: 110.0.5481.100
    Firefox: 109.0.1
    Safari: 16.2
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.0.0 
    @sveltejs/kit: ^1.5.0 => 1.7.1 
    @sveltejs/package: ^1.0.0 => 1.0.2 
    svelte: ^3.55.1 => 3.55.1 
    svelte-migrate: ^1.1.0 => 1.1.0 
    vite: ^4.0.0 => 4.1.1

Severity

annoyance

Additional Information

No response

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.

1 participant