Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

不支持nodejs v14 #817

Closed
wtto00 opened this issue Jun 9, 2020 · 3 comments
Closed

不支持nodejs v14 #817

wtto00 opened this issue Jun 9, 2020 · 3 comments

Comments

@wtto00
Copy link

wtto00 commented Jun 9, 2020

yarn add NeteaseCloudMusicApi

执行上述命令安装,会提示:

error apicache@1.5.3: The engine "node" is incompatible with this module. Expected version ">=6.2.0 <13". Got "14.2.0"

我本地的node环境是14.2.0版本。

@Binaryify
Copy link
Owner

Binaryify commented Jun 10, 2020

依赖的缓存库 apicache 不支持node13以上的版本,我看看能不能用别的替换掉吧,可以暂时用cnpm安装依赖绕过这个问题

Binaryify added a commit that referenced this issue Jun 10, 2020
@Binaryify
Copy link
Owner

已更新修复

@wtto00
Copy link
Author

wtto00 commented Jun 10, 2020

@Binaryify 哈哈,我换了一台电脑,现在用的是nodejs v10版本,然后安装提示又错误了。。。

error NeteaseCloudMusicApi@3.33.0: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.20.1"

我已经用nvm切换到12版本了。目前来看,安装没问题了

@wtto00 wtto00 closed this as completed Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants