[ TypeError: Cannot read property 'charAt' of undefined - only during `quasar run`
-
When I run
quasar run
I get the following error:❯ quasar run .../node_modules/@quasar/app/lib/app-extension/Extension.js:106 if (name.charAt(0) === '@') { ^ [ TypeError: Cannot read property 'charAt' of undefined - Extension.js:106 new Extension [client]/[@quasar]/app/lib/app-extension/Extension.js:106:14 - quasar-run:51 run [client]/[@quasar]/app/bin/quasar-run:51:21 - quasar-run:91 Object.<anonymous> [client]/[@quasar]/app/bin/quasar-run:91:1 - loader:1108 Module._compile node:internal/modules/cjs/loader:1108:14 - loader:1137 Object.Module._extensions..js node:internal/modules/cjs/loader:1137:10 - loader:973 Module.load node:internal/modules/cjs/loader:973:32 - loader:813 Function.Module._load node:internal/modules/cjs/loader:813:14 - loader:997 Module.require node:internal/modules/cjs/loader:997:19 - helpers:92 require node:internal/modules/cjs/helpers:92:18 - quasar:80 Object.<anonymous> [client]/[@quasar]/app/bin/quasar:80:1 ]
But
quasar build
works just fine.I’m also not sure how this happened, I’m pretty sure I haven’t made any changes since this last worked.
I’ve tried removing node_modules/ and ran
quasar clean
but the problem persists.The problem occurred on both Quasar 2 beta 5 and beta 6.