Closed mrluaf closed 4 years ago
Hello Lua,
@wildcard-api/sever
version are you using?Note these relevant changes made between wildcard-api@server@0.5.1
and wildcard-api@server@0.5.2
: https://github.com/reframejs/wildcard-api/commit/80c00cabefc9eda180454cf2214c791d0959c785
Pinning between 0.5.1
and 0.5.2
may solve your problem in the meantime.
Let me know if you are still running into this issue. Happy to help.
./vcb_modules/controller.js
server['laysaoke'] = async function (data) { return new Promise(async function(resolve, reject) { try { ..... } catch (err) { ..... } }); }
./main.js
require('./vcb_modules/controller');