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
TypeError: localPage.waitForTimeout is not a function
at login (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:963:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async loadAccount (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:838:13)
at async upload (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:52:9)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError: localPage.waitForTimeout is not a function
at login (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:963:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async loadAccount (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:838:13)
at async upload (C:\Users\better\Desktop\Video Generator\node_modules\youtube-videos-uploader\dist\upload.js:52:9)
Node.js v20.11.0
I get this error here is my code:
const outputDir = './outputtemp';
const credentials = { email: '[email protected]', pass: 'pass' }
const onVideoUploadSuccess = (videoUrl) => {
console.log("working")
console.log(videoUrl)
}
const video1 = { path: `${outputDir}/video.mp4`, title: 'test', description: 'test', onSuccess:onVideoUploadSuccess }
upload (credentials, [video1], {headless:true}).then(console.log)
Same error with headless false if anyone was wondering!
The text was updated successfully, but these errors were encountered:
Same error with headless false if anyone was wondering!
The text was updated successfully, but these errors were encountered: