gulp 打包错误 TypeError: Path must be string. Received undefined
Running gulp gives “path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path));”
百思不得其解,最后还是在万能的 stackoverflow 找到解决办法,特此记录一下
我的Node.js版本太高了,6.9.1,卸载后重新安装 4.2.4版本,npm,gulp,bower,yo等用到组件重新装一遍,执行 gulp serve:dist 成功