-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Export for core objects fails.
[ script:x] at new Framework2 (@template_app/dist/server.js:28237:51)
[ script:x] at @template_app/dist/server.js:32376:17
[ c-scripting-core] Failed to load script dist/server.js.
Here:
this.framework = exports["qb-core"]["GetCoreObject"]();
I think you need to save exports in some variable first, something like:
const exps = global.exports;
this.framework = exps["qb-core"]["GetCoreObject"]();
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working