尝试运行纱线安装时,我得到了:
Jasons-MacBook-Pro: jasonbiondo$ yarn install
yarn install v0.21.3
[1/4] :mag: Resolving packages...
[2/4] :truck: Fetching packages...
[3/4] :link: Linking dependencies...
[4/4] :page_with_curl: Building fresh packages...
[1/6] ⠂ aurelia-infinite-scroll
[2/6] ⠂ fsevents
[3/6] ⠂ gifsicle
[4/6] ⠂ mozjpeg
error /Users/jasonbiondo/Sites/mysite-app/node_modules/aurelia-infinite-scroll: Command failed.
Exit code: 127
Command: sh
Arguments: -c ./node_modules/.bin/typings install
Directory: /Users/jasonbiondo/Sites/mysite-app/node_modules/aurelia-infinite-scroll
Output:
sh: ./node_modules/.bin/typings: No such file or directory
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
注意:这不会导致npm install出错。
这是指向我的package.json:https://gist.github.com/jasonbiondo/fac812526499c99e44c171645bee5533
的要点的链接