nrm安装后报错 require() of ES modules is not supported.

报错如下:

 

根据路径打开cli.js文件,第九行使用 open 的是CommonJs 规范的包,现在 open v9.0.0 是 ES Module 版本的包

解决方法:

npm install -g nrm [email protected] --save

猜你喜欢

转载自blog.csdn.net/hcb1998/article/details/130223799
今日推荐