CLI errors when creating new project #14373
-
I am attempting to create a new Quasar (webpack) project using the latest version of the CLI and the process will not complete without errors. I have uninstalled and reinstalled the CLI and have attempted to spin up v1 and v2 projects with various options to no avail. Every attempt results in the following errors being thrown: `
I've searched the forums and google extensively and can't find anything to point me in the right direction. Currently using: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
What command are you using to create the project? What options did you select? What os and what shell are you using? |
Beta Was this translation helpful? Give feedback.
-
It looks like now it requires node v14 ~/Work/Tests
nvm use 12
Now using Node v12.22.12 (npm 8.11.0)
~/Work/Tests
yarn create quasar
yarn create v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "12.22.12"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command. |
Beta Was this translation helpful? Give feedback.
-
After upgrading with
It turns out when running
Putting a string value ( ie: [email protected] ) without quotes in the author prompt defeats the auto-population and allows the cli to properly complete the create process. Problem solved! Perhaps there should be some clarification of the prompt requirements or the error message or both. Thank you for the help pointing me in the right direction! |
Beta Was this translation helpful? Give feedback.
After upgrading with
nvm install 16
(v16.80.0), the debug messaging improved upon runningyarn create quasar
to show an error like this:It turns out when running
yarn create quasar
that neglecting to enter a value for the author field results in the field being auto-populated with the user values from the .gitconfig file. ie:Putting a string value ( ie: [email protected] ) without quotes in the author prompt defeats the auto-population and allows the cli to p…