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
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
I'm trying to build & run my Angular SSR (Angular Universal) app, whereas the 3rd script fails:
ng run web:build --configuration=production
ng run web:server --configuration=production
ng run web-ssr:serve
With the below error.
🔥 Exception or Error
ERROR in ./dist/apps/web/server/main.js 178387:16
Module parse failed: 'with' in strict mode (178387:16)
File was processed with these loaders:
* ./node_modules/ts-loader/index.js
You may need an additional loader to handle the result of these loaders.
| if (file)
| code += '\n//@ sourceURL=' + file;
> with (this)
| eval(code);
| },
There was an error with the build. See above.
/Users/user/project/dist/apps/web-ssr/main.js was not restarted.