2016-05-21 26 views
3

私は、npmを使ってタイピングをインストールするangular2プロジェクトでtravis-ciを実行しようとしていますが、タイピングインストールではtravis-ciが失敗します。インストール時にtravis-ciが失敗する

エラー

npm ERR! Linux 3.13.0-40-generic 
npm ERR! argv "/home/travis/build/borysn/spring-boot-angular2/src/main/web/node/node-v6.2.0-linux-x64/bin/node" "/home/travis/build/borysn/spring-boot-angular2/src/main/web/node_modules/npm/bin/npm-cli.js" "install" 
npm ERR! node v6.2.0 
npm ERR! npm v3.9.2 
npm ERR! file sh 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! syscall spawn 
npm ERR! [email protected] postinstall: `typings install` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'typings install'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the spring-boot-angular2 package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  typings install 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs spring-boot-angular2 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls spring-boot-angular2 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR!  /home/travis/build/borysn/spring-boot-angular2/src/main/web/npm-debug.log 
:npmInstall FAILED 

答えて

0

私は、あなたがあなたの `.travis.yml`ファイルを共有することができますupdating from 0.x to 1.0

+0

を通読することを確認してください逃したタイピング1.0の変化はありましたか?私は同じ問題を抱えています –

+1

@aral [.travis-ci.yml](https://github.com/borysn/spring-boot-angular2/blob/master/.travis.yml)と[typings.json](https ://github.com/borysn/spring-boot-angular2/blob/master/src/main/web/typings.json)入力に有効1.0 – oxenfree

+0

ありがとう、ありがとう:) –

関連する問題