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
wixEvents.queryEventsV2 is not a function #319
Comments
Hey @avoirsolutions, I just cloned the repo and ran it locally, and I'm not seeing an error. Can you add more information on how to reproduce? |
I cloned the repo and it runs fine but I can't get my events to display locally even after creating a Wix Headless project with Stores and Events app, and an OAuth app (which I used for my NEXT_PUBLIC_WIX_CLIENT_ID in my env.local). To try to find out why I couldn't see any events when loading my home page, I added a "console.log(e);" under the catch on the page.tsx as below: let events: wixEvents.Event[] = []; The error message in the terminal is: Any advice welcome. Thanks |
Did you install the repository with npm? try using There's an issue with the latest version of |
I was using The home page loads but obvioulsy no events are loaded. |
Just a quick update to confirm that it now works and my events load on the home page. Those are the steps I took (I use Visual Studio Code btw):
the only difference from what I did before is step 2. Thanks again @netanelgilad |
I am getting the following error and I am struggling to find the solution in the SDK documentation
TypeError: wixClient.wixEvents.queryEventsV2 is not a function
at Home (webpack-internal:///(rsc)/./app/page.tsx:26:45)
Has anyone come across this? Any pointers please?
Thanks
The text was updated successfully, but these errors were encountered: