laozhu / hugo-nuo

🎨 A responsive light & clean hugo theme for blogger.
https://laozhu.me
MIT License
426 stars 150 forks source link

Changing theme to hugo-nuo unable to deploy on Netlify. #130

Open xyznaveen opened 5 years ago

xyznaveen commented 5 years ago

If I use kiss theme everything is working great but soon as i change theme to hugo-nuo i get 255 error.

10:36:58 AM: Build ready to start
10:37:03 AM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63
10:37:03 AM: build-image tag: v3.3.2
10:37:03 AM: buildbot version: 75cd99f62ada9e21edea53208e8baf0eab85a045
10:37:03 AM: Fetching cached dependencies
10:37:03 AM: Starting to download cache of 166.5MB
10:37:04 AM: Finished downloading cache in 778.462632ms
10:37:04 AM: Starting to extract cache
10:37:10 AM: Finished extracting cache in 5.606557072s
10:37:10 AM: Finished fetching cache in 6.43813194s
10:37:10 AM: Starting to prepare the repo for build
10:37:10 AM: Preparing Git Reference refs/heads/blog
10:37:13 AM: Found netlify.toml. Overriding site configuration
10:37:13 AM: Different publish path detected, going to use the one specified in the toml file: 'public' versus '/' in the site
10:37:13 AM: Different build command detected, going to use the one specified in the toml file: 'hugo --gc --minify -b $URL' versus '' in the site
10:37:13 AM: Starting build script
10:37:13 AM: Installing dependencies
10:37:13 AM: Started restoring cached node version
10:37:15 AM: Finished restoring cached node version
10:37:16 AM: v10.16.0 is already installed.
10:37:17 AM: Now using node v10.16.0 (npm v6.9.0)
10:37:17 AM: Attempting ruby version 2.6.2, read from environment
10:37:19 AM: Using ruby version 2.6.2
10:37:19 AM: Using PHP version 5.6
10:37:19 AM: Installing Hugo 0.54.0
10:37:19 AM: Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
10:37:19 AM: Started restoring cached go cache
10:37:19 AM: Finished restoring cached go cache
10:37:19 AM: unset GOOS;
10:37:19 AM: unset GOARCH;
10:37:19 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
10:37:19 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
10:37:19 AM: go version >&2;
10:37:19 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
10:37:19 AM: go version go1.12 linux/amd64
10:37:19 AM: Installing missing commands
10:37:19 AM: Verify run directory
10:37:19 AM: Executing user command: hugo --gc --minify -b $URL
10:37:20 AM: Building sites …
10:37:20 AM: Total in 57 ms
10:37:20 AM: Error: failed to prune cache "assets": remove /opt/build/repo/resources/_gen/assets/scss/styles/main.scss_b95b077eb505d5c0aff8055eaced30ad.content: no such file or directory
10:37:20 AM: Skipping functions preparation step: no functions directory set
10:37:20 AM: Caching artifacts
10:37:20 AM: Started saving pip cache
10:37:20 AM: Finished saving pip cache
10:37:20 AM: Started saving emacs cask dependencies
10:37:20 AM: Finished saving emacs cask dependencies
10:37:20 AM: Started saving maven dependencies
10:37:20 AM: Finished saving maven dependencies
10:37:20 AM: Started saving boot dependencies
10:37:20 AM: failed during stage 'building site': Build script returned non-zero exit code: 255
10:37:20 AM: Finished saving boot dependencies
10:37:20 AM: Started saving go dependencies
10:37:20 AM: Finished saving go dependencies
10:37:20 AM: Shutting down logging, 3 messages pending

Any pointers or help ?

salmanulfarzy commented 5 years ago

It deploys smoothly on Netlify for me. Does it build successfully on local ?

xyznaveen commented 5 years ago

Yes, it does.

If it is helpful I was switching theme. From kiss to hugo-nuo.