-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
from Windows command prompt or power shell, running 'quasar upgrade' gives the error:
node:path:478
validateString(arg, 'path');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at join (node:path:478:7)
at Object.app (file:///C:/Users/walee/AppData/Roaming/npm/node_modules/@quasar/cli/lib/app-paths.js:42:17)
at file:///C:/Users/walee/AppData/Roaming/npm/node_modules/@quasar/cli/lib/app-pkg.js:6:33
at ModuleJob.run (node:internal/modules/esm/module_job:274:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:644:26) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v22.15.0
What did you expect to happen?
it should display a message saying to actually run the upgrade, use the command 'quasar upgrade i'
Reproduction URL
(https://quasar.dev/quasar-cli-vite/commands-list#upgrade)
How to reproduce?
- enter the following command 'quasar upgrade' from any Terminal
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
Operating System Windows_NT(10.0.26100) - win32/x64
NodeJs 22.15.0
Global packages
NPM 10.9.2
yarn 1.22.22
pnpm Not installed
bun Not installed
@quasar/cli 2.5.0
@quasar/icongenie Not installed
cordova Not installed
Networking
Host xx1
Wi-Fi 192.168.1.x
Relevant log output
Additional context
No response