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 am using plain JavaScript for building APIs using Node.js and Express.js. I have the following module alias configuration, which is heavily used across my project in require statements:
I'm getting the following error after running the pkg . command:
Warning Cannot find module '@root/routes' from 'C:\Workspace\Projects\server.js'
It seems that the module alias configuration is causing an issue when trying to find the @root/routes module. Any suggestions on how to resolve this would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I am using plain JavaScript for building APIs using Node.js and Express.js. I have the following module alias configuration, which is heavily used across my project in require statements:
I'm getting the following error after running the pkg . command:
Warning Cannot find module '@root/routes' from 'C:\Workspace\Projects\server.js'
It seems that the module alias configuration is causing an issue when trying to find the @root/routes module. Any suggestions on how to resolve this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: