After upgrading to 17.1 the es-module-shims polyfill causes error when running ng serve
[plugin:vite:import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
../../node_modules/.pnpm/es-module-shims@1.8.2/node_modules/es-module-shims/dist/es-module-shims.js:970:0
We too are facing the same issue, anyone got any updates?
Though it worked for me sometime back when i ran the application multiple times, can it be because of cache or something?
After upgrading to 17.1 the es-module-shims polyfill causes error when running
ng serve
[plugin:vite:import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension. ../../node_modules/.pnpm/es-module-shims@1.8.2/node_modules/es-module-shims/dist/es-module-shims.js:970:0