Open pimlie opened 4 years ago
It seems somehow I inserted a zero width space character (U+200B) in one my javascript files which causes esm to hang until it consumed all memory and node exits with an out of memory error.
It should be reproducable by running node with this file: https://raw.githubusercontent.com/pimlie/nuxt-issues/master/test.js
The zero width space char is on the second line, run the file with node -r esm test.js
node -r esm test.js
It seems somehow I inserted a zero width space character (U+200B) in one my javascript files which causes esm to hang until it consumed all memory and node exits with an out of memory error.
It should be reproducable by running node with this file: https://raw.githubusercontent.com/pimlie/nuxt-issues/master/test.js
The zero width space char is on the second line, run the file with
node -r esm test.js