How to run the node.js file in net beans?

前端 未结 7 1521
再見小時候
再見小時候 2021-01-02 11:19

In net beans i have installed node.js pulgin.But my sample node program is not working.Im getting error. This is my sample code

    var http = require(\"http         


        
7条回答
  •  余生分开走
    2021-01-02 12:05

    Netbeans Node support does not appear quite ready for prime time. Problem: the "standard" (danielkec) Node plugin does not know about projects, so you will have to create a bogus (Html5??) project to use it. Problem2: Tim Boudreau's Node plugin does nicely with project creation and code completion but it has zero support for debugging (Tim prefers inserting print statements in the code). So at this point (Netbeans 8), I would not recommend Netbeans for Node.js work.

提交回复
热议问题