Answer the question
In order to leave comments, you need to log in
Installing vue/cli?
I'm trying to install vue / cli 3.
npm install -g @vue/cli
It seems to be installed, without errors.
Parameters:
win 10 (64)
ConeMu ( GitBash)
node 14.13.0
npm 6.14.8
vue 3.0.0
Then I try to create a project:
vue create my-project
But in the console there is an error:
C:\Users\{UserName}\AppData\Roaming\npm/node_modules/node/bin/node: line 1: This: command not found
npm cache clean --force
npm uninstall vue-cli -g
and again npm install -g @vue/cli
npm ls -g --depth=0
outputs:C:\Users\Asus\AppData\Roaming\npm
+-- @vue/[email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
npm ERR! peer dep missing: [email protected], required by @vue/[email protected]
npx @vue/cli create my-project
npm run build
it does not build the project and displays errors. vue create my-project
either vue ui
works and the project is going to build
?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question