Getting an error when reactively updating a component #5
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: KaKi87/scraper-instagram-v1#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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
optionsandcallback, but it can also take three argumentsurl,optionsandcallback, which I'm actually doing, see the documentation.Apparently, the error you're experiencing can happen when when using
onmehods (fromEventEmitter), which is strange because the three listeners I use (data,endanderror) 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.