I want to install a node module. I install node.tcz, then I go to install the node module, and I get this:
Error: Cannot find module 'npmlog'
I google that, and apparently it's an error with older versions of node. All I have to do is install a new version. So I download the source and ./configure, make, and I get this:
Build issue error: '__builtin_isnan' is not a member of 'std'
This is weird, because it looks like people were having this error more than ten years ago, but the tce version of gcc is just a few months old. Apparently I have to modify the source code, or install a patch, but I can't figure out where that patch is, or even if a patch from ten years ago will solve the problem I'm having today.
What's the easiest way for me to get my module installed? I don't really care if gcc works in the future, because I don't plan on keeping it when I remaster. I'm just using it to create a tcz of working node + module that I can use for the remaster, and then I'm done with gcc.