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

Migration error: ERR_MODULE_NOT_FOUND #3581

Closed
1 of 7 tasks
mfranzke opened this issue Dec 10, 2024 · 1 comment · Fixed by #3582
Closed
1 of 7 tasks

Migration error: ERR_MODULE_NOT_FOUND #3581

mfranzke opened this issue Dec 10, 2024 · 1 comment · Fixed by #3582
Assignees
Labels
🐛bug Something isn't working
Milestone

Comments

@mfranzke
Copy link
Member

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

running the following script:

npx @db-ui/[email protected] migration --type=v005_v006 --src=./src

produces the following error:

node:internal/modules/esm/resolve:854
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'chalk' imported from /Users/maximilianfranzke/.npm/_npx/0d1f7af59eae6113/node_modules/@db-ui/foundations/build/index.js
    at packageResolve (node:internal/modules/esm/resolve:854:9)
    at moduleResolve (node:internal/modules/esm/resolve:927:18)
    at defaultResolve (node:internal/modules/esm/resolve:1169:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v20.16.0

Expected Behaviour

It should work and migrate stuff

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

@mfranzke mfranzke added the 🐛bug Something isn't working label Dec 10, 2024
@mfranzke mfranzke added this to the v0.7.0 milestone Dec 10, 2024
@nmerget
Copy link
Member

nmerget commented Dec 12, 2024

closed by #3582

@nmerget nmerget closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants