Maquetado errores comunes

soluciones a errores comunes a la hora de maquetar

Escrito por~

Cualquier error de node_modules, probá corriendo make yarn / task pnpm / go-task pnpm.

Ej al correr make fa: FileNotFoundError: [Errno 2] No such file or directory: 'node_modules/fork-awesome/fonts/forkawesome-webfont.ttf'


Se me apagó la compu y no compila jekyll.

```task: [build] haini.sh bundle exec jekyll build --trace --profile

> bundle exec jekyll build --trace --profile

TAP version 14

ok - Configuration file: /Sutty/constelaciones-jekyll-theme/_config.yml

1..1

bundler: failed to load command: jekyll (/usr/bin/jekyll)

:34:in `load': end of file reached (EOFError)

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/cache.rb:171:in `load'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/cache.rb:86:in `[]'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/cache.rb:41:in `clear_if_config_changed'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:118:in `reset'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:35:in `initialize'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:30:in `new'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:30:in `process'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `each'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-logger-tap-0.2.0/lib/jekyll-logger-tap.rb:9:in `process_with_graceful_fail'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'

from /usr/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'

from /usr/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'

from /usr/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'

from /usr/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'

from /usr/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'

from /usr/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/exe/jekyll:15:in `'

from /usr/bin/jekyll:25:in `load'

from /usr/bin/jekyll:25:in `'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:58:in `load'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:58:in `kernel_load'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:23:in `run'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli.rb:487:in `exec'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli.rb:31:in `dispatch'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/cli.rb:25:in `start'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/exe/bundle:48:in `block in '

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'

from /usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/exe/bundle:36:in `'

from /usr/bin/bundle:25:in `load'

from /usr/bin/bundle:25:in `'

task: Failed to run task "build": exit status 1 ```

si tenemos un error como este hay algo corrupto. tenemos que borrar _site y .jekyll-cache.

`rm -r _site .jekyll-cache`

Documentar es un acto de amor, siempre es para otre.

Hecho por Sutty.