SEKAs-MacBook-Pro:angular.js sekaa$ sudo ng serve
Password:
Application bundle generation failed. [2.397 seconds]
✘ [ERROR] Could not resolve "zone.js"
angular:polyfills:angular:polyfills:1:7:
1 │ import 'zone.js';
╵ ~~~~~~~~~
The Yarn Plug'n'Play manifest forbids importing "zone.js" here because it's not listed as a dependency of this package:
../../../.pnp.cjs:1964:31:
1964 │ "packageDependencies": [\
╵ ~~
You can mark the path "zone.js" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Watch mode enabled. Watching for file changes...
Partager