Skip to content

TypeError: callback is not a function #2

Description

@adefirmanf

is this package still maintenance? I got an error like this
TypeError: callback is not a function

This is my code :
let sql = config.database.name;
let sqlFile = __dirname + '/mysql/app.sql'
execsql.config(DB_Config)
.exec(sql)
.execFile(sqlFile, (err, results)=>{
console.log(results)
}).end()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions