Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine

前端 未结 6 820
不知归路
不知归路 2020-12-31 03:44

I\'m new to Play framework. Please explain the meaning of the below warning.

Warning: node.js detection failed, sbt will use the Rhino based Trireme J

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 04:44

    You need to install Node.js and then tell the sbt/java engine to use it.

      brew install node
    

    Edit .bash_profile and add:

       export SBT_OPTS="${SBT_OPTS} -Dsbt.jse.engineType=Node -Dsbt.jse.command=$(which node)"
    

    This eliminated the warning for me on OSX

提交回复
热议问题