Comments (11)
I also got the Failed to extract shortcode
issue, but hugo mod clean --all
did fix it for me.
from docsy-example.
im being an idiot - I didnt do a subclone..
from docsy-example.
@khareyash05 Below command should help you.
git clone https://github.com/google/docsy-example docsy --recursive
cd docsy
hugo serve
from docsy-example.
Hi deining, thank you for your suggestion. Unfortunately, the result is still the same.
MacBook-Air-Early-2015:docsy takeyuki$ npm install up to date, audited 205 packages in 3s 53 packages are looking for funding run `npm fund` for details found 0 vulnerabilities MacBook-Air-Early-2015:docsy takeyuki$ hugo serve Built in 40 ms Error: Error building site: "/Volumes/devtmp/MyHugo/docsy/content/en/_index.md:5:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
What version of hugo you are using? Your version of Hugo must be v0.110.0 or above. See the section Troubleshooting in the README.md of the project.
from docsy-example.
Hey @willwade Could you pls help me with this I am getting the same error
from docsy-example.
It works fine for me. After doing a cd
into the repo, make sure that you first run npm install
.
from docsy-example.
I'm seeing this. I got my site configured, up and running a few days ago and then it stopped working a few days later. Like this ticket, I see:
hugo v0.103.1-b665f1e8f16bf043b9d3c087a60866159d71b48d+extended darwin/arm64 BuildDate=2022-09-18T13:19:01Z VendorInfo=gohugoio
Error: Error building site: "path_to_repo/content/_index.html:7:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
And like google/docsy#805 I got an error about print
format being unrecognised, which I 'fixed' by removing that from the toml file. I tried removing the temp dir per that ticket, no dice.
Here's another example google/docsy#986 but hugo mod clean --all
doesn't fix it for me.
This feels like it's an intermittent problem, though I have no idea what the cause is.
from docsy-example.
@khareyash05 Below command should help you.
git clone https://github.com/google/docsy-example docsy --recursive cd docsy hugo serve
Hello, I'm new to docsy and the issue is not fixed with --recursive
as follows:
MacBook-Air-Early-2015:MyHugo takeyuki$ git clone https://github.com/google/docsy-example docsy --recursive
Cloning into 'docsy'...
remote: Enumerating objects: 1565, done.
remote: Counting objects: 100% (150/150), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 1565 (delta 60), reused 118 (delta 46), pack-reused 1415
Receiving objects: 100% (1565/1565), 2.61 MiB | 5.48 MiB/s, done.
Resolving deltas: 100% (762/762), done.
MacBook-Air-Early-2015:MyHugo takeyuki$ cd docsy
MacBook-Air-Early-2015:docsy takeyuki$ hugo serve
Built in 50 ms
Error: Error building site: "/Volumes/devtmp/MyHugo/docsy/content/en/_index.md:5:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
Thank you for your suggestion.
from docsy-example.
Hello, I'm new to docsy and the issue is not fixed with
--recursive
as follows:MacBook-Air-Early-2015:MyHugo takeyuki$ git clone https://github.com/google/docsy-example docsy --recursive Cloning into 'docsy'... remote: Enumerating objects: 1565, done. remote: Counting objects: 100% (150/150), done. remote: Compressing objects: 100% (92/92), done. remote: Total 1565 (delta 60), reused 118 (delta 46), pack-reused 1415 Receiving objects: 100% (1565/1565), 2.61 MiB | 5.48 MiB/s, done. Resolving deltas: 100% (762/762), done. MacBook-Air-Early-2015:MyHugo takeyuki$ cd docsy MacBook-Air-Early-2015:docsy takeyuki$ hugo serve Built in 50 ms Error: Error building site: "/Volumes/devtmp/MyHugo/docsy/content/en/_index.md:5:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
Thank you for your suggestion.
As suggested above:
Run npm install
to install dependencies. Does this cure your problem?
from docsy-example.
Hi deining, thank you for your suggestion.
Unfortunately, the result is still the same.
MacBook-Air-Early-2015:docsy takeyuki$ npm install
up to date, audited 205 packages in 3s
53 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
MacBook-Air-Early-2015:docsy takeyuki$ hugo serve
Built in 40 ms
Error: Error building site: "/Volumes/devtmp/MyHugo/docsy/content/en/_index.md:5:1": failed to extract shortcode: template for shortcode "blocks/cover" not found
from docsy-example.
Thank you deining! It was 0.71.1, and running well after updated to 0.120.3.
I really appreciate your suggestons.
from docsy-example.
Related Issues (20)
- Complete Netlify setup HOT 1
- Resource permissions are set to read-only HOT 3
- Prepare and release 0.7.0 HOT 3
- _variables_project.scss: add minimal content and link to docs
- Convert config file to yaml
- Warn about Hugo versions prior to 0.110.0
- Upgrade Docsy to 0.7.1
- Document on Vercel setup needed
- Upgrade Docsy to 0.7.2
- Multiple languages: real languages? How many? What is our goal? HOT 1
- feature: add versions
- Release 0.8.0 of the example HOT 3
- Should the users mention this project in the LICENSE if they are using this project as the template? HOT 1
- Blog renders the content instead of showing the code
- Basic Setup
- Enable light/dark mode menu? HOT 1
- Display Persian (`fa`) pages in right-to-left (RTL) fashion & other improvements HOT 1
- Multilanguage support: illustrate page fallback to default language
- [fa] Add remaining i18n entries
- [fa] Ensure that at least one page has a sidenav and TOC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docsy-example.