Azure 배포에서 Bower 실패

Cordle

Azure를 사용하여 Node.js 웹 애플리케이션을 배포하고 있습니다. Github를 배포 저장소로 연결하고 Jay Harris의 웹 페이지 http://www.cptloadtest.com/2013/12/03/Git-And-Grunt-Deploy-To-에 언급 된대로 deploy.sh를 설정했습니다 . 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가 있는지 확인하십시오. 당신처럼 보입니다.

둘째, bower install명령 줄에서 실행합니다. 제 경우에는 모든 것을 설치했지만 결국 다음과 같은 메시지를주었습니다.정자 오류

나는 Angular의 최신 버전이고 나머지와 역 호환이 가능하기 때문에 옵션 3을 선택했습니다. 쾅 (!)은이를 bower.json 폴더에 추가합니다. 커밋하고 내 리포지토리에 푸시하고 Azure에 다시 배포했습니다 ... 이번에는 오류없이 배포되었습니다!

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Azure에서 NodeJS 앱 배포 실패

분류에서Dev

Azure DevOps : 파이프 라인 빌드에서 Blazor 배포 실패

분류에서Dev

Azure에서 VM을 만드는 동안 배포 실패 오류

분류에서Dev

Powershell 자격 증명 설정에서 Azure 배포 작업이 실패 함

분류에서Dev

오류 : 배포 실패 : Azure DevOps Services에서 App Service에 배포 할 때 ERROR_DESTINATION_NOT_REACHABLE

분류에서Dev

django-bower 추가 후 CI에서 Django 테스트 실패

분류에서Dev

Bower는 VS 2015에서 실패합니다.

분류에서Dev

Tomcat에서 배포 실패

분류에서Dev

OpenShift에서 배포 실패

분류에서Dev

Maven 앱 엔진 배포에 대한 Azure Pipeline 실패

분류에서Dev

Azure VM Linux Ubuntu 백업 에이전트-배포 실패

분류에서Dev

Azure에 배포 할 때 "하위 수준 서비스에 대한 요청 실패"오류가 발생합니다.

분류에서Dev

웹 배포 작업 실패 : Azure에 배포 할 때 데이터 손실이 발생할 수 있음

분류에서Dev

연결된 서비스에 대한 권한 부여로 인해 Azure ADF ARM 템플릿 배포 실패

분류에서Dev

서비스를 찾을 수 없기 때문에 Azure 배포가 실패합니다.

분류에서Dev

Angular HashLocationStrategy에서 Azure OAuth2 실패

분류에서Dev

"npm 설치"에서 Azure DevOps 실패

분류에서Dev

ASpNet이 Azure에서 게시 실패

분류에서Dev

VSTS에서 Azure 구독 Auhtorizing 실패

분류에서Dev

배포에서 npm 패키지가 누락 된 Azure nodejs 웹앱

분류에서Dev

Azure ML : 실패한 모델 배포의 로그에 액세스하는 방법

분류에서Dev

Azure Functions Python 코드는 배포 된 경우에만 실패합니다.

분류에서Dev

새 Azure 리소스 그룹 및 웹 사이트에 대한 배포 실패

분류에서Dev

Azure WebJob은 각 배포 슬롯에서 실행 되나요?

분류에서Dev

NetFx451으로 인해 Azure 배포 실패

분류에서Dev

Azure Service Fabric 배포 중 실패 테스트

분류에서Dev

Azure Service Fabric 리소스 배포 실패 종료 코드 -532462766

분류에서Dev

GitHubPages에서 Angular 최신 배포 실패

분류에서Dev

Gatsby 빌드에서 Netlify 배포 실패

Related 관련 기사

  1. 1

    Azure에서 NodeJS 앱 배포 실패

  2. 2

    Azure DevOps : 파이프 라인 빌드에서 Blazor 배포 실패

  3. 3

    Azure에서 VM을 만드는 동안 배포 실패 오류

  4. 4

    Powershell 자격 증명 설정에서 Azure 배포 작업이 실패 함

  5. 5

    오류 : 배포 실패 : Azure DevOps Services에서 App Service에 배포 할 때 ERROR_DESTINATION_NOT_REACHABLE

  6. 6

    django-bower 추가 후 CI에서 Django 테스트 실패

  7. 7

    Bower는 VS 2015에서 실패합니다.

  8. 8

    Tomcat에서 배포 실패

  9. 9

    OpenShift에서 배포 실패

  10. 10

    Maven 앱 엔진 배포에 대한 Azure Pipeline 실패

  11. 11

    Azure VM Linux Ubuntu 백업 에이전트-배포 실패

  12. 12

    Azure에 배포 할 때 "하위 수준 서비스에 대한 요청 실패"오류가 발생합니다.

  13. 13

    웹 배포 작업 실패 : Azure에 배포 할 때 데이터 손실이 발생할 수 있음

  14. 14

    연결된 서비스에 대한 권한 부여로 인해 Azure ADF ARM 템플릿 배포 실패

  15. 15

    서비스를 찾을 수 없기 때문에 Azure 배포가 실패합니다.

  16. 16

    Angular HashLocationStrategy에서 Azure OAuth2 실패

  17. 17

    "npm 설치"에서 Azure DevOps 실패

  18. 18

    ASpNet이 Azure에서 게시 실패

  19. 19

    VSTS에서 Azure 구독 Auhtorizing 실패

  20. 20

    배포에서 npm 패키지가 누락 된 Azure nodejs 웹앱

  21. 21

    Azure ML : 실패한 모델 배포의 로그에 액세스하는 방법

  22. 22

    Azure Functions Python 코드는 배포 된 경우에만 실패합니다.

  23. 23

    새 Azure 리소스 그룹 및 웹 사이트에 대한 배포 실패

  24. 24

    Azure WebJob은 각 배포 슬롯에서 실행 되나요?

  25. 25

    NetFx451으로 인해 Azure 배포 실패

  26. 26

    Azure Service Fabric 배포 중 실패 테스트

  27. 27

    Azure Service Fabric 리소스 배포 실패 종료 코드 -532462766

  28. 28

    GitHubPages에서 Angular 최신 배포 실패

  29. 29

    Gatsby 빌드에서 Netlify 배포 실패

뜨겁다태그

보관