Getting started for dummies
-
Hi
I feel extremely dumb right now. I’m trying to follow the installation for Quasar-cli, but I’m already lost on the very first line that says “Make sure you have Node >=8 and NPM >=5 installed on your machine.”
I guess it is talking about this, but I’m not 100% sure. I installed it and hope it’s correctNext step is open the Windows command prompt and run the command npm install -g @quasar/cli
This seems to do something, so I guess I’m on the right trackNext step is to create a project folder. I’m trying to add it to my Visual Studio solution, where I want to add a new Razor Pages project, where I want to use Quasar. I’m using the following command:
quasar create C:\Git\SolutionName\app.Razor.Ek-Pro.NetAfter answering all the questions I’m getting the following error:
Quasar CLI · Generated “C:\Git\ekproV5\app.Razor.Ek-Pro.Net”.
[*] Installing project dependencies …
events.js:174
throw er; // Unhandled ‘error’ event
^Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted ‘error’ event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)C:\Windows\System32>
Google doesn’t really tell me anything. Any ideas what could be wrong here? The folder I’m installing it into did exist, but was empty. The installation has added 45 files
-
When first creating your app, you only need to be in the folder above where you want the app created. Then do
quasar create <your-app-name>
. Replace<your-app-name>
with the name of the folder/ app you want to create.Scott
-
Thanks, now it seems to install correctly
-
Btw, what is it that is ment to be used when calling those commands? So far I have used Windows cmd, but that doesn’t seem to be what is the best. I have tried to follow a tutorial where at one point they call “code .” but this doesn’t work in cmd. For some reason it seems like all tutorials are skipping that part. They all start with saying you just need to call this command, but none of them tells me where to call that command?
-
if you are in windows, get https://git-scm.com/download/win. some commands you will find over the interwebs uses bash cmd and yes most of those don’t work in normal windows cmd, so you need git bash.
-
I use Cmdr. I’ve had good results with it and it is only using
cmd
as the console.Scott