-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problem scheduling events #4
Comments
Apologies for the issues you've faced. I cloned the project and fixed the issue. You can simply clone the repository and everything should be working smoothly |
To start with, I have to thank you for your amazing job on this calendar, keep up the good work! Second thing, I have to thank you for your polite and fast reply to my issue. All that being said, there are a few errors still popping up, I'll try to upload a screen capture of them just below: In case you can't see them good, because of the resolution of the image or some problem that might appear, I'll copy and paste them below as well: error 1: POST http://localhost:4001/schedule 500 (Internal Server Error) schedule:1 found in ---> at src/components/EventForm.vue error 3:
logError @ vue.runtime.esm.js?2b0e:1888 |
I think the issue here is that there was a non-JSON response from the server and we tried to convert it to JSON anyway. You can find the issue in line
So you can comment out that line, I'll do that myself too and also, try and investigate the issues you're having with the server; it seems it is returning a I'm happy to help if any other issues arise |
If there's a JSON error, i assume it must be on the stringify part involving the event in it. If so, how can i get the event stringified without using the JSON method? Because I can't just omit de code part of the event as it is an important part of the EventForm.vue file. Thanks a lot! I really appreciate your fast feedback and help! |
The |
This is good but can I see the network panel for the request made to the server. Or rather, you can log your response to the console. It seems there's an error something going on in your server |
Did you create a
|
Yes, I created the .env file and added my pusher account own values as you stated on the tutorial |
The error above is showing that the pusher key being loaded to is not a string, so maybe you can try logging the keys to console before using them. Just to ensure that the right values are being used. |
I've searched for all the errors that de network panel showed and I think that the error is about the req variable that we commented on the EventForm.vue spread onto some node_module folder files, should I just delete all the req variables I find in those files or something else? That string thing that you mentioned I think it's popping up the error because of what I just explained because everything is correctly settled at the .env file |
Okay, I think the easiest way to solve this is for me to see your current setup, do you have an active repository for this demo I can go through? Or are you willing to import the project to codesandbox so I can check it out? Any of these will work best to help resolve your issues |
Might be far fetched but please look at your
|
Shall I upload it to Google Drive so you can download it without any trouble? Send me an email to: [email protected] so I know your email privately and I shall send you the invitation to download it! |
The req variable in the EventForm.vue is still giving me errors because i don't use it... |
Hi!
I don't know why, but I've done everything on the GitHub instructions and apart from that I've also followed the instructions given on the Pusher website. But somehow I end up at the same point: the schedule button isn't working, so the events aren't displaying on the calendar.
Thanks in advance!
The text was updated successfully, but these errors were encountered: