Calling Node.js script from Rails app using ExecJS

后端 未结 4 596
遥遥无期
遥遥无期 2021-01-04 11:57

I have a Rails application that needs to run a node script. I imagine that using the ExecJS gem is the cleanest way to run JavaScript from a Rails app. However, so far, Exec

4条回答
  •  庸人自扰
    2021-01-04 12:37

    Get rid of ExecJS and anything that depends on ExecJS. I tried all the other suggestions, but this actually fixed it.

    ES6 has been around since 2015. Any tool worth using supports it by now. MICROSOFT EDGE supports it by now. Seriously.

提交回复
热议问题