execjs
execjs copied to clipboard
Undefined method encode !!
2.3.0 :004 > context = ExecJS.compile(source) NoMethodError: undefined method `encode' for #< ....
Hi guys I am using execjs 2.7.0 to compile a npm library. I am getting this error. The JavaScript code is pretty simple. Encode is defined in the execjs lib any ideas why this is happening ?