volta
volta copied to clipboard
npm link error!
Volta error: Could not create shared environment for package 'my-link-package' Please ensure you have correct permissions to the Volta directory. my package.json: { "name": "my-link-package", .... "volta": { "node": "8.0.0", "npm": "5.0.0" } }
Hi @xukaishan, thanks for reporting! That's an error with one of the internal tasks that Volta takes when setting up its filesystem layout. Can you share more about the environment? What OS & Version are you using? What Volta version (volta -v)? Is it possible to share the full package.json so that we can attempt to reproduce the error? Or if it's private / internal code, is it possible to create a non-proprietary one that still reproduces the error?
I've got the same error, trying to link a command from a repostitory to debug it locally.
OS: Windows 10 Terminal: Git with Bash Volta: 1.0.8 Node: 18.10.0 npm: 8.19.2
But I found it was my mistake because I'm using the command npm link my-package and it only requires the command npm link
Hope it help others.