quasar: Quasar app is not working on Windows 10
Software version
PS C:\Users\ealverr\goodluck> quasar info
Operating System Windows_NT(10.0.16299) - win32/x64
NodeJs 10.15.3
Global packages
NPM 6.4.1
yarn 1.15.2
@quasar/cli 1.0.0-beta.4
cordova Not installed
Quasar App Extensions None installed
What did you get as the error?
The command quasar dev
is not recognized.
Detailed steps
PS C:\Users\ealverr> quasar create goodluck -b dev
___
/ _ \ _ _ __ _ ___ __ _ _ __
| | | | | | |/ _` / __|/ _` | '__|
| |_| | |_| | (_| \__ \ (_| | |
\__\_\\__,_|\__,_|___/\__,_|_|
? Project name (internal usage for dev) goodluck
? Project product name (official name; must start with a letter if you will build mobile apps) Quasar App
? Project description A Quasar Framework app
? Author ealverr
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection)ESLint
? Pick an ESLint preset Standard
? Cordova id (disregard if not building mobile apps) org.cordova.quasar.app
? Should we run `npm install` for you after the project has been created? (recommended) yarn
Quasar CLI · Generated "goodluck".
[*] Installing project dependencies ...
yarn install v1.15.2
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning @quasar/app > workbox-webpack-plugin > workbox-build > joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning @quasar/app > workbox-webpack-plugin > workbox-build > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning @quasar/app > workbox-webpack-plugin > workbox-build > joi > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning @quasar/app > workbox-webpack-plugin > workbox-build > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning Resolution field "ajv@6.8.1" is incompatible with requested version "ajv@^6.9.1"
warning Resolution field "ajv@6.8.1" is incompatible with requested version "ajv@^6.9.1"
[3/5] Fetching packages...
info fsevents@1.2.8: The platform "win32" is incompatible with this module.
info "fsevents@1.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "@quasar/app > babel-loader@8.0.5" has unmet peer dependency "@babel/core@^7.0.0".
warning "@quasar/app > webpack > ajv-keywords@3.4.0" has incorrect peer dependency "ajv@^6.9.1".
warning " > eslint-loader@2.1.2" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 46.18s.
[*] Running eslint --fix to comply with chosen preset rules...
yarn run v1.15.2
$ eslint --ext .js,.vue src --fix
Done in 1.92s.
[*] Quasar Project initialization finished!
To get started:
cd goodluck
quasar dev
Documentation can be found at: https://v1.quasar-framework.org
Quasar is relying on donations to evolve. We'd be very grateful if you can
take a look at: https://www.patreon.com/quasarframework
Any amount is very welcomed.
If invoices are required, please first contact razvan@quasar-framework.org
Please give us a star on Github if you appreciate our work:
https://github.com/quasarframework/quasar
Enjoy! - Quasar Team
PS C:\Users\ealverr> cd .\goodluck\
PS C:\Users\ealverr\goodluck> quasar dev
Error Unknown command "dev"
___
/ _ \ _ _ __ _ ___ __ _ _ __
| | | | | | |/ _` / __|/ _` | '__|
| |_| | |_| | (_| \__ \ (_| | |
\__\_\\__,_|\__,_|___/\__,_|_|
Example usage
$ quasar <command> <options>
Help for a command
$ quasar <command> --help
$ quasar <command> -h
Options
--version, -v Print Quasar CLI version
Commands
create Create a project folder
info Display info about your machine
(and your App if in a project folder)
upgrade Check (and optionally) upgrade Quasar packages
from a Quasar project folder
serve Create an ad-hoc server on App's distributables
help Displays this message
--------------
=> IMPORTANT !
=> Trigger this inside of a Quasar project for more commands.
What were you expecting?
I expect the command quasar dev
to work as intended.
What steps did you take, to get the error?
Steps described above.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 29 (20 by maintainers)
Commits related to this issue
- refactor(quasar/cli): Improve q/cli deferring to q/app procedure #3965 — committed to quasarframework/quasar by rstoenescu 5 years ago
I have tested Quasar v1-beta with Node 12 and it’s working fine:
Had the same issue with node 8.9.* (but not with 8.10.*), found this thread and upgraded nodejs and problem solved.
Thanks for sharing
[solution]
step 1: run cmd/command line in the project folder
npm install
step 2:
quasar dev
if errors like bellow comes [error] 1:23 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-styleuse the following command
npm run lint -- --fix
that’s how i solved this problem. i hope this will help you
I seem to remember a while back someone else had a similar problem because they were trying to install on windows in a similar path
share my case .
I clone a repo from github. run quasar and the same error occor. In my case , I run npm install / or yarn install . finally ,everything goes well.
=> Trigger this inside of a Quasar project for more commands. So far I just pointed out you are not in quasar project directory, Or what quasar-cli thinks. Can you share the package.json file?
@nothingismagick, thanks for that, but it didn’t work.