Doom-emacs: λ ˆμ‹œν”Ό μ €μž₯μ†Œμ—μ„œ νŒ¨ν‚€μ§€ Xλ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.

에 λ§Œλ“  2020λ…„ 03μ›” 31일  Β·  12μ½”λ©˜νŠΈ  Β·  좜처: hlissner/doom-emacs

doom upgrade λ˜λŠ” doom update νŒ¨ν‚€μ§€λ₯Ό μ—…λ°μ΄νŠΈ ν•œ ν›„ λ‹€μŒκ³Ό 같은 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.

Package error: (error Could not find package org-roam in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror))
Package error: (error Could not find package company-org-roam in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror))

및 / λ˜λŠ” λ‹€μŒκ³Ό 같은 였λ₯˜ :

Cannot open load file: No such file or directory, org-roam
Cannot open load file: No such file or directory, org-superstar
bug common packages straight resolved

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

둜컬 melpa 리포지토리가 μ—…λ°μ΄νŠΈλ˜μ§€ μ•ŠλŠ” μ•Œλ €μ§„ λ¬Έμ œμ΄λ―€λ‘œ κ³§λ°”λ‘œ (νŒ¨ν‚€μ§€ κ΄€λ¦¬μž)κ°€ μƒˆ νŒ¨ν‚€μ§€ (예 : org-roam λ˜λŠ” org-superstar)λ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.

μˆ˜μ • μž‘μ—… μ€‘μ΄μ§€λ§Œ κ·Έ λ™μ•ˆ 둜컬 melpa repoλ₯Ό μˆ˜λ™μœΌλ‘œ μ—…λ°μ΄νŠΈν•΄μ•Όν•©λ‹ˆλ‹€.

νŽΈμ§‘ : 이것은 Doom의 졜근 μ»€λ°‹μ—μ„œ μˆ˜μ •λ˜μ—ˆμ§€λ§Œ 이전 λ²„μ „μ—μ„œ μ˜€λŠ” μ‚¬μš©μžλŠ” doom upgrade 처음 μ‹€ν–‰ν•  λ•Œμ΄ λ¬Έμ œκ°€ λ°œμƒν•  수 μžˆμœΌλ―€λ‘œμ΄ μˆ˜μ • 사항은 μ—¬μ „νžˆ β€‹β€‹μ μš©λ©λ‹ˆλ‹€.

# Update MELPA
cd ~/.emacs.d/.local/straight/repos/melpa
git pull

# Clear straight's cache
rm -f ~/.emacs.d/.local/straight/build-cache.el
doom sync

λͺ¨λ“  12 λŒ“κΈ€

λ‚˜λ„.

둜컬 melpa 리포지토리가 μ—…λ°μ΄νŠΈλ˜μ§€ μ•ŠλŠ” μ•Œλ €μ§„ λ¬Έμ œμ΄λ―€λ‘œ κ³§λ°”λ‘œ (νŒ¨ν‚€μ§€ κ΄€λ¦¬μž)κ°€ μƒˆ νŒ¨ν‚€μ§€ (예 : org-roam λ˜λŠ” org-superstar)λ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.

μˆ˜μ • μž‘μ—… μ€‘μ΄μ§€λ§Œ κ·Έ λ™μ•ˆ 둜컬 melpa repoλ₯Ό μˆ˜λ™μœΌλ‘œ μ—…λ°μ΄νŠΈν•΄μ•Όν•©λ‹ˆλ‹€.

νŽΈμ§‘ : 이것은 Doom의 졜근 μ»€λ°‹μ—μ„œ μˆ˜μ •λ˜μ—ˆμ§€λ§Œ 이전 λ²„μ „μ—μ„œ μ˜€λŠ” μ‚¬μš©μžλŠ” doom upgrade 처음 μ‹€ν–‰ν•  λ•Œμ΄ λ¬Έμ œκ°€ λ°œμƒν•  수 μžˆμœΌλ―€λ‘œμ΄ μˆ˜μ • 사항은 μ—¬μ „νžˆ β€‹β€‹μ μš©λ©λ‹ˆλ‹€.

# Update MELPA
cd ~/.emacs.d/.local/straight/repos/melpa
git pull

# Clear straight's cache
rm -f ~/.emacs.d/.local/straight/build-cache.el
doom sync

이 λ™μΌν•œ λ¬Έμ œκ°€ λ°œμƒν–ˆμœΌλ©° ꢌμž₯ ν•΄κ²° 방법은 λ‹€μŒκ³Ό 같이 μ‹€νŒ¨ν•©λ‹ˆλ‹€.

$ doom sync
Building straight...
Building straight...done
Building use-package...
Building use-package β†’ Building bind-key...
Building use-package β†’ Building bind-key...done
Building use-package...
Building use-package...done
> Synchronizing your config with Doom Emacs...
  > Regenerating envvars file at "~/.emacs.d/.local/env"
  - Scraping shell environment
    - Ignoring HOME=/Users/jcf
    - Ignoring GPG_TTY=/dev/ttys006
    - Ignoring PWD=/Users/jcf/.emacs.d/.local/straight/repos/melpa
    - Ignoring __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2
    - Ignoring SSH_AUTH_SOCK=/Users/jcf/.gnupg/S.gpg-agent.ssh
    - Ignoring TERM=xterm-256color
    βœ“ Successfully generated "~/.emacs.d/.local/env"
  > (Re)generating core autoloads...
    > Generating core autoloads...
    > Byte-compiling core autoloads file...
    βœ“ Generated .local/autoloads.elc
  > Installing packages...
    β†’ Cloning auto-minor-mode...
x There was an unexpected error:
  Type: doom-package-error
  Message:
    Error with packages
  Data:
    "auto-minor-mode"
    (error "Failed to run \"git\"; see buffer *straight-process*")
    "fatal: destination path '/Users/jcf/.emacs.d/.local/straight/repos/auto-minor-mode' already exists and is not an empty directory.
    "
  Straight output:
    fatal: destination path '/Users/jcf/.emacs.d/.local/straight/repos/auto-minor-mode' already exists and is not an empty directory.


Run the command again with the -d (or --debug) switch to enable debug
mode and (hopefully) generate a backtrace from this error:

  doom -d sync

If you file a bug report, please include it!
$ ls -alh /Users/jcf/.emacs.d/.local/straight/repos/auto-minor-mode
ls: /Users/jcf/.emacs.d/.local/straight/repos/auto-minor-mode: No such file or directory

μ—…λ°μ΄νŠΈ : c96303830835ed49b6803a5288379891d6ab7cfcμ—μ„œ straight.el의 λ§ˆμŠ€ν„° 브랜치 (개발과 λ°˜λŒ€)둜 μ΄λ™ν•˜λ©΄ λ¬Έμ œκ°€ ν•΄κ²°λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

후손과 ν˜Όλ™μ„ ν”Όν•˜κΈ° μœ„ν•΄ @jcf 의 λ¬Έμ œλŠ”μ΄ λ¬Έμ œμ™€ 관련이 μ—†μŠ΅λ‹ˆλ‹€ (λ³„λ„λ‘œ ν•΄κ²° 된 # 2937 μ°Έμ‘°).

shellcheck에 λŒ€ν•œ λ™μΌν•œ λ¬Έμ œκ°€ λ‚΄ ꡬ성 (package.el)에도 μžˆμŒμ„ λ°œκ²¬ν•˜κ³  μ œκ±°ν–ˆμœΌλ©° λ©”μ‹œμ§€κ°€ μ‚¬λΌμ‘ŒμŠ΅λ‹ˆλ‹€ ...

0e851acλΆ€ν„° bin/doom λŠ” νŒ¨ν‚€μ§€λ₯Ό μ„€μΉ˜ / μ—…λ°μ΄νŠΈν•˜κΈ° 전에 λ ˆμ‹œν”Ό μ €μž₯μ†Œλ₯Ό μ—…λ°μ΄νŠΈν•˜λ―€λ‘œμ΄ λ¬Έμ œκ°€ ν•΄κ²°λ©λ‹ˆλ‹€. 그렇지 μ•Šμ€ 경우 μ•Œλ € μ£Όμ‹œλ©΄ λ‹€μ‹œ μ—΄μ–΄ λ³΄κ² μŠ΅λ‹ˆλ‹€. 관심을 κ°€μ Έ μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€!

같은 λ¬Έμ œκ°€μžˆμ—ˆμŠ΅λ‹ˆλ‹€. λ‘  μ—…κ·Έλ ˆμ΄λ“œ / μ—…λ°μ΄νŠΈλ₯Ό μ‹œλ„ν•˜κ³  이것을 μ–»μ—ˆμŠ΅λ‹ˆλ‹€.

Type: error
  Message:
    error
  Data:
    "Could not find package org-superstar in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"

μ—…λ°μ΄νŠΈ : λ‹€μŒ 단계λ₯Ό λ”°λ₯Έ ν›„ μž‘μ—…

@kawaiier 같은 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€ org-superstar . μœ„μ—μ„œ μ–ΈκΈ‰ ν•œλŒ€λ‘œ melpaλ₯Ό μˆ˜λ™μœΌλ‘œ μ—…λ°μ΄νŠΈν•˜λ©΄ λ¬Έμ œκ°€ ν•΄κ²°λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

μœ„μ—μ„œ μ–ΈκΈ‰ ν•œλŒ€λ‘œ μˆ˜μ •ν–ˆμ§€λ§Œ λ‹€μŒμ— doom upgrade μ‹€ν–‰ν•  λ•Œ 항상 λ‹€μ‹œ μ€‘λ‹¨λ©λ‹ˆλ‹€.

x There was an unexpected error:ate...
  Type: doom-package-error
  Message:
    Error with packages
  Data:
    "org-superstar"
    (error "Failed to run \"git\"; see buffer *straight-process*")
  Straight output:
    fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    HEAD

@harrisj λ‚˜λŠ” 같은 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€ : sweat_smile :

νŠΈμœ— λ‹΄μ•„ κ°€κΈ°

git -C ~/.emacs.d pull
git -C ~/.emacs.d/.local/straight/repos/melpa pull
rm -rf ~/.emacs.d/.local/straight/repos/org-superstar
rm -f ~/.emacs.d/.local/straight/build-cache.el
doom sync

특히 쑰직 슈퍼 μŠ€νƒ€μ— λŒ€ν•΄μ΄ λ¬Έμ œκ°€ λ°œμƒν•˜λŠ” 경우 @hlissnerκ°€ λ©°μΉ  μ „ (속도 문제둜 인해) init.el μ—μ„œ (org +pretty) λ₯Ό μš”κ΅¬ν•˜λ„λ‘ 슈퍼 μŠ€νƒ€λ₯Ό λ³€κ²½ν–ˆμŠ΅λ‹ˆλ‹€.

μœ„μ˜ νŒ¨ν‚€μ§€ μƒˆλ‘œ κ³ μΉ¨ ν•­λͺ©μ΄ μž‘λ™ν•˜μ§€ μ•ŠμœΌλ©΄μ΄ ν”Œλž˜κ·Έλ₯Ό μΆ”κ°€ν•΄μ•Ό ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰