无法使用Jenkins构建Angular项目

Mitesh裤子

我需要运行以下命令:

bower update 
grunt build

我收到以下错误:

C:\Program Files (x86)\Jenkins\jobs\Build\workspace>export PHANTOMJS_BIN=/usr/lib/node_modules/phantomjs 
'export' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\Jenkins\jobs\Build\workspace>export XDG_CONFIG_HOME="$WORKSPACE/.config" 
'export' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\Jenkins\jobs\Build\workspace>bower update 
'bower' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\Jenkins\jobs\Build\workspace>grunt build 
'grunt' is not recognized as an internal or external command,
operable program or batch file.

请建议

Mitesh裤子

问题解决了。这就是我现在正在做的。

set PATH=PATH=C:\Windows\system32;C:\Windows;
              C:\Windows\System32\Wbem;
              C:\Windows\System32\WindowsPowerShell\v1.0\;
              C:\Program Files (x86)\Java\jre7\bin;
              C:\Program Files\nodejs\;
              C:\Ruby200\bin;
              C:\Program Files (x86)\Git\bin;
              C:\Ruby200-x64\bin;
              C:\Users\appcito\AppData\Roaming\npm
cd testnew
cd ui
call npm cache clear
call npm install
call bower cache clear
call bower install
call grunt build

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法使用配置了Jenkins的Maven构建Maven项目

来自分类Dev

使用Jenkins构建XCode项目

来自分类Dev

Jenkins无法构建多模块Maven项目

来自分类Dev

无法使用 androidx 库与 Jenkins 构建 apk

来自分类Dev

无法使用Holo Everywhere构建项目

来自分类Dev

无法使用minSdk = 21构建项目

来自分类Dev

无法使用Android Studio构建项目

来自分类Dev

无法使用Gradle构建项目Sagan

来自分类Dev

无法使用Android Studio构建项目

来自分类Dev

如何使用Jenkins创建Kony项目的构建-Continuos Integration

来自分类Dev

使用多项目Gradle构建创建Jenkins管道

来自分类Dev

如何使用Jenkins创建Kony项目的构建-Continuos Integration

来自分类Dev

无法构建 Xamarin 项目

来自分类Dev

构建后删除jenkins项目

来自分类常见问题

使用grunt构建项目时Fontawesome无法正常工作

来自分类Dev

使用grunt构建项目时,Google字体无法正常工作

来自分类Dev

我无法使用apache-maven3.2.2构建项目

来自分类Dev

使用注释中无法映射的字符构建项目?

来自分类Dev

使用Affectiva SDK构建Unity项目后无法正常工作

来自分类Dev

无法使用swtbot在Eclipse Luna上构建项目

来自分类Dev

无法使用Google Play服务构建Android项目

来自分类Dev

无法使用Android Studio构建Android项目-Gradle 1.7

来自分类Dev

无法使用Haskell的堆栈工具构建Yesod项目

来自分类Dev

无法使用android-ndk和Android Studio构建项目

来自分类Dev

无法使用最新的Visual Studio CTP构建Cordova项目

来自分类Dev

MFP CLI无法构建最初使用MFP Studio创建的项目

来自分类Dev

无法使用Gradle构建Ionic / Cordova Android项目

来自分类Dev

无法使用Travis-CI和Android构建项目

来自分类Dev

导入模块后,Android项目无法使用Gradle构建

Related 相关文章

热门标签

归档