angular.json error. Cannot load schema.json

1,064 views
Skip to first unread message

Michael Glaser

unread,
Sep 20, 2020, 12:59:27 PM9/20/20
to Angular and AngularJS discussion
I've done my legwork scouring the Internet but no luck find so it's time to ask the community.
I just upgraded from Angular 9 to 10 and I'm receiving  the error message, "Unable to load schema from 'c:\Users\m_s_g\workspace\xegs-angular-cli\node_modules\@angular\cli\lib\config\schema.json': ENOENT: no such file or directory, open 'c:\Users\m_s_g\workspace\xegs-angular-cli\node_modules\@angular\cli\lib\config\schema.json'."
Now, this file exists so I'm stumped as to why it says it can't find it. I blew away my node_modules directory and did an npm install and it put that file back again. 

Thanks,
Reply all
Reply to author
Forward
0 new messages