I have node.js api project that was working quite fine with node.js v8.1.4 & npm v5.0.3 but as I moved to node.js v10.0.0 & npm v5.6.0, it is yielding this:
[email protected] ecosystem E:\opensource\node-cheat\core-api gulp compile && pm2 start ecosystem.config.js | bunyan
gulp[11100]: src\node_contextify.cc:631: 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: 000000E5F6F84281 npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! [email protected] ecosystem:gulp compile && pm2 start ecosystem.config.js | bunyan` npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the [email protected] ecosystem script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\zeeshan\AppData\Roaming\npm-cache_logs\2018-05-06T11_29_32_241Z-debug.log
how this can be fixed?
Alright, it is already faced by many Github Link
Solution 1:
npm update
npm rebuild
Solution 2:
delete node_modules and package-lock.json
npm i
Update: For me later worked smoothly.
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