Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot read property 'entries' of undefined - Angular CLI

I installed latest Angular CLI and was trying to create a new app i am getting the below error. I uninstalled , cleaned cache , cleaned by forcing it , installed , updated npm...restarted computer :-) My versions Angular CLI: 6.1.2 Node: 8.11.3 enter image description here

like image 261
Shivprasad Koirala Avatar asked Aug 02 '18 04:08

Shivprasad Koirala


2 Answers

In our case was old package: @angular/pwa Once we update it from: 0.6.8 to 0.7.5 everything started working fine.

like image 99
Karol Gawłowski Avatar answered Sep 19 '22 03:09

Karol Gawłowski


I reinstalled NodeJS. I deleted node_modules folder from user directory and hit npm install and it started working

like image 44
Shivprasad Koirala Avatar answered Sep 18 '22 03:09

Shivprasad Koirala