我通过 'npm install' 安装了Node.js模块,然后在命令提示符中尝试执行gulp sass-watch
。之后,我收到了以下反馈。
[18:18:32] Requiring external module babel-register
fs.js:27
const { Math, Object, Reflect } = primordials;
^
ReferenceError: primordials is not defined
我以前尝试过这个gulp sass-watch
命令:
npm -g install gulp-cli