Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Failed to deploy branch v0.6 to netlify #173

Description

@benjaminhuo

Failed to deploy branch v0.6 to netlify with errors like below, @Arhell @weili520 @Bettygogo2021 you have any idea what's wrong here? :

https://app.netlify.com/sites/openfunction-dev/deploys/62e247f287a96158db510cdb

4:25:43 PM: ────────────────────────────────────────────────────────────────
4:25:43 PM:   Netlify Build                                                 
4:25:43 PM: ────────────────────────────────────────────────────────────────
4:25:43 PM: ​
4:25:43 PM: ❯ Version
4:25:43 PM:   @netlify/build 27.5.0
4:25:43 PM: ​
4:25:43 PM: ❯ Flags
4:25:43 PM:   baseRelDir: true
4:25:43 PM:   buildId: 62e247f287a96158db510cd9
4:25:43 PM:   deployId: 62e247f287a96158db510cdb
4:25:43 PM: ​
4:25:43 PM: ❯ Current directory
4:25:43 PM:   /opt/build/repo
4:25:43 PM: ​
4:25:43 PM: ❯ Config file
4:25:43 PM:   /opt/build/repo/netlify.toml
4:25:43 PM: ​
4:25:43 PM: ❯ Context
4:25:43 PM:   branch-deploy
4:25:43 PM: ​
4:25:43 PM: ❯ Installing plugins
4:25:43 PM:    - @algolia/netlify-plugin-crawler@1.0.0
4:25:45 PM: ​
4:25:45 PM: ❯ Loading plugins
4:25:45 PM:    - @algolia/netlify-plugin-crawler@1.0.0 from netlify.toml
4:25:46 PM: ​
4:25:46 PM: ────────────────────────────────────────────────────────────────
4:25:46 PM:   1. build.command from netlify.toml                            
4:25:46 PM: ────────────────────────────────────────────────────────────────
4:25:46 PM: ​
4:25:46 PM: $ cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify
4:25:46 PM: Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'assets/vendor/Font-Awesome'
4:25:46 PM: Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'assets/vendor/bootstrap'
4:25:46 PM: Cloning into '/opt/build/repo/themes/docsy/assets/vendor/Font-Awesome'...
4:25:52 PM: Cloning into '/opt/build/repo/themes/docsy/assets/vendor/bootstrap'...
4:26:02 PM: Submodule path 'assets/vendor/Font-Awesome': checked out '7d3d774145ac38663f6d1effc6def0334b68ab7e'
4:26:03 PM: Submodule path 'assets/vendor/bootstrap': checked out '043a03c95a2ad6738f85b65e53b9dbdfb03b8d10'
4:26:03 PM: Total in 30 ms
4:26:03 PM: Error: add site dependencies: load resources: loading templates: "/opt/build/repo/themes/docsy/layouts/shortcodes/readfile.html:27:1": parse failed: template: shortcodes/readfile.html:27: unexpected unclosed action in parenthesized pipeline
4:26:03 PM: ​
4:26:03 PM: ────────────────────────────────────────────────────────────────
4:26:03 PM:   "build.command" failed                                        
4:26:03 PM: ────────────────────────────────────────────────────────────────
4:26:03 PM: ​
4:26:03 PM:   Error message
4:26:03 PM:   Command failed with exit code 255: cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify (https://ntl.fyi/exit-code-255)
4:26:03 PM: ​
4:26:03 PM:   Error location
4:26:03 PM:   In build.command from netlify.toml:
4:26:03 PM:   cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify
4:26:03 PM: ​
4:26:03 PM:   Resolved config
4:26:03 PM:   build:
4:26:03 PM:     command: cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify
4:26:03 PM:     commandOrigin: config
4:26:03 PM:     environment:
4:26:03 PM:       - ALGOLIA_API_KEY
4:26:03 PM:       - ALGOLIA_BASE_URL
4:26:03 PM:       - HUGO_VERSION
4:26:03 PM:     publish: /opt/build/repo/public
4:26:03 PM:     publishOrigin: config
4:26:03 PM:   plugins:
4:26:03 PM:     - inputs: {}
4:26:03 PM:       origin: config
4:26:03 PM:       package: '@algolia/netlify-plugin-crawler'
4:26:03 PM: Caching artifacts
4:26:03 PM: Started saving node modules
4:26:03 PM: Finished saving node modules
4:26:03 PM: Started saving build plugins
4:26:03 PM: Finished saving build plugins
4:26:03 PM: Started saving pip cache
4:26:03 PM: Finished saving pip cache
4:26:03 PM: Started saving emacs cask dependencies
4:26:03 PM: Finished saving emacs cask dependencies
4:26:03 PM: Started saving maven dependencies
4:26:03 PM: Finished saving maven dependencies
4:26:03 PM: Started saving boot dependencies
4:26:03 PM: Finished saving boot dependencies
4:26:03 PM: Started saving rust rustup cache
4:26:03 PM: Finished saving rust rustup cache
4:26:03 PM: Started saving go dependencies
4:26:04 PM: Finished saving go dependencies
4:26:08 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:26:08 PM: Creating deploy upload records
4:26:08 PM: Failing build: Failed to build site
4:26:08 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
4:26:08 PM: Finished processing build request in 42.828070695s

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions