Bash:ログイン後、Rustupノードモジュールのenvが見つかりません。

Bash:ログイン後、Rustupノードモジュールのenvが見つかりません。

私のNodeプロジェクトでRustupとCargoを使用していましたが、もう必要なくなったので削除しようとしました。ただし、問題のRaspberry PiにSSHで接続するたびに、次の出力が表示されます.

~ $ ssh 192.168.0.2
Linux raspberrypi 5.15.76-v7+ #1597 SMP Fri Nov 4 10:13:17 GMT 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Nov 19 08:04:39 2022 from 192.168.0.132

-bash: /home/pixelcode/project/node_modules/rustup/CARGO_HOME/env: File or directory not found
-bash: /home/pixelcode/project/node_modules/rustup/CARGO_HOME/env: File or directory not found

pixelcode@raspberrypi:~ $

ディレクトリはもはや必要ないので、もはや存在しません。

システムがまだこのディレクトリにアクセスしようとしているのはなぜですか。これを停止するにはどうすればよいですか?ディレクトリが環境変数に設定されていません。

ご協力ありがとうございます!

ベストアンサー1

おすすめ記事