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