IT技術に関する情報掲載サイト

プログラミングに関することを掲載します。

エラー対処:miseトラブルシューティングの手順

brew install miseをしたあとに、

node --version

 

ってしたら、以下のエラーがでた

 

mise ERROR error parsing config file: ~/Desktop/develop/mise.toml                                                                                                                              

mise ERROR Config files in ~/Desktop/develop/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 は、知らないうちに悪意のある設定が実行されないよう、新しいプロジェクトや変更された設定ファイルを「信頼(trust)」する手順を求めてきます。

 

対応方法は、

mise trust

 

でなおる