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
iex(2)> Execjs.eval("const aaa = require('aaa')")
** (Execjs.RuntimeError) TypeError: require is not a function
lib/execjs.ex:90: Execjs.extract_result/1
lib/execjs.ex:55: Execjs.exec/1
The text was updated successfully, but these errors were encountered:
I see that require was intentionally set to undefined as a function argument. Why? I want to be able to require libraries/ JavaScript files I've created
The text was updated successfully, but these errors were encountered: