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
When I serve such a folder "normally" (e.g. using python3 -m http.server, everything works correctly. The original main.ts file is available through Chrome's developer tool.
But when I use this plugin to serve the folder, the source maps are inaccessible. Chrome somehow recognizes the directory structure, as you can see from the first image; however, the contents of this file are not getting fetched, as shown on the second image.
The error message reads the following.
Could not load content for http://localhost:10001/src/main.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
The text was updated successfully, but these errors were encountered:
My HTML (generated by the official HTML plugin):
My
main.js
:The contents of the file
main.js.map
, which sits right next to themain.js
file:When I serve such a folder "normally" (e.g. using
python3 -m http.server
, everything works correctly. The originalmain.ts
file is available through Chrome's developer tool.But when I use this plugin to serve the folder, the source maps are inaccessible. Chrome somehow recognizes the directory structure, as you can see from the first image; however, the contents of this file are not getting fetched, as shown on the second image.
The error message reads the following.
The text was updated successfully, but these errors were encountered: