neunode icon indicating copy to clipboard operation
neunode copied to clipboard

How to add other JS ?

Open TheMrugraj opened this issue 9 years ago • 0 comments

I am trying to Add Express.JS as well as EJS module into this one, Is there any way? Because If trying to do so, I am getting error like,

2015-06-09 16:15:40.656 neunode[4920:117697] *** ALERT *** No module named fs 2015-06-09 16:15:40.657 neunode[4920:117697] *** ALERT *** No module named types.json 2015-06-09 16:15:40.660 neunode[4920:117697] *** ALERT *** No module named mime 2015-06-09 16:15:40.661 neunode[4920:117697] *** ALERT *** No module named express

Here I have added Express.js into Bundle, and have updated the hello.js as below.

var express=require('express'); var app=express(); var server=app.listen(3000,function(){ console.log("Express is running on port 3000"); });

TheMrugraj avatar Jun 09 '15 10:06 TheMrugraj