×

Cannot find module './ql' Require stack: - /ql/data/scripts/shufflewzc_faker2/jd_DailyBonus_Mod.js

hqy hqy 发表于2022-11-28 11:36:25 浏览1196 评论0

抢沙发发表评论

青龙脚本提示错误,非常烦的事情,

Cannot find module './ql' Require stack: - /ql/data/scripts/shufflewzc_faker2/jd_DailyBonus_Mod.js


image.png

百度几圈都没解决方法,我这里随机应变,去js脚本作者的git看看,搜索ql,搜索到这个 ql.js

image.png

对比目录下,没有

image.png

那就wget下来


root@Qinglong:/ql/data/scripts/shufflewzc_faker2 $ wget https://ghproxy.com/https://github.com/shufflewzc/faker2/blob/main/ql.js

--2022-11-28 11:35:58--  https://ghproxy.com/https://github.com/shufflewzc/faker2/blob/main/ql.js

Resolving ghproxy.com (ghproxy.com)... 138.2.88.86

Connecting to ghproxy.com (ghproxy.com)|138.2.88.86|:443... connected.

HTTP request sent, awaiting response... 302 FOUND

Location: https://ghproxy.com/https://raw.githubusercontent.com/shufflewzc/faker2/main/ql.js [following]

--2022-11-28 11:35:59--  https://ghproxy.com/https://raw.githubusercontent.com/shufflewzc/faker2/main/ql.js

Reusing existing connection to ghproxy.com:443.

HTTP request sent, awaiting response... 200 OK

Length: 4809 (4.7K) [text/plain]

Saving to: 'ql.js'


ql.js                                 100%[======================================================================>]   4.70K  --.-KB/s    in 0s      


2022-11-28 11:36:00 (443 MB/s) - 'ql.js' saved [4809/4809]


就可以跑起来了

image.png

 您阅读本篇文章共花了: 

打赏

本文链接:https://kinber.cn/post/3109.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

群贤毕至

访客