tjrgg / simple-youtube-api

A module to simplify the YouTube API.

Home Page:https://tjrgg.github.io/simple-youtube-api/master/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if (typeof key !== 'string') throw new Error('The YouTube API key you provided was not a string.');

Ahosall opened this issue · comments

commented

Hello hello I have an error on line 26, and I can't solve it already I tried to install past versions but it gives error too!

if (typeof key !== 'string') throw new Error('The YouTube API key you provided was not a string.');
^

Error: The YouTube API key you provided was not a string.

Ensure that the YouTube API key you are providing is a string.

commented

Okay, thanks I had forgotten to pass the key!