Angular – Test error – No base href set

0 Comments

When running a ng test with Angular v6.2.9 cli, I was getting the error: Error: No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.

How to fix: ENOENT: no such file or directory, rename … \abbrev (angular cli)

0 Comments

When I was running “npm install -g angular-cli”, I was getting the following error: npm ERR! npm  v3.10.3                                                  npm ERR! path C:\Users\Roel\AppData\Roaming\npm\node_modules\.staging\a bbrev-69492d5e                                                         npm ERR! code ENOENT                                                   npm ERR! errno -4058                                                   npm ERR! syscall rename