Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

npm install "github:angular-ui/angular-ui-router-bower" fails with "TypeError: Cannot read property 'match' of undefined" error #4

Open
saurabhmahajan opened this issue Feb 15, 2021 · 0 comments

Comments

@saurabhmahajan
Copy link

saurabhmahajan commented Feb 15, 2021

I am running this on Azure Pipeline with Node v10.0.0 and NPM v5.6.0

warn Error on download for github:angular-ui/angular-ui-router-bower
TypeError: Cannot read property 'match' of undefined
at checkRateLimit (D:\a\1\s\TestApp.Web\node_modules\jspm-github\github.js:276:22)
at D:\a\1\s\TestApp.Web\node_modules\jspm-github\github.js:753:46
at tryCatch (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:525:12)
at invokeCallback (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:538:13)
at publish (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:508:7)
at flush (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:2415:5)
at process._tickCallback (internal/process/next_tick.js:172:11)

2021-02-15T07:29:50.8421271Z npm verb lifecycle invoicesmashadmin@1.0.0postinstall: CWD: D:\a\1\s\TestApp.Web
2021-02-15T07:29:50.8422138Z npm info lifecycle TestApp@1.0.0
postinstall: Failed to exec postinstall script
2021-02-15T07:29:50.8422978Z npm verb stack Error: TestApp@1.0.0 postinstall: jspm install && typings install
2021-02-15T07:29:50.8423573Z npm verb stack Exit status 1
2021-02-15T07:29:50.8424599Z npm verb stack at EventEmitter. (C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
2021-02-15T07:29:50.8426928Z npm verb stack at EventEmitter.emit (events.js:182:13)
2021-02-15T07:29:50.8427816Z npm verb stack at ChildProcess. (C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2021-02-15T07:29:50.8428752Z npm verb stack at ChildProcess.emit (events.js:182:13)
2021-02-15T07:29:50.8429562Z npm verb stack at maybeClose (internal/child_process.js:947:16)
2021-02-15T07:29:50.8430285Z npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5)
2021-02-15T07:29:50.8430933Z npm verb pkgid TestApp@1.0.0
2021-02-15T07:29:50.8431474Z npm verb cwd D:\a\1\s\TestApp.Web
2021-02-15T07:29:50.8432016Z npm verb Windows_NT 10.0.17763
2021-02-15T07:29:50.8432803Z npm verb argv "C:\hostedtoolcache\windows\node\10.0.0\x64\node.exe" "C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\bin\npm-cli.js" "install"
2021-02-15T07:29:50.8433829Z npm verb node v10.0.0
2021-02-15T07:29:50.8434194Z npm verb npm v5.6.0
2021-02-15T07:29:50.8434694Z npm ERR! code ELIFECYCLE
2021-02-15T07:29:50.8436350Z npm ERR! errno 1
2021-02-15T07:29:50.8437117Z npm ERR! TestApp@1.0.0 postinstall: jspm install && typings install
2021-02-15T07:29:50.8437767Z npm ERR! Exit status 1
2021-02-15T07:29:50.8438273Z npm ERR!
2021-02-15T07:29:50.8438726Z npm ERR! Failed at the TestApp@1.0.0 postinstall script.
2021-02-15T07:29:50.8439400Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-02-15T07:29:50.8440016Z npm verb exit [ 1, true ]
2021-02-15T07:29:50.8440305Z

The complete log in too long and Github is limiting the length making it hard to post.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant