Node project generating error from rvm after_use hook

I have a node project that is generating an error from travis’ after_use rvm hook.

Both the cache.npm and install.npm steps’ output first line is:

/home/travis/.rvm/hooks/after_use: line 7: printf: 0-next: invalid number


Seeing the same thing, and I somehow suspect it has something to do with Travis trying to parse the npm version – which in my build is 6.5.0-next.0. fixes this.

1 Like