[@quasar/testing-quality] Unknown command "serve" when executing serve:test:lighthouse
See original GitHub issueSoftware version
"devDependencies": {
"@quasar/app": "^1.0.0-rc.6",
"@quasar/quasar-app-extension-testing": "^1.0.0",
"@quasar/quasar-app-extension-testing-e2e-cypress": "^1.0.0-beta.10",
"@quasar/quasar-app-extension-testing-quality": "^1.0.0-beta.8",
What did you get as the error?
$ yarn run serve:test:lighthouse
yarn run v1.16.0
$ quasar serve test/lighthouse/reports/ --port 8789
app Unknown command "serve" +2ms
Please note that running directly did work:
$ quasar serve test/lighthouse/reports/ --port 8789
# worked...
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:23 (7 by maintainers)
Top Results From Across the Web
Angular CLI Error: The serve command requires to be run in ...
When running the terminal commands ng server or ng serve --live-reload=true , I'm getting this issue: The serve command requires to be run...
Read more >The serve command requires to be run in an Angular project ...
The serve command requires to be run in an Angular project, but a project definition could not be ...
Read more >ng serve - Angular
Option Description Value Type Default Value
‑‑hmr Enable hot module replacement. boolean false
‑‑host Host to listen on. string localhost
‑‑open Opens the url in default...
Read more >Angular CLI - ng serve Command - Tutorialspoint
Sr.No. Option & Syntax Description
2 ‑‑aot=true|false Build using Ahead of Time compilation.
3 ‑‑baseHref=baseHref Base url for the application being built.
7 ‑‑deployUrl=deployUrl URL where...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I want to serve
command serve
throughpackage.json-dependancy
. Not globalquasar/cli
.To solve this problem I am using
@quasar/cli
asdevDependencies
.npm i -D @quasar/cli
I also encountered this for
serve:test:coverage
andserve:test:lighthouse
. I’m not exactly clear where these commands fit into my workflow yet.Seems like the workaround is to run the
quasar serve test/jest/coverage/lcov-report/ --port 8788
command directly in the shell.