Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Problem with mysql, node.js , runing script

node.js mysql server script

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 rafalgrzywa

rafalgrzywa

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 27 October 2013 - 01:01 AM

Hello

 

I have problem, i cant run script server.js from

 https://github.com/k...aster/server.js

When i put " node server.js" i get

 

 

C:\mystalia\server.js:8
mysql = new Mysql();
        ^
TypeError: undefined is not a function
    at Object.<anonymous> (C:\mystalia\server.js:8:9)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
 

somebody can tell me how to run this server? there arent tutorial there

 


Edited by Roger, 27 October 2013 - 07:21 AM.
edited codetags


#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 27 October 2013 - 05:25 AM

Here is a tutorial for node.js with a great explanation on its overall works.

 

And here it is the mystalia installation guide



#3 rafalgrzywa

rafalgrzywa

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 27 October 2013 - 09:35 PM

"And here it is the mystalia installation guide" link not found -.-






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download