疯言疯语

青龙运行脚本报错Error: Cannot find module ‘./ql’

daimafengzi · 2月12日 · 2022年本文共1098个字 · 预计阅读4分钟11089次已读

青龙运行脚本报错

  throw err;
  ^

Error: Cannot find module './ql'
Require stack:
- /ql/scripts/okyyds_yydspure_master/function/sendNotify.js
- /ql/scripts/okyyds_yydspure_master/function/common.js
- /ql/scripts/okyyds_yydspure_master/jx_aid_cashback.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/ql/scripts/okyyds_yydspure_master/function/sendNotify.js:132:5)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/ql/scripts/okyyds_yydspure_master/function/sendNotify.js',
    '/ql/scripts/okyyds_yydspure_master/function/common.js',
    '/ql/scripts/okyyds_yydspure_master/jx_aid_cashback.js'
  ]
}

解决办法 👍

ql.js复制到function下
0 条回应