Raagh / angular-karma_test-explorer

vscode extension for easy angular testing and debugging
https://marketplace.visualstudio.com/items?itemName=raagh.angular-karma-test-explorer
MIT License
65 stars 23 forks source link

stderr: Install for [ '@angular/cli@latest' ] failed with code 1 #101

Closed libinvarghese closed 3 years ago

libinvarghese commented 3 years ago

Before submitting the bug report

Describe the bug After following the instruction in Documentation, I open the Test Explorer.

I notice that reload button spins for sometime (5-8 secs) and then throws the below error in the Logs

Logs

[8:27:28 PM] INFO: Starting Angular test enviroment for project: app
[8:27:33 PM] INFO: Listening to AngularReporter events on port 9877
[8:28:24 PM] ERROR: stderr: npm
[8:28:24 PM] ERROR: stderr:  ERR! Unexpected end of JSON input while parsing near '...3j1ayaY62PYvLPwwuIB\n'

[8:28:24 PM] ERROR: stderr: 

[8:28:24 PM] ERROR: stderr: npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/libin/.npm/_logs/2021-02-10T14_58_24_037Z-debug.log

[8:28:24 PM] ERROR: stderr: Install for [ '@angular/cli@latest' ] failed with code 1

Desktop (please complete the following information):