Gulp reported an error

gulp [11720]: srcnode_contextify.cc:631: Assertion `args [1]-> IsString () "failed.

Mar.06,2021

has found the reason: if this happens after node upgrades to 10.0.0, you can roll back the version


1.npm rm-g gulp
2.npm install-g gulp-cli
3.npm install-- save-dev gulp@next

ok, kill 3.9.1

C:/myprojectfolder > gulp-v
[21:03:13] CLI version 1.3.0
[21:03:13] Local version 4.0.0


https://stackoverflow.com/que.

https://davidsekar.com/nodejs.


rm -fr node_modules
rm -fr package-lock.json
npm cache clean --force
npm install

has been tested. Is it valid?

Menu