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

前端 未结 6 817
不知归路
不知归路 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:35

    in ubuntu

    curl -sL https://deb.nodesource.com/setup | sudo bash -
    
    sudo apt-get install -y nodejs
    

    then add as above to your .profile in your home directory

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

    then

     . ./.profile 
    

    to reload your .profile

    For a more flexible install using node version manager check the following tutorial: how to install node js on an ubuntu 14.04 server

    Build again and the warning about using the Trireme stuff should be gone.

提交回复
热议问题