sol-journal icon indicating copy to clipboard operation
sol-journal copied to clipboard

Unable to build with npm version 7.4.0

Open cadojo opened this issue 4 years ago • 2 comments
trafficstars

Great work on this! I'm really new to node, so I'm hoping I'm not missing something obvious here. Following the readme, I (forked and) cloned the repo, and CD'd into sol-journal, and entered npm install. Doing so produces the following error.

node-gyp/15.6.0/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,

Is there a particular version of npm that's supported?

cadojo avatar Jan 18 '21 15:01 cadojo

Hey @cadojo! Sorry about that, my guess is the Node.js version will have to be greater than 8, but I'm on Node version 12.

I likely have some work to do to make sure dependencies are updated since it's been at least several weeks since I've updated them. I'll try and find what versions would be supported and update the README!

gillkyle avatar Jan 19 '21 16:01 gillkyle

Oh okay no worries, I didn't even realize 7.4 was an old version of Node. I just installed the default one with Homebrew. I'll install a newer version and report back if there are issues!

cadojo avatar Jan 19 '21 17:01 cadojo