Vue-cli: not work on windows?

Created on 18 Feb 2016  路  4Comments  路  Source: vuejs/vue-cli

when npm install ,there are some errors! seems from
npm ERR! git clone --template=C:\Users\yudonghan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror http://githu b.com/ianstormtaylor/to-camel-case C:\Users\yudonghan\AppData\Roaming\npm-cache\_git-remotes\git-http-github-com-ianstor mtaylor-to-camel-case-0-2-1-075cfbaf204dae5d923dd8439e3cfb10: fatal: unable to access 'http://github.com/ianstormtaylor/ to-camel-case/': Empty reply from server

what ever, no vue command:
image

windows powerShell
npm 3.3.12
node v5.1.0
git version 2.7.0.windows.1

Most helpful comment

I just installed vue-cli on bash on windows, after it completed everything. I tried vue init webpack myproject but I got nothing , no errors no folder created!!

/usr/local/bin/vue -> /usr/local/lib/node_modules/vue-cli/bin/vue /usr/local/bin/vue-init -> /usr/local/lib/node_modules/vue-cli/bin/vue-init /usr/local/bin/vue-build -> /usr/local/lib/node_modules/vue-cli/bin/vue-build /usr/local/bin/vue-list -> /usr/local/lib/node_modules/vue-cli/bin/vue-list

after npm installed it I got this; this means that the command is there but why it is not firing?

when I tried installing it on windows I got this
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm WARN enoent ENOENT: no such file or directory, open 'C:\shop\package.json'

All 4 comments

Try git bash in Windows

The github dependency has been removed in the latest deps, try re-install.

working now, thank you!

I just installed vue-cli on bash on windows, after it completed everything. I tried vue init webpack myproject but I got nothing , no errors no folder created!!

/usr/local/bin/vue -> /usr/local/lib/node_modules/vue-cli/bin/vue /usr/local/bin/vue-init -> /usr/local/lib/node_modules/vue-cli/bin/vue-init /usr/local/bin/vue-build -> /usr/local/lib/node_modules/vue-cli/bin/vue-build /usr/local/bin/vue-list -> /usr/local/lib/node_modules/vue-cli/bin/vue-list

after npm installed it I got this; this means that the command is there but why it is not firing?

when I tried installing it on windows I got this
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm WARN enoent ENOENT: no such file or directory, open 'C:\shop\package.json'

Was this page helpful?
0 / 5 - 0 ratings