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
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
This happens because that library includes index.js in its list of sources for index.js.map, which leads to an infinite loop in Node.load().
I don't know enough about sourcemaps to say if this setup is legal/valid. I'll open a ticket in that library too if you say it's wrong/incorrect, and pass along any other info you think will help them. Either way, it took several hours to track this down. This ticket is a request to either:
Detect this situation, handle it, and succeed
Detect this situation, abort, and print a meaningful error message
The text was updated successfully, but these errors were encountered:
Trying to simply
load()
@js-sdsl/ordered-map in its versions 4.2-4.4 results inThis happens because that library includes
index.js
in its list ofsources
forindex.js.map
, which leads to an infinite loop inNode.load()
.I don't know enough about sourcemaps to say if this setup is legal/valid. I'll open a ticket in that library too if you say it's wrong/incorrect, and pass along any other info you think will help them. Either way, it took several hours to track this down. This ticket is a request to either:
The text was updated successfully, but these errors were encountered: