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
Using NVM 1.1.11 on windows 11, node v20.9.0 and npm 10.1.0.
Ran 'ng new app-name'
Application was generated,
Ran 'ng serve'
Issue listed below
Exception or Error
ng serve
- Building...X [ERROR] File 'src\main.ts' is missing from the TypeScript compilation. [plugin angular-compiler]
Ensure the file is part of the TypeScript program via the 'files' or 'include' property.
Application bundle generation failed. [5.327 seconds]
Watch mode enabled. Watching for file changes...
I got this to work thanks to ai telling me to "include": ["src/**/*.ts"] to compiler options, but I want to be able to run ng new on a project and serve the starter app, which isn't happening - also the case when generating a new SSR project, out of the box.
The text was updated successfully, but these errors were encountered:
Command
serve
Is this a regression?
The previous version in which this bug was not present was
All of em
Description
ng serve
Building...X [ERROR] File 'src\main.ts' is missing from the TypeScript compilation. [plugin angular-compiler]
Ensure the file is part of the TypeScript program via the 'files' or 'include' property.
Application bundle generation failed. [5.327 seconds]
Watch mode enabled. Watching for file changes...
Minimal Reproduction
Using NVM 1.1.11 on windows 11, node v20.9.0 and npm 10.1.0.
Ran 'ng new app-name'
Application was generated,
Ran 'ng serve'
Issue listed below
Exception or Error
Your Environment
Anything else relevant?
I got this to work thanks to ai telling me to "include": ["src/**/*.ts"] to compiler options, but I want to be able to run ng new on a project and serve the starter app, which isn't happening - also the case when generating a new SSR project, out of the box.
The text was updated successfully, but these errors were encountered: