Amila Iddamalgoda
Amila Iddamalgoda

Reputation: 4296

Node Js -Exception occurred executing command line

I have started a node js project and up to now I have included my html pages/css/etc in a folder named 'html'. I have npm- installed the relevat modules also. But some error message is displayed during the launch. plz help me out.Thnx

Project Hierarchy

enter image description here

squadra-server.njs

  var express = require('express');
    var app = express.createServer();
    app.get('/', function(req, res){
        res.send('Hello World');
    });
    app.configure(function () {
        app.use(express.static(__dirname + '/html'));
    })

    app.listen(8000);

error msg

enter image description here

Upvotes: 0

Views: 586

Answers (1)

hgoebl
hgoebl

Reputation: 13007

You have to configure the path to node.exe in your run configuration. Should not be much of a problem...

Upvotes: 1

Related Questions