gruntjs / grunt-cli

Grunt's command line interface.
http://gruntjs.com/
MIT License
706 stars 248 forks source link

grunt not working on nodejs v10.6.0 #119

Closed binbin666 closed 6 years ago

binbin666 commented 6 years ago

I upgraded my nodejs to latest version, but something error occur, anyone who can help me? Looking for some help, if not I'm going to downgrade my nodejs :(

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>grunt --version
grunt-cli v1.2.0
grunt v1.0.3

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>node -v
v10.6.0

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>npm -v
6.1.0

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>grunt tmod
grunt[26940]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
 1: 00007FF77F2782F5
 2: 00007FF77F254156
 3: 00007FF77F254221
 4: 00007FF77F22A69A
 5: 00007FF77F875EB2
 6: 00007FF77F877008
 7: 00007FF77F87636D
 8: 00007FF77F87628B
 9: 0000021586B841C1
binbin666 commented 6 years ago

Just fix it by delete the node_modules folder and then reinstall node modules, grunt works as well in nodejs v10.6.0, maybe my modules have something bugs :)