我在Windows 8.1上,有流浪汉,Cheffile,一切正常。
现在我在做:
npm install -g ember-cli ,没关系。
但是当我这样做时:
在vagrant文件夹中的ember new sample (我在Windows中可以查看的文件夹)我收到此错误:
version: 1.13.8
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
installing app
create .bowerrc
create .editorconfig
create .ember-cli
create .jshintrc
create .travis.yml
create .watchmanconfig
create README.md
create app/app.js
create app/components/.gitkeep
create app/controllers/.gitkeep
create app/helpers/.gitkeep
create app/index.html
create app/models/.gitkeep
create app/router.js
create app/routes/.gitkeep
create app/styles/app.css
create app/templates/application.hbs
create app/templates/components/.gitkeep
create bower.json
create config/environment.js
create ember-cli-build.js
create .gitignore
create package.json
create public/crossdomain.xml
create public/robots.txt
create testem.json
create tests/.jshintrc
create tests/helpers/resolver.js
create tests/helpers/start-app.js
create tests/index.html
create tests/test-helper.js
create tests/unit/.gitkeep
create vendor/.gitkeep
Installing packages for tooling via npm...
npm ERR! tar.unpack untar error /home/vagrant/.npm/git-repo-info/1.1.2/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/underscore.string/2.3.3/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/underscore.string/2.3.3/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/broccoli-plugin/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/hash-for-dep/1.0.1/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/broccoli-plugin/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/broccoli-plugin/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/hash-for-dep/1.0.1/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/underscore.string/2.3.3/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/broccoli-plugin/1.2.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/json5/0.4.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/source-map/0.1.32/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/defs/1.1.0/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/ember-cli/1.13.8/package.tgz
EPROTO, mkdir '/vagrant/test/node_modules/ember-cli-app-version/node_modules/git-repo-version/node_modules/git-repo-info/tests/fixtures/branch-with-slashes/dot-git/refs/heads/feature/branch/with'
Error: EPROTO, mkdir '/vagrant/test/node_modules/ember-cli-app-version/node_modules/git-repo-version/node_modules/git-repo-info/tests/fixtures/branch-with-slashes/dot-git/refs/heads/feature/branch/with'
at Error (native)
我在流浪汉的最后一个方框(今天我做vagrant box update
)和node -v
说我: v0.12.7 和npm -v
说: 3.3.3
怎么办?
我尝试了: sudo(而不是sudo)npm cache clean 以及 sudo 用于其他所有命令。没什么,同样的错误。
含义: npm ERR! tar.unpack untar error
???