volta
volta copied to clipboard
Unable to install TypeScript: Could not create shared environment for package 'typescript'
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:
"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)
你没有权限,请看入门指南