Jump to content

Hoser

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Hoser

  1. Try running it as an administrator.

    As for the second issue, are you talking about resources?  They have to go in the server directory, not rage MP base.

  2. Make sure you're in the right directory, right after you require mysql, try:

     

    mysql.exists('index.js', function(exists) { 
      if (exists) { 
        console.log("FOUND IT!");
      } 
    else {
        console.log("Mysql not found.");
    }); 

     

    • Like 1
  3. 3 minutes ago, Robson said:

    Hello mr pancakes already tried it before. Even not handling a error the step 3 would output anyway I think. Maybe theres something that I did miss on nodejs setup?

    Oh, you have to actually point to the mysql location, it's in node_modules by default.

     

    var mysql = require('../node_modules/mysql');
    

    (This is assuming you're in /packages)

×
×
  • Create New...