-
Notifications
You must be signed in to change notification settings - Fork 685
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
Add a troubleshooting section. #101
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
This is great but I think the solution is a little too specific in terms of the approach - both in terms of how to install and how to run Hugo (I think being able to install the extended version hugo via npm is extremely new, and I think most users run I will definitely add installing Hugo via npm to the user guide, thanks for letting me know about that! |
# or... | ||
yarn add hugo-extended --dev | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think from this line down we've moved out of the realm of troubleshooting (or even anything Docsy-specific) and just telling users how to run hugo using npm and their package.json
file, which may not be the preferred approach of all our users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still very useful content though so I'm going to add it to our user guide rather than having it here.
README.md
Outdated
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): resource "scss/scss/main.scss_9fadf33d895a46083cdd64396b57ef68" not found in file cache | ||
``` | ||
|
||
To solve this error, first install `hugo-extended` as: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error occurs if you have not installed the extended version of Hugo. See our user guide for instructions on how to install Hugo.
See google/docsy#434 |
I see the PR merged. What happens to this one now? |
So the PR is in to the actual user guide for Docsy - I still think it's useful to have the troubleshooting info in the example site README as well, we can just cut it down a bit. So if you change line 111 as I suggested, then delete everything from there onwards, we can merge this in to the README. Sorry if that was confusing! |
Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): resource "scss/scss/main. Solution: install hugo-extended Signed-off-by: Gaurav Gahlot <[email protected]>
@LisaFC I think I messed up. I forgot to pull your commit and force pushed the branch. Sorry for the trouble. |
No problem! |
Description
The PR adds a troubleshooting section to the README.
It also adds a solution for the following commonly faced error:
I also logged an issue for the same problem: #100
Signed-off-by: Gaurav Gahlot [email protected]