HallsNode Error
HallsNode Error
Hello Everyone,
When I start I get an error server.bat of app.js
There is something with row 3, also I change something with that line I still get an error.
Here is a screenshot of the error:
Sorry for my bad english I'm Dutch
When I start I get an error server.bat of app.js
There is something with row 3, also I change something with that line I still get an error.
Here is a screenshot of the error:
Sorry for my bad english I'm Dutch
Re: HallsNode Error
You may want to translate the error message, google translate gives me shit .
Re: HallsNode Error
The English translation of the error is:
Script: C:\xampp\htdocs\VILLAGEWORLD\node
Row: 3
Character: 1
Error: Object expected
Code: 800A138F
Source: Runtime Error Microsoft JScript
Script: C:\xampp\htdocs\VILLAGEWORLD\node
Row: 3
Character: 1
Error: Object expected
Code: 800A138F
Source: Runtime Error Microsoft JScript
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: HallsNode Error
You need to actually use the "node" command to run a node script. The way you entered it, Windows is trying to run the script itself, which is not what you want. Change the "/app.js" part to "/node app.js"
EDIT: Or in your case, open the .bat file and manually change the command there.
EDIT: Or in your case, open the .bat file and manually change the command there.
The indelible lord of tl;dr
Re: HallsNode Error
I have now this code:
C:\xampp\htdocs\VILLAGEWORLD\node app.js
But its just crashing (closing the bat file)
C:/xampp/htdocs/VILLAGEWORLD/node app.js
Does to not working
C:\xampp\htdocs\VILLAGEWORLD\node app.js
But its just crashing (closing the bat file)
C:/xampp/htdocs/VILLAGEWORLD/node app.js
Does to not working
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: HallsNode Error
Do you have node either in that directory or added to your system path? When you go into that folder on the command line and just type "node", do you get the node prompt?
The indelible lord of tl;dr
Re: HallsNode Error
You're running it wrong, I also think it's executing in the wrong environment.
try this
+R
(start -> run)
type in:
hit enter
paste:
hit enter
paste:
hit enter and watch it work
try this
+R
(start -> run)
type in:
Code: Select all
cmd
paste:
Code: Select all
cd C:\xampp\htdocs\VILLAGEWORLD\node
paste:
Code: Select all
node app.js
Fighting for peace is declaring war on war. If you want peace be peaceful.
Re: HallsNode Error
Thanks Chris its working now.
But i getting a another error, a screenshot:
But i getting a another error, a screenshot:
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: HallsNode Error
you need to get the branch or just download the latest nodejs code then copy it over the halls node. I need to fix the current code but someone fixed it in a branch.
Re: HallsNode Error
I've been searching hours for the source but can not find anything.