echo094 / decode-js

JS混淆代码的AST分析工具 AST analysis tool for obfuscated JS code
MIT License
620 stars 316 forks source link

other: 依赖isolated-vm运行报错Segmentation fault #108

Closed 363137946 closed 1 month ago

363137946 commented 1 month ago

运行报错Segmentation fault是哪里问题

echo094 commented 1 month ago

没有别的错误信息?

363137946 commented 1 month ago

没有别的错误信息? 啥也没有,就输出这个

363137946 commented 1 month ago

CreamK commented 1 month ago

我也报这个错误

echo094 commented 1 month ago

你的Node版本是多少,这可能是isolated-vm的问题,这是其文档里的说明:

🚨 If you are using a version of nodejs 20.x or later, you must pass --no-node-snapshot to node.

CreamK commented 1 month ago

你的Node版本是多少,这可能是isolated-vm的问题,这是其文档里的说明:

🚨 If you are using a version of nodejs 20.x or later, you must pass --no-node-snapshot to node.

v20.14.0

CreamK commented 1 month ago

你的Node版本是多少,这可能是isolated-vm的问题,这是其文档里的说明:

🚨 If you are using a version of nodejs 20.x or later, you must pass --no-node-snapshot to node.

谢谢,在package.json中改成"decode": "node --no-node-snapshot src/main.js",已经解决