5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VoltaをinstallしたけどAngularが使えないんだけど

Last updated at Posted at 2022-03-16

Angularがインストールできない

Voltaをinstall時にAngualrがインストールできませんでした。
表示されたエラーは以下の通りです。

C:\Users\○○>npm install --global @angular/cli

added 190 packages, and audited 191 packages in 30s

23 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Volta error: Could not create shared environment for package '@angular/cli'

Please ensure you have correct permissions to the Volta directory.
Error details written to C:\Users\○\AppData\Local\Volta\log\volta-error-2022-03-16_22_39_12.457.log

どうやらvolta側に問題がありそうだが・・・。

Please ensure you have correct permissions to the Volta directory.

解決法1

  • 開発者モードを有効にする(推奨)
  • 昇格された特権でVoltaを実行する(非推奨)

開発者向け設定とは

タスク バーの Cortana 検索ボックスに「開発者向け」と入力する

Coltana検索「開発者むけの設定」

開発者モードをオンにする
開発者モードをオンにする

まとめ

ドキュメントはちゃんと見ましょう

Thank you charles

  1. https://docs.volta.sh/guide/getting-started

5
3
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
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?