Build Warning with Angular Universal - Register ts-node again
I am getting this warning with Angular Universal:

Trying to register ts-node again with a different tsconfig - skipping the registration.
tsconfig 1: C:\web projects\fireblog.io/tsconfig.server.json
tsconfig 2: C:\web projects\fireblog.io/tsconfig.app.json
This started once I switched over to Webpack. Here is my angular.json.
I believe it to be a bug in the compilation...
J
This is not reproducible locally (at least I ain't able to).
Did you update all builders to use webpack? Did you run npm run dev:ssr with webpack like in this article?
J
Yes. Note that you opened an issue w/o a reproducible example but it was required:
Note: Our policy is that issues reported without a reproduction will be closed immediately and then reopened once a reproduction has been provided. Please respect the developers of this project by doing this. We give of our personal time to work on this project and would rather be spending our time fixing or enhancing the library than chasing down badly described or unreproducible issues. Please delete this note once you have read it.
Fair enough. I will create a sample repository today after work.
Thanks,
J
Here is a repository that shows the current error messages by running npm run dev:ssr:
https://github.com/jdgamble555/angular-error-test
(Because you guys have not yet updated to Angular 15, this uses the last version of Angular 14).
Thanks,
J
I am getting the same error. Is there any information why it occurs?
- Make sure the versions of Angular and Custom Webpack builder are aligned.
- Try to remove the lock file and regenerate it again by running
yarn/npm install