damonwonghv / youtube-search-api

Get Youtube Search result without any login or api key
MIT License
86 stars 30 forks source link

SyntaxError #1

Closed GIOVANNI-75 closed 3 years ago

GIOVANNI-75 commented 3 years ago

Bonjour ! i have a SyntaxError: Unexpected token ' in JSON at position 1 . for info, i use this module on ios for a personal project, i already try it on android and it has no problem on ios this problem persists do you have any idea where it might come from? for more info : ExceptionsManager.js:179 SyntaxError: Unexpected token ' in JSON at position 1 at JSON.parse () at index.js:20 at tryCallOne (core.js:37) at core.js:123 at JSTimers.js:274 at _callTimer (JSTimers.js:130) at _callImmediatesPass (JSTimers.js:181) at MessageQueue.callImmediates [as _immediatesCallback] (JSTimers.js:441) at MessageQueue.__callImmediates (MessageQueue.js:387) at MessageQueue.js:135

damonwonghv commented 3 years ago

Bonjour !

i have a SyntaxError: Unexpected token ' in JSON at position 1 .

for info, i use this module on ios for a personal project, i already try it on android and it has no problem on ios this problem persists do you have any idea where it might come from?

for more info :

ExceptionsManager.js:179 SyntaxError: Unexpected token ' in JSON at position 1

at JSON.parse (<anonymous>)

at index.js:20

at tryCallOne (core.js:37)

at core.js:123

at JSTimers.js:274

at _callTimer (JSTimers.js:130)

at _callImmediatesPass (JSTimers.js:181)

at MessageQueue.callImmediates [as _immediatesCallback] (JSTimers.js:441)

at MessageQueue.__callImmediates (MessageQueue.js:387)

at MessageQueue.js:135

Which framework you use?

GIOVANNI-75 commented 3 years ago

I am using React-Native,the problem is just on IOS

damonwonghv commented 3 years ago

I am using React-Native,the problem is just on IOS Only tested on Node.js. Didn't work on native mobile. It suggested to host a Node.js server and write a API to call from the mobile. Hope it can help you.

GIOVANNI-75 commented 3 years ago

yes I do that while waiting to find a native solution, thank you for taking the time to answer me.