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

fail to execute example site #1

Closed
ghost opened this issue Nov 12, 2019 · 6 comments
Closed

fail to execute example site #1

ghost opened this issue Nov 12, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2019

when I execute the command "hugo server --themesDir ...." in the command line, the following error occurs, and I don't know how to solve it.
image

@fandean
Copy link
Contributor

fandean commented Nov 12, 2019

The 'zzo\exampleSite\content\posts\rich-content.md' file needs to be deleted.
It should be a network problem. https://api.instagram.com is not accessible in some countries, such as China.

@zzossig
Copy link
Owner

zzossig commented Nov 12, 2019

There are 2 error in the screen shot. One is instgram api call error and the other is mmark: failed. The mmark error will be fixed soon and since mmark error not gonna make a infinite loop, I suspect your api call may be the problem. As @fandean mentioned, It may be a network problem I think.

@ghost
Copy link
Author

ghost commented Nov 12, 2019

@fandean I delete the rich-content.md, and the exampleSite could work, but when I execute in the root of web, the following error occurs
image

@zzossig
Copy link
Owner

zzossig commented Nov 12, 2019

@CapMocha Ah Ok this error is caused by missing configuration params. This project is in very early stage and I’m actively update this repo. So this happened. I added couple of params to config/_default/params.toml so can you check the readme? Once you add missing params, that should work

@ghost
Copy link
Author

ghost commented Nov 13, 2019

@zzossig
I just do as the Readme.md to create the config folder in the root path, and create the _default folder in the config folder, and then create four separate config file just like the Readme.md, but the error still occur.
When I copy the config.toml in the the root/themes/zzo/exampleSite to the root/ and delete the root/config folder, it works, so I want to know if I want to set the multi language, I should write config in the root/config/_default folder, I want konw does this make an effect, does the root/config folder will shllow the root/config.toml in my case.

@zzossig
Copy link
Owner

zzossig commented Nov 13, 2019

It doen't matter if you have just one config file that contains all configurations. It's matter of preference. If that is works, then it's fine. But I prefer to separate config files. You can use root/config.toml.
And I'll take care the error above, that would never happen near future.
I admit that this theme quite unstable right now. But I'll make it stable until this weekend.
After that, you'd better to update the zzo theme.

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