phillip-shvartsman / cine2nerdle-bot

A chrome extension which play cine2nerdle battle for you using TMDB
2 stars 0 forks source link

Uncaught (in promise) TypeError #3

Open BigDawgJamal opened 4 months ago

BigDawgJamal commented 4 months ago

Hey!

Im rather new to anything coding so please forgive my probably obvious, unknowledgable, way that ill describe the issue.

I got the yarn installed, the package build, the extension working and then ran into an error:

"Uncaught (in promise) TypeError: Cannot convert undefined or null to object" The line it was referencing looks like this "delete first_result["adult"]". Its located in the dist/backgroundApp.js file.

Could you help me figure out how to solve the issue?

BigDawgJamal commented 4 months ago

Well ive given my best effort, and I cant for the life of me figure it out. And before you ask, yes, I did use the API Read Access Token. I wouldnt put it past me to be missing something. It does feel like it would be a problem with the API key though. Maybe I really am doing something wrong with it. Im not supposed to put it into a js. file or something like that right?