[!] (plugin rollup-plugin-obfuscator) RangeError: Maximum call stack size exceeded
FDiskas opened this issue · 1 comments
FDiskas commented
error says nothing more
[!] (plugin rollup-plugin-obfuscator) RangeError: Maximum call stack size exceeded
src\core\server\server.ts
RangeError: Maximum call stack size exceeded
at Object.getMetadata (***\node_modules\reflect-metadata\Reflect.js:352:29)
at o.getRandomGenerator (***\server\node_modules\javascript-obfuscator\dist\webpack:\javascript-obfuscator\src\decorators\Initializable.ts:58:30)
at o.apply (***\server\node_modules\javascript-obfuscator\dist\webpack:\javascript-obfuscator\src\utils\RandomGenerator.ts:44:21)
at o.getRandomInteger (***\server\node_modules\javascript-obfuscator\dist\webpack:\javascript-obfuscator\src\decorators\Initializable.ts:61:39)
at o.generateNext (***\server\node_modules\javascript-obfuscator\dist\webpack:\javascript-obfuscator\src\generators\identifier-names-generators\HexadecimalIdentifierNamesGenerator.ts:31:52)
getkey commented
This is an error generated by javascript-obfuscator, and it's not caused by rollup-plugin-obfuscator, so I will close this issue. Could you open an issue upstream?
I have encountered this error myself at one point, as a workaround you can try increasing the Node.js memory with env NODE_OPTIONS='--max-old-space-size=3072' rollup -c rollup.config.prod.js
.