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

webpack and node #108

Open
brucemcpherson opened this issue May 12, 2019 · 2 comments
Open

webpack and node #108

brucemcpherson opened this issue May 12, 2019 · 2 comments

Comments

@brucemcpherson
Copy link

I'm trying to use the node library with vuejs-cli (and webpack), and started off with authentication. But I hit some strange errors in the console related to react(which Im not using) and referencing a video(which I dont own), but passing my redirect parameters to it.

Just wondered, before I spend any more time on it, does this library work client side? (Aside from throwing this error, It did show the consent screen and return the code btw)

global_legacy_combined.min.js?99588c53:14 Uncaught ReferenceError: React is not defined
    at Object.<anonymous> (global_legacy_combined.min.js?99588c53:14)
    at n (global_legacy_combined.min.js?99588c53:14)
    at Object.<anonymous> (global_legacy_combined.min.js?99588c53:15)
    at n (global_legacy_combined.min.js?99588c53:14)
    at Object.<anonymous> (global_legacy_combined.min.js?99588c53:15)
    at n (global_legacy_combined.min.js?99588c53:14)
    at Object.<anonymous> (global_legacy_combined.min.js?99588c53:15)
    at n (global_legacy_combined.min.js?99588c53:14)
    at global_legacy_combined.min.js?99588c53:14
    at global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:14
n @ global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:15
n @ global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:15
n @ global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:15
n @ global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:14
(anonymous) @ global_legacy_combined.min.js?99588c53:14
activity_topnav.bundle.min.js?8fe7b284:6 GET https://api.vimeo.com/activity/json?count=5 404 (Not Found)
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
i @ activity_topnav.bundle.min.js?8fe7b284:6
a @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
fetchOlderActivities @ activity_topnav.bundle.min.js?8fe7b284:6
value @ activity_topnav.bundle.min.js?8fe7b284:6
e.notifyAll @ react_prod_combined.min.js?f57646b3:2
close @ react_prod_combined.min.js?f57646b3:4
closeAll @ react_prod_combined.min.js?f57646b3:5
perform @ react_prod_combined.min.js?f57646b3:5
s @ react_prod_combined.min.js?f57646b3:4
perform @ react_prod_combined.min.js?f57646b3:5
batchedUpdates @ react_prod_combined.min.js?f57646b3:4
i @ react_prod_combined.min.js?f57646b3:4
_renderNewRootComponent @ react_prod_combined.min.js?f57646b3:4
_renderSubtreeIntoContainer @ react_prod_combined.min.js?f57646b3:4
render @ react_prod_combined.min.js?f57646b3:4
h @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
n @ activity_topnav.bundle.min.js?8fe7b284:1
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:1
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:1
activity_topnav.bundle.min.js?8fe7b284:6 Uncaught (in promise) TypeError: Cannot read property 'filter' of undefined
    at p (activity_topnav.bundle.min.js?8fe7b284:6)
    at activity_topnav.bundle.min.js?8fe7b284:6
    at t.a (activity_topnav.bundle.min.js?8fe7b284:6)
    at g (activity_topnav.bundle.min.js?8fe7b284:6)
    at activity_topnav.bundle.min.js?8fe7b284:6
    at dispatch (activity_topnav.bundle.min.js?8fe7b284:6)
    at activity_topnav.bundle.min.js?8fe7b284:6
p @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
t.a @ activity_topnav.bundle.min.js?8fe7b284:6
g @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
dispatch @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
Promise.then (async)
value @ activity_topnav.bundle.min.js?8fe7b284:6
e.notifyAll @ react_prod_combined.min.js?f57646b3:2
close @ react_prod_combined.min.js?f57646b3:4
closeAll @ react_prod_combined.min.js?f57646b3:5
perform @ react_prod_combined.min.js?f57646b3:5
s @ react_prod_combined.min.js?f57646b3:4
perform @ react_prod_combined.min.js?f57646b3:5
batchedUpdates @ react_prod_combined.min.js?f57646b3:4
i @ react_prod_combined.min.js?f57646b3:4
_renderNewRootComponent @ react_prod_combined.min.js?f57646b3:4
_renderSubtreeIntoContainer @ react_prod_combined.min.js?f57646b3:4
render @ react_prod_combined.min.js?f57646b3:4
h @ activity_topnav.bundle.min.js?8fe7b284:6
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:6
n @ activity_topnav.bundle.min.js?8fe7b284:1
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:1
(anonymous) @ activity_topnav.bundle.min.js?8fe7b284:1
global_legacy_combined.min.js?99588c53:12 POST https://api.vimeo.com/ablincoln/fatal_attraction?type=pageview&target=%2Foauth%2Fauthorize%3Fresponse_type%3Dcode%26client_id%3D9619cde3ff2f2b9f65be63a6f976bdd20956e322%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fvimeo-redirect%26scope%3Dpublic%2520private%26state%3Dabc 404 (Not Found)
@mandeldl
Copy link

Can you share some of the code you are using and/or what endpoint you are hitting to get these errors?

@brucemcpherson
Copy link
Author

Actually this error is not from any of my pages, but from your consent page. So it doesnt affect my app at all (which is working fine). Just for your info that there's something wrong there.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants