meshery.io icon indicating copy to clipboard operation
meshery.io copied to clipboard

[Site] Build errors with 404s

Open leecalcote opened this issue 1 year ago β€’ 4 comments

Description

When building the site, the following errors are shown:

➜  meshery.io git:(master) make site
bundle install; bundle exec jekyll serve --drafts --incremental --livereload 
Bundle complete! 11 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Configuration file: /Users/lee/code/meshery.io/_config.yml
            Source: /Users/lee/code/meshery.io
       Destination: /Users/lee/code/meshery.io/_site
 Incremental build: enabled
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 1.934 seconds.
 Auto-regeneration: enabled for '/Users/lee/code/meshery.io'
LiveReload address: http://127.0.0.1:35729
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
[2024-01-12 21:33:21] ERROR `/assets/css/sass.css' not found.
[2024-01-12 21:33:21] ERROR `/assets/img/nav-icons/mode-toggle-icon-moon.png' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/lightbox.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/navbar.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/css/lightbox.css' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/main.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/fonts/qanelas-soft/QanelasSoftRegular.otf' not found.
[2024-01-12 21:33:21] ERROR `/assets/fonts/qanelas-soft/QanelasSoftSemiBold.otf' not found.
        LiveReload: Browser connected

Expected Behavior

No ERRORs on build of the site.


Contributor Guides and Handbook

The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

leecalcote avatar Jan 12 '24 21:01 leecalcote

I followed the documentation to build the site, but I was not able to replicate this error. Here is my output

@Shreyas0410 ➜ /workspaces/meshery.io (master) $ make site
bundle install; bundle exec jekyll serve --drafts --incremental --livereload 
Bundler 2.4.10 is running, but your lockfile was generated with 2.4.21. Installing Bundler 2.4.21 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.4.21
Installing bundler 2.4.21
Fetching gem metadata from https://rubygems.org/...........
Fetching wdm 0.1.1
Fetching addressable 2.8.6
Fetching tzinfo 2.0.6
Fetching sass-embedded 1.63.6 (x86_64-linux-gnu)
Installing wdm 0.1.1 with native extensions
Installing tzinfo 2.0.6
Installing addressable 2.8.6
Installing sass-embedded 1.63.6 (x86_64-linux-gnu)
Fetching jekyll 4.3.3
Installing jekyll 4.3.3
Fetching jekyll-archives 2.2.1
Fetching jekyll-feed 0.17.0
Fetching jekyll-redirect-from 0.16.0
Fetching jekyll-seo-tag 2.8.0
Installing jekyll-feed 0.17.0
Installing jekyll-redirect-from 0.16.0
Installing jekyll-seo-tag 2.8.0
Installing jekyll-archives 2.2.1
Fetching jekyll-sitemap 1.4.0
Fetching octopress-hooks 2.6.2
Installing octopress-hooks 2.6.2
Fetching octopress-paginate 1.2.0
Installing jekyll-sitemap 1.4.0
Installing octopress-paginate 1.2.0
Bundle complete! 11 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Configuration file: /workspaces/meshery.io/_config.yml
            Source: /workspaces/meshery.io
       Destination: /workspaces/meshery.io/_site
 Incremental build: enabled
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 3.407 seconds.
 Auto-regeneration: enabled for '/workspaces/meshery.io'
LiveReload address: http://127.0.0.1:35729
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

Shreyas0410 avatar Jan 13 '24 16:01 Shreyas0410

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 14 '24 00:02 stale[bot]

@vishalvivekm is this issue still there?

sudhanshutech avatar Apr 04 '24 16:04 sudhanshutech

I get this error after building the website:

tayyab@localhost:~/meshery.io$ make site
bundle install; bundle exec jekyll serve --drafts --incremental --livereload
Bundle complete! 11 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Configuration file: /home/tayyab/meshery.io/_config.yml
            Source: /home/tayyab/meshery.io
       Destination: /home/tayyab/meshery.io/_site
 Incremental build: enabled
      Generating...
             Error: YAML Exception reading /home/tayyab/meshery.io/collections/_catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
      Sort warning: 'patternId' not defined in _catalog/deployment/d6a40cd8-3c13-4920-a96c-b6278836565e.md
       Jekyll Feed: Generating feed for posts
                    done in 0.868 seconds.
 Auto-regeneration: enabled for '/home/tayyab/meshery.io'
    Server address: http://127.0.0.1:4000/
LiveReload address: http://127.0.0.1:35729
  Server running... press ctrl-c to stop.

This can be fixed pretty easily. Can I work on this issue?

tayyab-ilyas avatar May 01 '24 21:05 tayyab-ilyas