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

Installed as extension, got error. #397

Open
garyo opened this issue Sep 6, 2024 · 1 comment
Open

Installed as extension, got error. #397

garyo opened this issue Sep 6, 2024 · 1 comment

Comments

@garyo
Copy link

garyo commented Sep 6, 2024

Describe the bug (with repro)
I created a new Quasar project, did some work in it, then tried to do quasar ext add @quasar/qmarkdown@next and got this error:

% bun quasar ext add @quasar/qmarkdown@next
 App • Installing "@quasar/qmarkdown" Quasar App Extension

 App • Installing @quasar/quasar-app-extension-qmarkdown@next...
 App • [sync] Running "bun add --dev @quasar/quasar-app-extension-qmarkdown@next" in /Users/garyo/src/astrid/astrid-tutoring

bun add v1.0.1 (31aec4eb)

 installed @quasar/[email protected]


 41 packages installed [2.53s]
node:internal/errors:491
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:400:5)
    at validateString (node:internal/validators:163:11)
    at join (node:path:1172:7)
    at #getScriptFile (file:///Users/garyo/src/astrid/astrid-tutoring/node_modules/@quasar/app-vite/lib/app-extension/AppExtensionInstance.js:327:22)
    at #getScript (file:///Users/garyo/src/astrid/astrid-tutoring/node_modules/@quasar/app-vite/lib/app-extension/AppExtensionInstance.js:339:39)
    at #getScriptPrompts (file:///Users/garyo/src/astrid/astrid-tutoring/node_modules/@quasar/app-vite/lib/app-extension/AppExtensionInstance.js:287:51)
    at AppExtensionInstance.install (file:///Users/garyo/src/astrid/astrid-tutoring/node_modules/@quasar/app-vite/lib/app-extension/AppExtensionInstance.js:201:49)
    at async file:///Users/garyo/src/astrid/astrid-tutoring/node_modules/@quasar/app-vite/lib/cmd/ext.js:90:3 {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v18.13.0
error: "quasar" exited with code 1 (SIGHUP)

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: latest (today)
  • Using bun 1.0.1
  • Node.js 18.13.0
@philippebourcier
Copy link

philippebourcier commented Nov 13, 2024

Same error on my side too (on Linux using plain "quasar ext add @quasar/qmarkdown@next")...
@hawkeye64 🙏🥺

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

No branches or pull requests

2 participants