报错信息:
gulp build-md5
fs.js:35
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (/Users/gavin/workspace/fs/app/train/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/gavin/workspace/fs/app/train/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/Users/gavin/workspace/fs/app/train/node_modules/gulp/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
解决:将node版本降低到6.7.0