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
i got this error: SyntaxError: Error parsing /home/runner/Youtube-transcript/package.json: Unexpected non-whitespace character after JSON at position 168
node:internal/modules/package_json_reader:93
throw error;
^
SyntaxError: Error parsing /home/runner/Youtube-transcript/package.json: Unexpected non-whitespace character after JSON at position 168
at parse (<anonymous>)
at read (node:internal/modules/package_json_reader:80:16)
at readPackage (node:internal/modules/package_json_reader:141:10)
at readPackageScope (node:internal/modules/package_json_reader:164:19)
at shouldUseESMLoader (node:internal/modules/run_main:72:15)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:129:24)
at node:internal/main/run_main_module:28:49 {
path: '/home/runner/Youtube-transcript/package.json'
}
Node.js v20.11.1
import { YoutubeTranscript } from 'youtube-transcript';
// URL OR ID OF THE VIDEO
YoutubeTranscript.fetchTranscript('https://www.youtube.com/watch?v=ZdrZf4lQTSg').then(console.log);
The text was updated successfully, but these errors were encountered:
i got this error:
SyntaxError: Error parsing /home/runner/Youtube-transcript/package.json: Unexpected non-whitespace character after JSON at position 168
package.json
index.js
The text was updated successfully, but these errors were encountered: