gpt4 book ai didi

npm - travis-ci 打字安装失败

转载 作者:行者123 更新时间:2023-12-02 04:41:11 25 4
gpt4 key购买 nike

我正在尝试让 travis-ci 继续我的 angular2 项目,该项目使用 npm 安装打字,但 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! spring-boot-angular2@0.0.1-SNAPSHOT postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the spring-boot-angular2@0.0.1-SNAPSHOT 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

最佳答案

我错过了 typings 1.0 中的更改,请务必通读 updating from 0.x to 1.0

关于npm - travis-ci 打字安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37360333/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com