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
I used this template to create a NestJS application and installed some additional dependencies. I needed to modify my webpack config to load .node files correctly. Currently, my webpack config looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I used this template to create a NestJS application and installed some additional dependencies. I needed to modify my webpack config to load .node files correctly. Currently, my webpack config looks like this:
With this config, I can build my NestJS application. However, when I try to run the compiled file (
node ./dist/server.js
) I get this error:My nest-cli.json and tsconfig.json look the same, and I installed every necessary dependency.
Has anyone ever faced this issue, or have any idea on how to fix this?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions