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

[🐞] migrate-v2 error #7359

Open
dmitry-stepanenko opened this issue Feb 21, 2025 · 0 comments
Open

[🐞] migrate-v2 error #7359

dmitry-stepanenko opened this issue Feb 21, 2025 · 0 comments
Assignees
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@dmitry-stepanenko
Copy link
Contributor

Which component is affected?

Qwik Runtime

Describe the bug

Issue appears here https://github.com/krausest/js-framework-benchmark/tree/master/frameworks/keyed/qwik

This cannot be migrated to V2 on Linux but it can on Windows>

Full error on Linux

  ✨   This command will migrate your Qwik application from v1 to v2 
This includes the following: 
  - "@builder.io/qwik", "@builder.io/qwik-city" and "@builder.io/qwik-react" packages will be rescoped to "@qwik.dev/core", "@qwik.dev/router" and "@qwik.dev/react" respectively 
  - related dependencies will be updated 

│
◇  Do you want to proceed?
│  Yes

Error: ENOTDIR: not a directory, scandir '/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/.bin/acorn'
    at readdirSync (node:fs:1584:26)
    at visitNotIgnoredFiles (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:277999:50)
    at visitNotIgnoredFiles (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278007:7)
    at visitNotIgnoredFiles (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278007:7)
    at visitNotIgnoredFiles (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278007:7)
    at replaceImportInFiles (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278129:3)
    at runV2Migration (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278181:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async runCommand2 (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278302:7)
    at async Object.runCli (/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/@builder.io/qwik/dist/cli.cjs:278274:5) {
  errno: -20,
  code: 'ENOTDIR',
  syscall: 'scandir',
  path: '/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/.bin/acorn'
}

❌ Error: ENOTDIR: not a directory, scandir '/{location of stuff}/js-framework-benchmark/frameworks/keyed/qwik/node_modules/.bin/acorn'

Reproduction

n/a

Steps to reproduce

No response

System Info

n/a

Additional Information

No response

@dmitry-stepanenko dmitry-stepanenko added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Feb 21, 2025
@dmitry-stepanenko dmitry-stepanenko self-assigned this Feb 21, 2025
@dmitry-stepanenko dmitry-stepanenko moved this to Upcoming in Qwik Development Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
Status: Upcoming
Development

No branches or pull requests

1 participant