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
Error: ENOENT: no such file or directory, open '/home/cdauth/Documents/workspace/programming/web/osm/facilmap/server/node_modules/cache/GeoLite2-City.mmdb.tmp'
at <anonymous> (/home/cdauth/Documents/workspace/programming/web/osm/facilmap/serversrc/geoip.ts:42:1)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
If you look at the path of the first item in the stack trace, there is a slash missing between server and src, making it impossible to click the file path.
The problem seems to come from this line. According to the source map specification, the sourceRoot value is simply prepended to all file paths. This means that the sourceRoot value needs to end with a trailing slash.
As a workaround, I specify the following in my esrun config object:
Here is an example exception thrown in my app:
If you look at the path of the first item in the stack trace, there is a slash missing between
server
andsrc
, making it impossible to click the file path.The problem seems to come from this line. According to the source map specification, the
sourceRoot
value is simply prepended to all file paths. This means that thesourceRoot
value needs to end with a trailing slash.As a workaround, I specify the following in my esrun config object:
The text was updated successfully, but these errors were encountered: