小编Hea*_*ang的帖子

events.js:160 throw er; //未处理的'错误'事件

我工作的项目是用gulp构建的.

最近我将节点版本更新到v6.3.1.然后出了点问题.

名为"html"的任务会引发错误.这是它的错误代码的一部分.

bogon:toClient work$ gulp html
(node:2519) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

[10:26:10] Using gulpfile ~/Project/TIME_Cancer_Treatment_Centers_of_America(CTCA)/toClient/gulpfile.js
[10:26:10] Starting 'html'...
(node:2519) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: CSS parse error scripts/vendor.js: Unexpected input
    1 |!function(t,e){"object"==typeof module&&"object"==typeof …
Run Code Online (Sandbox Code Playgroud)

javascript node.js node-modules gulp gulp-load-plugins

25
推荐指数
3
解决办法
5万
查看次数