Skip to content

Failed to Transform ; file "stdin" ; File to Import not found or unreadable. #279

@dbiers

Description

@dbiers

Hugo Version

Hugo Static Site Generator v0.72.0-8A7EF3CF/extended linux/amd64 BuildDate: 2020-05-31T12:14:23Z

OS Version

CentOS 8.x x64 (CentOS Linux release 8.1.1911 (Core))

Errors

[root@doc html]# pwd
/var/www/html
[root@doc html]# ls -l
total 4
drwxr-xr-x. 2 root root  24 Jun  2 17:16 archetypes
-rw-r--r--. 1 root root  93 Jun  2 17:22 config.toml
drwxr-xr-x. 2 root root   6 Jun  2 17:16 content
drwxr-xr-x. 2 root root   6 Jun  2 17:16 data
drwxr-xr-x. 2 root root   6 Jun  2 17:16 layouts
drwxr-xr-x. 8 root root 159 Aug 30  1754 public
drwxr-xr-x. 3 root root  18 Jun  2 17:18 resources
drwxr-xr-x. 3 root root  27 Jun  2 18:49 sample
drwxr-xr-x. 2 root root   6 Jun  2 17:16 static
drwxr-xr-x. 3 root root  19 Jun  2 17:18 themes
[root@doc html]# hugo
Total in 28 ms
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file "stdin", line 6, col 1: File to import not found or unreadable: ../vendor/bootstrap/scss/bootstrap.

Also attempted to run the docsy example site taken from master branch but received another error:

[root@doc docsy-example]# ./deploy.sh
Total in 12 ms
Error: Error building site: "/var/www/html/sample/docsy-example/content/en/_index.html:7:1": failed to extract shortcode: template for shortcode "blocks/cover" not found

Unsure of what I'm doing wrong, here. At first I had installed hugo using dnf or yum but then read that I needed the extended version. Downloaded and installed the extended version without issue, but still failing to build the site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions