Skip to content

Exac/ng-19-0-0-next-5-vite-pre-transform-error

Repository files navigation

Ng1900Next5VitePreTransformError

This project was generated with Angular CLI version 19.0.0-next.6.

Error reproduction steps

  1. Start the project
$ npm run start
  1. Open the browser and navigate to http://localhost:4200/

There are no errors in the console.

  1. Navigate to http://localhost:4200/bar/foo (You can click the "Bar/Foo" button)

There are still no errors in the console.

  1. Quit the dev server (press q<enter>, ctrl-c is currently broken).
  2. Start the dev server again
$ npm run start

When the page in the browser reloads, you will see the following in the console:

Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
  ➜  Local:   http://localhost:4200/
  ➜  press h + enter to show help

10:36:18 AM [vite] Pre-transform error: Failed to load url /bar/polyfills.js (resolved id: /bar/polyfills.js). Does the file exist?
10:36:18 AM [vite] Pre-transform error: Failed to load url /bar/main.js (resolved id: /bar/main.js). Does the file exist?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published