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

前端 未结 6 789
不知归路
不知归路 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条回答
  •  梦毁少年i
    2020-12-31 04:41

    In Windows:

    • Install node.js
    • Go to Control Panel - System and Security - System - Advanced system settings
    • Click Environment Variables...
    • Search in System variables for SBT_OPTS
      • If such exists, click Edit... and concatenate -Dsbt.jse.engineType=Node to Variable value
      • If such does NOT exist, click New... and write SBT_OPTS to Variable name and -Dsbt.jse.engineType=Node to Variable value
    • Click OK - OK - OK
    • Restart any command prompt (cmd, PowerShell) that is currently running Play Framework

提交回复
热议问题