Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python - Node.js (V8) runtime is not available on this system

I'm getting the following error when trying to use ExecJS:

execjs.RuntimeUnavailable: Node.js (V8) runtime is not available on this system

I have node.js installed on my machine (Ubuntu 14.04). Which Node outputs /usr/bin/node

Any ideas?

like image 592
Ricky Barnett Avatar asked Aug 13 '15 14:08

Ricky Barnett


2 Answers

Have you seen this similar issue

They resolve the problem by linking node under /usr/local/bin/node

ln -s /usr/local/bin/node /usr/bin/node
like image 62
kmandov Avatar answered Sep 23 '22 14:09

kmandov


Hello I've had the same issue before and this solved it:

Node.js not found by Rails / execjs

like image 26
hamza Avatar answered Sep 21 '22 14:09

hamza