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

Unable to render index error #15

Open
5c0rp1 opened this issue Mar 10, 2020 · 3 comments
Open

Unable to render index error #15

5c0rp1 opened this issue Mar 10, 2020 · 3 comments

Comments

@5c0rp1
Copy link

5c0rp1 commented Mar 10, 2020

Hi,
I try to upload the angular-xo-material theme to wordpress, but I always get the "Unable to render index" error. I did these steps:

  1. I downloaded the theme from your page, and I built it with ng build. After I tried with npm install --> npm build. Effect is the same.
  2. Uploaded to the server via ftp
  3. Theme activation within wp
  4. Set the "Redirect mode" to Live. This is ended with the "unable to render index error".

In an another thread I red that I need Advanced Custom Fields plugin to make theme works. I tried with this, but I got fatal error.

Could you help me?

@drewswanner
Copy link

@5c0rp1 Not sure if this maters anymore but that error is that The plugin can't find the "Dist Index" which is defined in the Xo Index settings page. Basically the theme your using doesn't have that folder in it. I am just trying to get this running and found the same issue.

@WarriorRocker
Copy link
Owner

@drewswanner, I haven't been as active with this project for the past while. I am testing a new version of the Xo plugin for wordpress itself at https://github.com/WarriorRocker/angular-xo-core/tree/release-2.0.0 in order to support newer angular releases. The theme itself will need some new updates, the purpose of this particular theme is really as a demonstration. This is why it ships without the dist folder by design is that it should be adapted for the needs of your particular project.

That being said, this theme and the plugin should be receiving some fairly large updates soon.

As @drewswanner mentioned, the error above is because the /dist/index.html can't be found. Most likely the Dist Index setting is incorrect, it is relative to the current theme folder.

@drewswanner
Copy link

drewswanner commented Oct 2, 2022 via email

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

3 participants