Answer the question
In order to leave comments, you need to log in
How to install Vue Cli3??
For a week now I can't run vue cli on win 10
node - 10.16.2
npm - 6.10.3
In console after running commandnpm install -g @vue/cli
$ npm install -g @vue/cli
C:\Users\user\AppData\Roaming\npm\vue -> C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\bin\vue.js
> [email protected]3.2.1 postinstall C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\core-js
> node scripts/postinstall || echo "ignore"
"node" ▒▒ ▒▒▒▒ ▒▒▒▒७▒▒▒ ▒▒▒ ▒▒▒譥▒
▒▒▒▒▒▒▒▒, ▒ᯮ▒▒塞▒▒ ▒ணࠬ▒▒▒ ▒▒▒ ▒▒▒▒▒▒ 䠩▒▒▒.
"ignore"
> [email protected]6.8.8 postinstall C:\Users\user\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\protobufjs
> node scripts/postinstall
"node" ▒▒ ▒▒▒▒ ▒▒▒▒७▒▒▒ ▒▒▒ ▒▒▒譥▒
▒▒▒▒▒▒▒▒, ▒ᯮ▒▒塞▒▒ ▒ணࠬ▒▒▒ ▒▒▒ ▒▒▒▒▒▒ 䠩▒▒▒.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]1.2.9 (node_modules\@vue\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected]6.8.8 postinstall: `node scripts/postinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected]6.8.8 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-08-13T13_00_31_411Z-debug.log
protobufjs is a protocol buffer library. It is used to serialize structured data. Take a look at https://github.com/protocolbuffers/protobuf for protocol buffers for Windows. This is the protocol buffer support binary from github.
fsevents Looking at the error, this dependency is looking to work with darwin which is a Mac and you are using Windows. This library allows applications to register for notifications of changes to a given directory tree on MacOS. Your vue app should be fine without it on windows.
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