Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Minority2310 opened this issue Apr 11, 2024 · 1 comment

Comments

@Minority2310
Copy link

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)

@xcsweb
Copy link

xcsweb commented Apr 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants