You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nan.h:318:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ #414
I speculate that the debian-packaged node is missing the REPLACE_INVALID_UTF8 patch from v0.10.29 (nodejs/node@881ac26). I suggest you ping the debian package maintainers about that. Maybe cc the maintainers of the libv8 package as well.
@dandart I had the same issue on debian. It's not the node version, but the node-gyp that comes with npm 1.4.21.
Try upgrading to a newer version of node-gyp.
I just did a "npm -g install npm" to upgrade the debian's npm to npm's npm and that presumably included node-gyp and that fixed it so thanks...
however I'm getting other weird errors relating to node-stringprep which I'm not sure are related, but I can install node-stringprep on its own weirdly.
I just did a "npm -g install npm" to upgrade the debian's npm to npm's npm and that presumably included node-gyp and that fixed it so thanks...
Thanks, it works also fine to me
Yes thank you that did work I am getting the information correctly now. I just have one more question is there a way to get the UUID and Major and Minor using Noble?
Raspberry Pi 3 checking in... just using sudo npm -g install npm didn't work but adding node-gyp did the trick
$ sudo npm -g install npm node-gyp
Reacted by Philip Howard, benjaminh, derekhardwick, Gordon Williams, Jeff, Raphael Derosso Pereira, Moonvader, Patrick Stegmann, David Martínez, Golets Alexey and 1 more
Activity
kkoopa commentedon Aug 13, 2015
You're using the wrong headers somehow. The headers for 0.10.38 include
REPLACE_INVALID_UTF8
https://github.com/joyent/node/blob/v0.10.38/deps/v8/include/v8.h#L1083
On Thursday 13 August 2015 02:48:29 Dan Dart wrote:
bnoordhuis commentedon Aug 13, 2015
I speculate that the debian-packaged node is missing the REPLACE_INVALID_UTF8 patch from v0.10.29 (nodejs/node@881ac26). I suggest you ping the debian package maintainers about that. Maybe cc the maintainers of the libv8 package as well.
kkoopa commentedon Aug 13, 2015
Install the Nodesource build instead. https://github.com/nodesource/distributions
rmoetwil commentedon Aug 17, 2015
@dandart I had the same issue on debian. It's not the node version, but the node-gyp that comes with npm 1.4.21.
Try upgrading to a newer version of node-gyp.
emberdart commentedon Aug 17, 2015
I just did a "npm -g install npm" to upgrade the debian's npm to npm's npm and that presumably included node-gyp and that fixed it so thanks...
however I'm getting other weird errors relating to node-stringprep which I'm not sure are related, but I can install node-stringprep on its own weirdly.
emberdart commentedon Aug 17, 2015
never mind - the stringprep bug turned out to be that I didn't have libicu-dev
Everything's fine now, thanks for your help
neilhhw commentedon Dec 15, 2015
I just did a "npm -g install npm" to upgrade the debian's npm to npm's npm and that presumably included node-gyp and that fixed it so thanks...
Thanks, it works also fine to me
easonzhou commentedon Feb 26, 2016
"npm -g install npm" works for me, too. :-)
tmorford commentedon Mar 4, 2016
Yes thank you that did work I am getting the information correctly now. I just have one more question is there a way to get the UUID and Major and Minor using Noble?
realAkhmed commentedon May 31, 2016
Raspberry Pi 3 checking in... just using
sudo npm -g install npmdidn't work but addingnode-gypdid the trickech0s7r commentedon Mar 30, 2018
Update nodejs to the latest version will fix the issue.