You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: 'clientAccessToken' cannot be empty.
at createApplicationNew (C:\Users\Mutaz Maiitah\Desktop\discord-ai-bot\node_modules\apiai\module\apiai.js:73:15)
at createApplication (C:\Users\Mutaz Maiitah\Desktop\discord-ai-bot\node_modules\apiai\module\apiai.js:96:37)
at Object. (C:\Users\Mutaz Maiitah\Desktop\discord-ai-bot\main.js:1:94)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
PS C:\Users\Mutaz Maiitah\Desktop\discord-ai-bot>
I am getting the below error when running the application
node_modules\apiai\module\apiai.js:73
throw new Error(''clientAccessToken' cannot be empty.');
I have commented the below code block in apiai.js and it is now working fine.
/* if (!clientAccessToken) {
throw new Error(''clientAccessToken' cannot be empty.');
}?*/
Any workaround for this?
The text was updated successfully, but these errors were encountered: