Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: str.split is not a function #20

Open
calgara12 opened this issue Jun 9, 2017 · 3 comments
Open

TypeError: str.split is not a function #20

calgara12 opened this issue Jun 9, 2017 · 3 comments
Assignees
Labels

Comments

@calgara12
Copy link

I get this error and i don't know how to fix it.

TypeError: str.split is not a function
at splitBy (C:\Users\privat\Documents\GIT\MangaRD\node_modules\popura\lib\utils\index.js:103:20)
at convertFieldTypes (C:\Users\privat\Documents\GIT\MangaRD\node_modules\popura\lib\utils\convert-field-types.js:55:35)
at cleanApiData (C:\Users\privat\Documents\GIT\MangaRD\node_modules\popura\lib\utils\clean-api-data.js:33:39)
at process._tickCallback (internal/process/next_tick.js:109:7)

@lubien
Copy link
Owner

lubien commented Jun 9, 2017

Could you provide the code that errors or an example like it?

@calgara12
Copy link
Author

Of course. For explanation im trying to establish a Manga Database currently im trying to get all mangas from kissmanga. With your module i want to add additional information for the manga that hakuneko does not provide like score, image, description...
Im just starting to learn javascript and node js, if you need more just let me know. Thanks for your tool, and for your fast response.
capture

@lubien
Copy link
Owner

lubien commented Jun 16, 2017

Sorry for delaying my answer all this time, I'm working on a tight schedule here.

My library do lots of checks and transformations before I can give you an usable data from MAL.

When I read str.split is not a function most like there where a case I was expecting.

Sadly I wont find any time to look carefully onto this soon but your print will be useful.

One thing that could be helpful too is if you know exactly what entry had this error like "when I search for a manga with title 'something'".

@lubien lubien self-assigned this Jun 16, 2017
@lubien lubien added the bug label Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants