I'm facing a problem recently when running :
ng serve --watch --proxy-config proxy.conf.json --hmr
or:
ng build --prod --build-optimizer
I've got the error :
[dispatcher]/node_modules/@ngtools/json-schema/src/schema-tree.js:392 throw new InvalidUpdateValue('Invalid value can only be one of these : ' + this.items);
Error: Invalid value can only be one of these: browser,server
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! Exit status 1
I don't understand why there is error because i don't make modification on my code, and it work before.
Thanks for your help.