Getting an error when reactively updating a component #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KaKi87/scraper-instagram-v1#5
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hi, thanks for the great plugin, it works great, but only on the first page load.
I'm trying to use it together with nuxt, put the code for getting photos in asyncData and everything works on the first page load, but when I go to another page I get the error
here is my code
after digging i found some strange, you use http.request wich get two arguments,
http.request = function (opts, cb) {}
but you pass three arguments url, headers, and callback
for some reason, headerss get into the callback
Hello,
Yes, the method can take two arguments
options
andcallback
, but it can also take three argumentsurl
,options
andcallback
, which I'm actually doing, see the documentation.Apparently, the error you're experiencing can happen when when using
on
mehods (fromEventEmitter
), which is strange because the three listeners I use (data
,end
anderror
) are indeed called with a function as second argument.Although, I'll continue investigating. In the meantime, do you think you could reproduce this bug outside of any framework so I can better understand it ?
Thanks.
Closing due to inactivity.