You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
迁移到armv7架构的机器上后所有的js脚本都出现了这个问题
`
Error [ERR_REQUIRE_ESM]: require() of ES Module /root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/p-cancelable/index.js from /ql/data/scripts/node_modules/got/dist/source/create.js not supported.
Instead change the require of index.js in /ql/data/scripts/node_modules/got/dist/source/create.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/ql/data/scripts/node_modules/got/dist/source/create.js:14:24)
at Object. (/ql/data/scripts/node_modules/got/dist/source/index.js:14:18)
at Object.initGotEnv (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:202:4492)
at Object.get (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:202:5453)
at /ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:82:15
at new Promise ()
at takePostRequest (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:81:16)
at async run (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:56:9)
at async /ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:40:13 {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.17.1
`
The text was updated successfully, but these errors were encountered:
迁移到armv7架构的机器上后所有的js脚本都出现了这个问题
`
Error [ERR_REQUIRE_ESM]: require() of ES Module /root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/p-cancelable/index.js from /ql/data/scripts/node_modules/got/dist/source/create.js not supported.
Instead change the require of index.js in /ql/data/scripts/node_modules/got/dist/source/create.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/ql/data/scripts/node_modules/got/dist/source/create.js:14:24)
at Object. (/ql/data/scripts/node_modules/got/dist/source/index.js:14:18)
at Object.initGotEnv (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:202:4492)
at Object.get (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:202:5453)
at /ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:82:15
at new Promise ()
at takePostRequest (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:81:16)
at async run (/ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:56:9)
at async /ql/data/scripts/6dylan6_jdpro_main/jd_signbeanact.js:40:13 {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.17.1
`
The text was updated successfully, but these errors were encountered: