Bower在Azure部署上失败

科尔德

我正在使用Azure部署Node.js Web应用程序。我挂Github上我的部署回购,并成立了deploy.sh在杰伊·哈里斯的网页提到:http://www.cptloadtest.com/2013/12/03/Git-And-Grunt-Deploy-To- Windows-Azure.aspx

我的应用程序依赖于Bower,但是当它尝试部署时,出现Bower失败错误。这是Azure日志的输出:

npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http 304 https://registry.npmjs.org/amdefine
C:\DWASFiles\Sites\videogelpub\AppData\npm\bower -> C:\DWASFiles\Sites\videogelpub\AppData\npm\node_modules\bower\bin\bower
[email protected] C:\DWASFiles\Sites\videogelpub\AppData\npm\node_modules\bower
├── [email protected]
├── [email protected]
error: could not lock config file d:/home/.gitconfig: Permission denied
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
bower angular#1.2.11        not-cached git://github.com/angular/bower-angular.git#1.2.11
bower angular#1.2.11           resolve git://github.com/angular/bower-angular.git#1.2.11
bower json3#~3.2.6          not-cached git://github.com/bestiejs/json3.git#~3.2.6
bower json3#~3.2.6             resolve git://github.com/bestiejs/json3.git#~3.2.6
bower es5-shim#~2.1.0       not-cached git://github.com/es-shims/es5-shim.git#~2.1.0
bower es5-shim#~2.1.0          resolve git://github.com/es-shims/es5-shim.git#~2.1.0
bower jquery#~1.11.0        not-cached git://github.com/jquery/jquery.git#~1.11.0
bower jquery#~1.11.0           resolve git://github.com/jquery/jquery.git#~1.11.0
bower angular-cookies#1.2.11       not-cached git://github.com/angular/bower-angular-cookies.git#1.2.11
bower angular-cookies#1.2.11          resolve git://github.com/angular/bower-angular-cookies.git#1.2.11
bower angular-route#1.2.11         not-cached git://github.com/angular/bower-angular-route.git#1.2.11
bower angular-route#1.2.11            resolve git://github.com/angular/bower-angular-route.git#1.2.11
bower querystring#~3.24.10         not-cached git://github.com/anodynos/node2web_querystring.git#~3.24.10
bower querystring#~3.24.10            resolve git://github.com/anodynos/node2web_querystring.git#~3.24.10
bower bootstrap#~3.0.3                 cached git://github.com/twbs/bootstrap.git#3.0.3
bower bootstrap#~3.0.3               validate 3.0.3 against git://github.com/twbs/bootstrap.git#~3.0.3
bower angular-resource#1.2.11          cached git://github.com/angular/bower-angular-resource.git#1.2.11
bower angular-resource#1.2.11        validate 1.2.11 against git://github.com/angular/bower-angular-resource.git#1.2.11
bower angular-sanitize#1.2.11          cached git://github.com/angular/bower-angular-sanitize.git#1.2.11
bower angular-sanitize#1.2.11        validate 1.2.11 against git://github.com/angular/bower-angular-sanitize.git#1.2.11
bower underscore#~1.6.0                cached git://github.com/jashkenas/underscore.git#1.6.0
bower underscore#~1.6.0              validate 1.6.0 against git://github.com/jashkenas/underscore.git#~1.6.0
bower angular-mocks#1.2.11             cached git://github.com/angular/bower-angular-mocks.git#1.2.11
bower angular-mocks#1.2.11           validate 1.2.11 against git://github.com/angular/bower-angular-mocks.git#1.2.11
bower angular-scenario#1.2.11          cached git://github.com/angular/bower-angular-scenario.git#1.2.11
bower angular-scenario#1.2.11        validate 1.2.11 against git://github.com/angular/bower-angular-scenario.git#1.2.11
bower json3#~3.2.6                   download https://github.com/bestiejs/json3/archive/v3.2.6.tar.gz
bower angular-cookies#1.2.11         download https://github.com/angular/bower-angular-cookies/archive/v1.2.11.tar.gz
bower angular-route#1.2.11           download https://github.com/angular/bower-angular-route/archive/v1.2.11.tar.gz
bower angular#1.2.11                 download https://github.com/angular/bower-angular/archive/v1.2.11.tar.gz
bower angular-cookies#1.2.11          extract archive.tar.gz
bower angular-cookies#1.2.11         resolved git://github.com/angular/bower-angular-cookies.git#1.2.11
bower angular-route#1.2.11            extract archive.tar.gz
bower angular-route#1.2.11           resolved git://github.com/angular/bower-angular-route.git#1.2.11
bower angular#1.2.11                  extract archive.tar.gz
bower angular#1.2.11                 resolved git://github.com/angular/bower-angular.git#1.2.11
bower json3#~3.2.6                   progress received 3.0MB of 4.9MB downloaded, 60%
bower json3#~3.2.6                   progress received 4.0MB of 4.9MB downloaded, 82%
bower json3#~3.2.6                    extract archive.tar.gz
An error has occurred during web site deployment.
bower failed

无法解决这个问题。

亚当

我自己处理之后,没有在线找到任何资源,因此找到了您的问题。我使用了您在链接中列出的非常相似的部署文件和脚本,但是遇到了与您列出的错误类似的错误。

这令人困惑,因为Azure日志显示所有内容均从bower.json文件安装,并且仅在最后出现错误。

首先,确保npm(node_modules文件夹)中有凉亭。看起来像你一样。

其次,bower install在您的命令行中运行就我而言,它安装了所有内容,但最后给出了以下消息:凉亭错误

我选择了选项3,因为它是Angular的最新版本,并且我认为它与其余版本向后兼容。爆炸(!)将其添加到bower.json文件夹。我提交,推送到我的仓库并在Azure上进行了重新部署...这一次,它的部署没有错误!

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

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

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Bower在Azure部署上失败

来自分类Dev

在Get-AzureDeployment上从TFS部署到Azure失败

来自分类Dev

在Azure上创建VM时部署失败错误

来自分类Dev

Powershell凭据设置上的Azure部署任务失败

来自分类Dev

gitlab使Azure部署失败

来自分类Dev

从GitHub部署Azure WebService失败

来自分类Dev

WordPress部署使用Azure失败

来自分类Dev

cakePHP在Azure上的部署

来自分类Dev

带有Git子模块的VSTS应用程序的连续部署在Azure上失败

来自分类Dev

使用Bower依赖项将网站部署为Azure

来自分类Dev

由于NetFx451,Azure部署失败

来自分类Dev

Virto Commerce Azure部署连接尝试失败

来自分类Dev

节点项目的Azure git部署失败

来自分类Dev

Azure部署失败,因为找不到服务

来自分类Dev

由于NetFx451,Azure部署失败

来自分类Dev

Azure-TFS部署项目使构建失败

来自分类Dev

.NET Core Azure Function 部署失败

来自分类Dev

Composer在弹性beanstack部署上失败

来自分类Dev

使用Intellij在JBoss上的部署部分失败

来自分类Dev

Angular Latest的部署在GitHubPages上失败

来自分类Dev

Netlify部署在Gatsby构建上失败

来自分类Dev

预部署命令在dokku上失败

来自分类Dev

在Tomcat上的Eclipse Scout Http部署失败

来自分类Dev

Django在添加django-bower后在CI上测试失败

来自分类Dev

Django在添加django-bower后在CI上测试失败

来自分类Dev

PySpark ALSModel加载在Azure ML服务上的部署失败,出现错误java.util.NoSuchElementException:参数blockSize不存在

来自分类Dev

运行DevOps Server部署模板时,Active Directory帐户/密钥库身份验证上的Azure LinkedAuthorization失败

来自分类Dev

使用发布配置文件部署到 Azure:使用 Jenkins 在 VS2017 上发布失败时有效

来自分类Dev

使用Azure Devops部署Azure策略ARM模板失败

Related 相关文章

  1. 1

    Bower在Azure部署上失败

  2. 2

    在Get-AzureDeployment上从TFS部署到Azure失败

  3. 3

    在Azure上创建VM时部署失败错误

  4. 4

    Powershell凭据设置上的Azure部署任务失败

  5. 5

    gitlab使Azure部署失败

  6. 6

    从GitHub部署Azure WebService失败

  7. 7

    WordPress部署使用Azure失败

  8. 8

    cakePHP在Azure上的部署

  9. 9

    带有Git子模块的VSTS应用程序的连续部署在Azure上失败

  10. 10

    使用Bower依赖项将网站部署为Azure

  11. 11

    由于NetFx451,Azure部署失败

  12. 12

    Virto Commerce Azure部署连接尝试失败

  13. 13

    节点项目的Azure git部署失败

  14. 14

    Azure部署失败,因为找不到服务

  15. 15

    由于NetFx451,Azure部署失败

  16. 16

    Azure-TFS部署项目使构建失败

  17. 17

    .NET Core Azure Function 部署失败

  18. 18

    Composer在弹性beanstack部署上失败

  19. 19

    使用Intellij在JBoss上的部署部分失败

  20. 20

    Angular Latest的部署在GitHubPages上失败

  21. 21

    Netlify部署在Gatsby构建上失败

  22. 22

    预部署命令在dokku上失败

  23. 23

    在Tomcat上的Eclipse Scout Http部署失败

  24. 24

    Django在添加django-bower后在CI上测试失败

  25. 25

    Django在添加django-bower后在CI上测试失败

  26. 26

    PySpark ALSModel加载在Azure ML服务上的部署失败,出现错误java.util.NoSuchElementException:参数blockSize不存在

  27. 27

    运行DevOps Server部署模板时,Active Directory帐户/密钥库身份验证上的Azure LinkedAuthorization失败

  28. 28

    使用发布配置文件部署到 Azure:使用 Jenkins 在 VS2017 上发布失败时有效

  29. 29

    使用Azure Devops部署Azure策略ARM模板失败

热门标签

归档