我正试图在Codeship配置CI基础设施。我的本地meteor --test命令工作起来很有魅力,但是我在Codeship上遇到了一个奇怪的错误。
本地:
I20141208-12:29:42.602(2)? Started
I20141208-12:29:42.602(2)? .
I20141208-12:29:42.603(2)?
I20141208-12:29:42.603(2)? 1 spec, 0 failures
I20141208-12:29:42.603(2)? Finished in 0.014 seconds
PASSED jasmine-server-unit : Job => Job should be created with title, description, location and isRemote代码:
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While Building the application:
node_modules/velocity-cli/velocity-cli.js:1:15: Unexpected token ILLEGAL
=> Your application has errors. Waiting for file change.安装命令:
curl -o meteor_install_script.sh https://install.meteor.com/
chmod +x meteor_install_script.sh
sed -i "s/type sudo >\/dev\/null 2>&1/\ false /g" meteor_install_script.sh
./meteor_install_script.sh 测试命令:
meteor --test发布于 2014-12-09 10:16:35
阿海,
速度-cli需要全球安装。在调用meteor可执行文件之前,可以在安装步骤中添加以下命令吗?
npm install -g velocity-cli
免责声明:我为Codeship工作
发布于 2015-05-20 16:23:17
发布于 2015-06-02 23:23:12
我通过将安装命令从OP更改为:
curl -o meteor_install_script.sh https://install.meteor.com/
chmod +x meteor_install_script.sh
sed -i "s/type sudo >\/dev\/null 2>&1/\ false /g" meteor_install_script.sh
./meteor_install_script.sh
export PATH=$HOME/.meteor:$PATH
npm install -g velocity-cli另外,我用黄瓜代替茉莉花,这也是值得的。
https://stackoverflow.com/questions/27356247
复制相似问题