Comments (7)
Needed the extended version of Hugo. Resolved.
from docsy-example.
Have the same issue. The extended Hugo has been installed.
$ hugo version
Hugo Static Site Generator v0.78.2/extended windows/amd64 BuildDate: unknown
$ go version
go version go1.15.5 windows/amd64
$ hugo -d docs
Start building sites …
Total in 2519 ms
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css): resource "scss/scss/main.scss_4853eb546e7a6c0898ed71feae7357c0" not found in file cache
from docsy-example.
@pplmx you likely need to run npm install
from the docsy-example
directory so that postcss is installed
If you just run hugo server
to serve the site locally, that step isn't needed, but it is if you want to run hugo -d docs
to build the static/standalone output.
from docsy-example.
Hi, @gwatts
I have run "npm install", it still doesn't work
$ npm list
[email protected] C:\Users\mystic\Jetbrains\IdeaProjects\yoooo.fun
├── [email protected]
└── [email protected]
from docsy-example.
Hrm that seems odd.. i'm running on a Mac, but this is my output:
areth@Dibbley tmp $ gh repo clone google/docsy-example -- --recursive
Cloning into 'docsy-example'...
remote: Enumerating objects: 1157, done.
remote: Total 1157 (delta 0), reused 0 (delta 0), pack-reused 1157
Receiving objects: 100% (1157/1157), 2.47 MiB | 9.56 MiB/s, done.
Resolving deltas: 100% (592/592), done.
Submodule 'themes/docsy' (https://github.com/google/docsy) registered for path 'themes/docsy'
Cloning into '/private/tmp/docsy-example/themes/docsy'...
remote: Enumerating objects: 63, done.
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 4295 (delta 30), reused 39 (delta 19), pack-reused 4232
Receiving objects: 100% (4295/4295), 7.61 MiB | 19.92 MiB/s, done.
Resolving deltas: 100% (2410/2410), done.
Submodule path 'themes/docsy': checked out 'dba99bb4bc794a1c2b1ea2311da8966ae1f924ea'
Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'themes/docsy/assets/vendor/Font-Awesome'
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'themes/docsy/assets/vendor/bootstrap'
Cloning into '/private/tmp/docsy-example/themes/docsy/assets/vendor/Font-Awesome'...
remote: Enumerating objects: 112488, done.
remote: Total 112488 (delta 0), reused 0 (delta 0), pack-reused 112488
Receiving objects: 100% (112488/112488), 94.25 MiB | 43.30 MiB/s, done.
Resolving deltas: 100% (66950/66950), done.
Cloning into '/private/tmp/docsy-example/themes/docsy/assets/vendor/bootstrap'...
remote: Enumerating objects: 168, done.
remote: Counting objects: 100% (168/168), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 159196 (delta 67), reused 77 (delta 28), pack-reused 159028
Receiving objects: 100% (159196/159196), 166.42 MiB | 38.40 MiB/s, done.
Resolving deltas: 100% (104485/104485), done.
Submodule path 'themes/docsy/assets/vendor/Font-Awesome': checked out '951a0d011f8c832991750c16136f8e260efa60b5'
Submodule path 'themes/docsy/assets/vendor/bootstrap': checked out 'a716fb03f965dc0846df479e14388b1b4b93d7ce'
gareth@Dibbley tmp $ cd docsy-example/
gareth@Dibbley docsy-example (master=) $ hugo version
Hugo Static Site Generator v0.78.2/extended darwin/amd64 BuildDate: unknown
areth@Dibbley docsy-example (master=) $ hugo -d docs
Start building sites …
Total in 1724 ms
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css): resource "scss/scss/main.scss_4853eb546e7a6c0898ed71feae7357c0" not found in file cache
So that brings me to the same problem as you, but then...
areth@Dibbley docsy-example (master %=) $ npm install
added 117 packages from 112 contributors and audited 117 packages in 2.026s
9 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
gareth@Dibbley docsy-example (master %=) $ hugo -d docs
Start building sites …
| EN | NO
-------------------+----+-----
Pages | 47 | 76
Paginator pages | 0 | 0
Non-page files | 3 | 1
Static files | 38 | 38
Processed images | 9 | 2
Aliases | 4 | 0
Sitemaps | 2 | 1
Cleaned | 0 | 0
Total in 1720 ms
npm list
gives me a lot of output
npm --version
6.14.6
from docsy-example.
Re-clone from the Github. Run the above command, it works fine now. I don't know why.
Anyway, Thanks a lot, @gwatts ^_^
from docsy-example.
A mystery, but glad it's working, @pplmx ! :-)
from docsy-example.
Related Issues (20)
- Searchbox doesn't have a transition effect like navbar links
- Intermittent: error calling Paginate: cannot convert type page.PagesGroup to Pages HOT 1
- Deploy Kubeflow with Password, Ingress and TLS HOT 1
- Upgrade Docsy to 0.7.0 HOT 7
- Register docsy-example as OSS to disable ads in search HOT 3
- 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
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.