-
Notifications
You must be signed in to change notification settings - Fork 330
Description
I use node@12 and built-in npm. I'm trying to install the Yeoman generator:
npm install @microsoft/generator-sharepoint -g
At the last step I see an error Volta error: Could not create environment, logs:
"npm" "install" "@microsoft/generator-sharepoint" "-g"
Volta v1.0.2
Could not create environment for @microsoft/generator-sharepoint v1.12.0
at C:\Users\admin\AppData\Local\Volta\tools\image\packages@microsoft/generator-sharepoint
Please ensure you have correct permissions to the Volta directory.
Error cause: Access is denied. (os error 5)
And also below events from proc monitor:
When I run npm install generator-code -g to install another generator, it works well.
I don't have antivirus and even Windows Defender is switched off since that's a developer VM.
It looks like the issue only appears with huge generators with lots of files (like @microsoft/generator-sharepoint)
