Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有个疑问 #3

Open
2857584289 opened this issue Mar 5, 2023 · 5 comments
Open

有个疑问 #3

2857584289 opened this issue Mar 5, 2023 · 5 comments

Comments

@qxsun
Copy link

qxsun commented Mar 7, 2023

raise ProcessExitedWithNonZeroStatus(status=status, stdout=stdoutdata, stderr=stderrdata)
execjs._exceptions.ProcessExitedWithNonZeroStatus: (101, '', '/tmp/execjsun58aa_p.js:483:16 Expected ; but found a\n let a = !1;\n ^\n/tmp/execjsun58aa_p.js:524:8 Expected an operand but found )\n }, () => 0, () => "03v", {\n ^\n/tmp/execjsun58aa_p.js:526:5 Expected an operand but found ,\n }, {\n ^\n/tmp/execjsun58aa_p.js:528:22 Expected ; but found :\n msNewTokenList: [],\n ^\n/tmp/execjsun58aa_p.js:530:17 Expected ; but found :\n clickList: [],\n ^\n/tmp/execjsun58aa_p.js:532:19 Expected ; but found :\n activeState: [],\n ^\n/tmp/execjsun58aa_p.js:534:15 Expected ; but found :\n envcode: 0,\n ^\n/tmp/execjsun58aa_p.js:536:16 Expected ; but found :\n msStatus: 0,\n ^\n/tmp/execjsun58aa_p.js:538:13 Expected ; but found :\n ttwid: "",\n ^\n/tmp/execjsun58aa_p.js:540:19 Expected ; but found :\n tt_webid_v2: ""\n ^\n/tmp/execjsun58aa_p.js:544:12 Expected : but found a\n let a = new Uint8Array(3);\n ^\n/tmp/execjsun58aa_p.js:545:8 Invalid return statement\n return a[0] = e / 256, a[1] = e % 256, a[2] = b % 256, String.fromCharCode.apply(null, a)\n ^\n/tmp/execjsun58aa_p.js:546:4 Expected eof but found }\n }, (e, b) => {\n ^\n')
171.82.109.61 - - [07/Mar/2023 12:08:12] "POST /X-Bogus HTTP/1.1" 500 -
部署服务 python3 server.py 报这个错误,可以帮忙解答一下不,语法看着没啥问题

@B1gM8c
Copy link
Owner

B1gM8c commented Mar 7, 2023

你装个node环境试试,譬如centos系统

yum install nodejs

@qxsun
Copy link

qxsun commented Mar 7, 2023

File "/usr/local/lib/python3.7/site-packages/execjs/_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: TypeError: Cannot read property 'JS_MD5_NO_COMMON_JS' of null
装了nodejs后,提示这个错误

@B1gM8c
Copy link
Owner

B1gM8c commented Mar 7, 2023

File "/usr/local/lib/python3.7/site-packages/execjs/_external_runtime.py", line 167, in _extract_result raise ProgramError(value) execjs._exceptions.ProgramError: TypeError: Cannot read property 'JS_MD5_NO_COMMON_JS' of null 装了nodejs后,提示这个错误

ChatGPT回复:
这个错误信息表明在使用 Node.js 运行时时出现了错误,可能的原因包括:

  • Node.js 没有正确安装或配置。
  • Node.js 版本不兼容。
  • 代码中使用了 Node.js 不支持的语法或 API。
    建议您检查 Node.js 的安装和配置是否正确,并检查代码中是否使用了 Node.js 不支持的语法或 API。如果 Node.js 已经正确安装和配置,并且代码中也没有使用 Node.js 不支持的语法或 API,您可以尝试更新 Node.js 到最新版本来解决问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants