NeteaseCloudMusicApi
NeteaseCloudMusicApi copied to clipboard
无法运行,Cannot find module '/home/kali/netease/NeteaseCloudMusicApi/node_modules/asynckit/index.js'. Please verify that the package.json has a valid "main" entry
环境
-
系统/平台: Android13 X86 with termux and kali proot
-
nodejs 版本: 21.1.0
-
API版本: 4.13.8
出现问题
clone项目后,npm i更新package后npm install,一切正常,运行报错:Cannot find module '/home/kali/netease/NeteaseCloudMusicApi/node_modules/asynckit/index.js'. Please verify that the package.json has a valid "main" entry 换cnpm也不可以
重现步骤
clone项目 安装node 更新包 npm install 运行报错
期待效果
无
维护项目都是业余时间,精力有限,我只能挑容易解决的issues处理,为了节约双方时间,请尽可能提供足够的有用的信息,给的信息不够我只能根据精力和时间看情况处理,如果模板信息看都不看就删掉,我不会进行任何回复,并且一个月后close掉issue
先看文档有没有相关说明,调用前须知必看,确认看完了调用前须知再发 issues
先在 issues 搜一下是否有相似问题,没有再发,否则直接关闭
不处理别人搭建的线上服务的问题,此项目不提供任何线上服务,请自行搭建
重现步骤尽量详细,不能含糊不清,包含请求地址和对应参数以及操作过程描述,不是每个人都喜欢猜别人遇到了什么问题和找参数一个个试,也比较浪费时间
如果不是提建议,提 issues 如果不照着模版来将不会优先处理或放着不管
460 cheating 的问题把
utils/request.js
里面的headers['X-Real-IP']
的注释取消掉就好
遇到了相同的问题,顶一个
我也是这样
你试试node版本升级一下我觉得有可能是因为这个,然后用cnpm替代npm试试
发送自我的盖乐世
-------- 原始信息 -------- 发件人: OguriCapOwO @.> 日期: 2023/11/26 16:06 (GMT+08:00) 收件人: Binaryify/NeteaseCloudMusicApi @.> 抄送: Steve @.>, Author @.> 主题: Re: [Binaryify/NeteaseCloudMusicApi] 无法运行,Cannot find module '/home/kali/netease/NeteaseCloudMusicApi/node_modules/asynckit/index.js'. Please verify that the package.json has a valid "main" entry (Issue #1834)
我也是这样
― Reply to this email directly, view it on GitHubhttps://github.com/Binaryify/NeteaseCloudMusicApi/issues/1834#issuecomment-1826717423, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWBLNCHKWAHAAFYTPACPD53YGL2BZAVCNFSM6AAAAAA6UARLHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWG4YTONBSGM. You are receiving this because you authored the thread.Message ID: @.***>