Uncaught (in promise) TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Closed this issue · 1 comments
codevski commented
Hello,
Not sure what's the best structure to post issues here but I seem to be getting this error no matter which example I use (with or without login).
Uncaught (in promise) TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at push../node_modules/stream-http/lib/request.js.module.exports.<anonymous> (util.js:33)
at push../node_modules/stream-http/lib/request.js.module.exports.emit (events.js:136)
at push../node_modules/stream-http/lib/request.js.module.exports.push../node_modules/stream-http/lib/request.js.ClientRequest._connect (request.js:260)
at request.js:159
using this example in my code:
const api = require("mangadex-full-api");
var manga = new api.Manga(17838);
manga.fill().then(()=>{
console.log(`${manga.title} by ${manga.authors.join(", ")}`);
});
am I using the package correctly?
md-y commented
I am unable to replicate the error on version 3.2.0 or 3.3.0. The package may be conflicting with another package, or the error is originating from another package.
Reply with more information if the error persists, but for now I'll close this issue.