Closed gneatfosacho closed 3 years ago
Package.json
"jspm": { "devDependencies": { "jspm": "^0.16.55", .... }, "dependencies": { "ts": "github:frankwallis/plugin-typescript@^9.0.0", .... } }
Error on command - npm install --unsafe-perm
warn Error on getPackageConfig for github:frankwallis/plugin-typescript 360 | Unauthorized response for GitHub API. 361 | Use jspm registry config github to reconfigure the credentials, or update them in your ~/.netrc file. 362 | 363 | warn Error getting package config for github:frankwallis/plugin-typescript. 364 | Downloading npm:is-subset@0.1.1 365 | Downloading npm:is-string@1.0.4 366 | Downloading npm:prop-types-extra@1.0.1 367 | Downloading npm:is-boolean-object@1.0.0 368 | 369 | warn Error on download for github:frankwallis/plugin-typescript 370 | Unauthorized response for GitHub API. 371 | Use jspm registry config github to reconfigure the credentials, or update them in your ~/.netrc file. 372 | 373 | err Error downloading github:frankwallis/plugin-typescript. 374 | 375 | warn Installation changes not saved. 376 | npm ERR! code 1 377 | npm ERR! path /codebuild/output/src998058684/src/src/main/webapp 378 | npm ERR! command failed 379 | npm ERR! command sh -c jspm install && npm run buildTS && node bundle.js 380 | 381 | npm ERR! A complete log of this run can be found in: 382 | npm ERR! /root/.npm/_logs/2021-04-08T19_21_58_444Z-debug.log 383 | 384 | [Container] 2021/04/08 19:21:58 Command did not exit successfully npm install --unsafe-perm exit status 1 385 | [Container] 2021/04/08 19:21:58 Phase complete: BUILD State: FAILED 386
We are not using any jspm registry config as such
buildspec.yml:
version: 0.2 phases: install: commands: - curl --silent https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - - apt-get update - apt-get install -yq curl - curl -sL https://deb.nodesource.com/setup_14.x | bash - apt-get install -yq nodejs - npm install -g npm build: commands: - echo Build started on `date` - echo Building Branch `head -n 1 Dockerfile` - cd ./src/main/webapp - npm install --unsafe-perm // Failing .............
Package.json
Error on command - npm install --unsafe-perm
We are not using any jspm registry config as such
buildspec.yml: