I recently updated my nodejs version to 10.30.0. Everything works fine. But my gulp build task not working which was working fine on older version(9.X). This is what I am getting.
gulp[11376]: src\node_contextify.cc:629: Assertion `args[1]->IsString()' failed.
1: node::DecodeWrite
2: node::DecodeWrite
3: uv_loop_fork
4: v8::internal::interpreter::BytecodeDecoder::Decode
5: v8::internal::RegExpImpl::Exec
6: v8::internal::RegExpImpl::Exec
7: v8::internal::RegExpImpl::Exec
8: 00000384E1284281
Somebody, please help me.
Just run command
npm install natives
I have had two different solutions work in two different workspaces. The first after updating to node 10.6.0 required me to use this method:
$rm -rf node_modules
$rm -rf package-lock.json
$npm cache clean
$npm install
The second workspace wouldn't work with the above, though I did try it first, it required me to reinstall all my gulp dependencies then run npm audit fix. For example:
$npm install --dev gulp gulp-sass gulp-autoprefixer
$npm audit fix
Hope this helps someone.
node version compatible problem, try use node version<=9.11.2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With