1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

はじめに

miseについては既に多くの方が記事で取り上げているので、miseとは何か?は省きます。

miseを使った環境立ち上げでエラー

mise.tomlをローカルディレクトリで設定し、ツール環境を作成しようとしたら次のようなエラーが発生...

mise ERROR error parsing config file: ~/project-dev/web-app/kadai5/.mise.toml
mise ERROR Config files in ~/project-dev/web-app/kadai5/.mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.jdx.dev/cli/trust.html for more information.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
mise ERROR error parsing config file: ~/project-dev/web-app/kadai5/.mise.toml                                                                                                                                                     
mise ERROR Config files in ~/project-dev/web-app/kadai5/.mise.toml are not trusted.
Trust them with `mise trust`. See https://mise.jdx.dev/cli/trust.html for more information.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

かいつまむと、怒られている理由は
miseが設定ファイルを信頼していないエラーとのことで、どうやらセキュリティの機能として知らない設定ファイル(mise.toml)を勝手に実行しないようにしてくれてるみたい。

なのでmise trustで設定ファイルを信頼するようにする必要がある

mise trust /home/path/to/mise.toml

# Output
# mise trusted /home/path/to

蛇足

ちゃんとドキュメントを読んでいれば詰まることもないが、最近は公式ドキュメントを読みに行かずClaudeが書き記した手順書に従ってツールインストールするせいで、しょうもないエラーを踏んでしまっている。
ちゃんと公式ドキュメントは読もうね。。

JISOUのメンバー募集中!

プログラミングコーチングJISOUでは、新たなメンバーを募集しています。
日本一のアウトプットコミュニティでキャリアアップしませんか?
興味のある方は、ぜひホームページをのぞいてみてください!
▼▼▼
https://projisou.jp

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?