You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @angular/* package(s) are the source of the bug?
platform-server, zone.js
Is this a regression?
Yes
Description
Nodejs -v: v18.18.2/v20.10.0
ng v: 17.0.0
I'm experiencing issues running ng s after trying various versions of v17 when creating a new project. Any assistance would be appreciated.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
✘ [ERROR] Could not resolve "zone.js/node"
angular:polyfills-server:angular:polyfills-server:1:7:
1 │ import 'zone.js/node';
╵ ~~~~~~~~~~~~~~
The Yarn Plug'n'Play manifest forbids importing "zone.js" here because it's not listed as a dependency of this package:
../../../.pnp.cjs:36:31:
36 │ "packageDependencies": [\
╵ ~~
You can mark the path "zone.js/node" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Could not resolve "@angular/platform-server/init"
angular:polyfills-server:angular:polyfills-server:2:7:
2 │ import '@angular/platform-server/init';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Yarn Plug'n'Play manifest forbids importing "@angular/platform-server" here because it's not listed as a dependency of this package:
../../../.pnp.cjs:36:31:
36 │ "packageDependencies": [\
╵ ~~
You can mark the path "@angular/platform-server/init" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Application bundle generation failed. [9.153 seconds]
Watch mode enabled. Watching for file changes...
Please provide the environment you discovered this bug in (run ng version)
@Tweniee In my case, I was using Yarn and it gave me problems with the pnp.cjs file. In the root directory of my operating system (Windows 11), I saw that file and deleted it. Then, with pnpm the project worked correctly.
Which @angular/* package(s) are the source of the bug?
platform-server, zone.js
Is this a regression?
Yes
Description
Nodejs -v: v18.18.2/v20.10.0
ng v: 17.0.0
I'm experiencing issues running
ng s
after trying various versions of v17 when creating a new project. Any assistance would be appreciated.Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: