vv314 / actions-mtz-coupons

以自动化的方式领取外卖红包。
MIT License
543 stars 499 forks source link

按照“本地运行”教程,本地电脑电脑执行出错 #63

Closed gitupdate closed 8 months ago

gitupdate commented 8 months ago

教程:

https://github.com/vv314/actions-mtz-coupons/blob/main/docs/%E6%9C%AC%E5%9C%B0%E8%BF%90%E8%A1%8C.md

D:\softwareInstall\nvm\v18.19.1\npm.cmd run start:local

actions-mtz-coupons@2.1.0 start:local node index.local

node:internal/errors:496 ErrorCaptureStackTrace(err); ^

Error [ERR_INTERNAL_ASSERTION]: Code: ERR_MODULE_NOT_FOUND; The provided arguments length (2) does not match the required ones (3). This is caused by either a bug in Node.js or incorrect usage of Node.js internals. Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at new NodeError (node:internal/errors:405:5)
at assert (node:internal/assert:14:11)
at getMessage (node:internal/errors:451:5)
at new NodeError (node:internal/errors:379:21)
at legacyMainResolve (node:internal/modules/esm/resolve:218:9)
at packageResolve (node:internal/modules/esm/resolve:903:14)
at moduleResolve (node:internal/modules/esm/resolve:973:20)
at defaultResolve (node:internal/modules/esm/resolve:1193:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:403:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:372:25) {

code: 'ERR_INTERNAL_ASSERTION' }

Node.js v18.19.1

Process finished with exit code 1