Vote count:
0
I am a novice in NodeJS and I am trying to start with express and express-generator. I have installed express with the command:
C:\project>npm install -g express
Then I've installed the express-generator module:
C:\project>npm install -g express-generator
Then I create a folder for the project and install de dependencies:
C:\project\express> nodetest1
C:\project\nodetest1>npm install
Everything works fine there, but the problem appears when I try to start the server, with the command:
C:\project\nodetest1>npm start
It seems that the service starts but it closes as soon as it starts, result:
> nodetest1@0.0.0 start C:\project\nodetest1
> node ./bin/www
C:\project\nodetest1>
When I try to open localhost:3000 it doesn't work. I have search on the net and I haven't found a solution for it, could someone guide me on how to solve this problem?
Thank you.
asked 34 secs ago
'npm start' with Express-Generator (NodeJS)
Aucun commentaire:
Enregistrer un commentaire