-
Node Sass version 7.0.1 is incompatible with ^4.0.0.
执行npm install 控制台报 Node Sass version 7.0.1 is incompatible with ^4.0.0.
原因说是node-sass与环境不匹配。1. 首先卸载原来安装的node-sass => yarn remove node-sass // 如果使用的是npm,则 => npm uninstall node-sass 2. 然后安装sass,而不要安装`node-sass` yarn add -D sass 3. yarn serve 启动一切正常
2、gyp ERR! stack Error: Could not find any Python installation to use
解决方法
npm i -g node-gyp