用npm下载使用semantic的问题解决:Failed at the [email protected] install script.

1.在项目中用npm下载semantic时会报如下错误:

Failed at the [email protected] install script.

2.这是因为gulp和nodejs的版本不兼容

3.方案:

通过nvm管理nodejs的版本,gulp的版本不用关心,将nodejs的版本降到10.11.0就可以了

nvm的下载安装和使用参考:https://www.jb51.net/article/202124.htm
本文参考:https://blog.csdn.net/ljt_code67/article/details/108913722

猜你喜欢

转载自blog.csdn.net/weixin_45543674/article/details/115414545
今日推荐