volta icon indicating copy to clipboard operation
volta copied to clipboard

Unable to install TypeScript: Could not create shared environment for package 'typescript'

Open Minority2310 opened this issue 1 year ago • 1 comments

As the title suggests, I encountered an issue when trying to install TypeScript on a terminal with administrator privileges. It prompted an error and I'm seeking guidance on how to resolve this problem.

The following are the terminal output and error log: image image

"D:\\b-Tools\\b.c-Scoop\\ScoopGlobalApps\\apps\\volta\\current\\appdata\\bin\\npm.exe" "i" "-g" "typescript"
Volta v1.1.1

Could not create shared environment for package 'typescript'

Please ensure you have correct permissions to the Volta directory.

Error cause: 拒绝访问。 (os error 5)

Minority2310 avatar Apr 11 '24 08:04 Minority2310

你没有权限,请看入门指南

xcsweb avatar Apr 25 '24 06:04 xcsweb