-
Notifications
You must be signed in to change notification settings - Fork 1
LocalClient login fails #1
Copy link
Copy link
Open
Description
I installed this repo as an npm package and got this error when trying to login
const { LocalClient } = require('valorant-api');
const client = new LocalClient();
client.init('na').then(async () => {
await client.login('username', 'password')
});Uncaught:
Error: TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at LocalClient.fetch (C:\Users\James\Documents\NodeProjects\oen-valorant-bot\node_modules\valorant-api\src\GenericClient.js:70:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async LocalClient.login (C:\Users\James\Documents\NodeProjects\oen-valorant-bot\node_modules\valorant-api\src\LocalClient.js:72:12)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels