-
Notifications
You must be signed in to change notification settings - Fork 24
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
ReferenceError: webpackJsonP is not defined in main.min.js & vendor.min.js #2
Comments
@Whalehunter hey ill check and get back to you |
@Whalehunter i am unable to repro locally. are you able to provide more details? node version, building for dev or prod, etc. |
Turns out there are build errors. I hadn't noticed. I'll maybe try to solve it, maybe not, but this issue can be marked 'closed', since the posted problem is not the source, but just a symptom. Just fyi, here's the npm debug output. It seems like a gulp problem, but my experience with nodejs is limited.
Thanks for the time and attention |
Sounds similar to what others are facing on other projects. Eg olefredrik/FoundationPress#1011 U can try a few things:
Let me know if the stack traces change along the way. Good luck! |
Hello @lyzs90! I've got the same problem. Updated the node to I tried run Can you help us to use this SPA theme? |
@mfdeveloper browserrsync works for me. you can see that my request origin is on the other hand, i managed to repro @Whalehunter 's issue when i try to access |
@lyzs90 What is And about |
hey @mfdeveloper i just pushed a fix. the realized prerendering was broken too and fixed it at the same time 😅 |
it was gulp that was the culprit. it should be installed be installed globally with |
Thank you so much @lyzs90 for your help and attention. By now, the See the screenshot of the theme after enable from wp-admin: About the CORS using the theme outside wordpress with Line 79 in fcc42ff
|
@mfdeveloper you're almost there! For those 404 errors, can you check if you have content for pages and posts? WordPress should have installed with a few samples unless u deleted them. Also, have u enabled post type for permalinks? For background image, the theme expects you to upload an image with a slug named I mentioned these stuff briefly in the readme. Maybe it wasn't clear enough haha. As for the proxy code, I removed it because it was commented out and it never worked. So you're saying CORS errors persist when u |
Closing this issue since it seems to be resolved |
I get this error after following the instructions & enabling the vuewp theme. Is this something anyone has experienced, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: