AutumnWhj / ChatGPT-wechat-bot

ChatGPT for wechat https://github.com/AutumnWhj/ChatGPT-wechat-bot
MIT License
4.68k stars 980 forks source link

大佬们知道这个错误怎么解决吗?在云服务器上跑的。 #19

Closed phpoh closed 1 year ago

phpoh commented 1 year ago

file:///C:/Users/Administrator/Desktop/ChatGPT-wechat-bot-master/node_modules/wechaty-puppet-service/dist/esm/src/client/puppet-service.js:1148 timestamp ??= 0; ^^^

SyntaxError: Unexpected token '??=' at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! chatgpt-wechatbot@1.0.0 dev: npm run build && node lib/bundle.esm.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the chatgpt-wechatbot@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\nodejs\node_cache_logs\2022-12-08T05_22_40_998Z-debug.log

AutumnWhj commented 1 year ago

@phpoh node版本问题 node版本要>16

phpoh commented 1 year ago

噢噢,谢谢大佬

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月8日(星期四) 下午2:06 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [AutumnWhj/ChatGPT-wechat-bot] 大佬们知道这个错误怎么解决吗?在云服务器上跑的。 (Issue #19)

@phpoh node版本问题 node版本要>16

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

phpoh commented 1 year ago

oh yeah!

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月8日(星期四) 下午3:19 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [AutumnWhj/ChatGPT-wechat-bot] 大佬们知道这个错误怎么解决吗?在云服务器上跑的。 (Issue #19)

关闭#19已完成。

— 直接回复此邮件,在GitHub上查看,或取消订阅. @.***与>.

phpoh commented 1 year ago

thank you!

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月8日(星期四) 下午3:19 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [AutumnWhj/ChatGPT-wechat-bot] 大佬们知道这个错误怎么解决吗?在云服务器上跑的。 (Issue #19)

关闭#19已完成。

— 直接回复此邮件,在GitHub上查看,或取消订阅. @.***与>.