-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
enhancementintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.work-in-progress
Description
Version
3.1.3
Node and OS info
Node 11.1.0 / yarn 1.12.3 / Arch Linux
Steps to reproduce
> vue create test
ERROR Error: EACCES: permission denied, open '/usr/local/share/.config/yarn/global/node_modules/@vue/cli/lib/util/.versions'
Error: EACCES: permission denied, open '/usr/local/share/.config/yarn/global/node_modules/@vue/cli/lib/util/.versions'
What is expected?
vue should not write to global files
What is actually happening?
vue tries to write to global file '/usr/local/share/.config/yarn/global/node_modules/@vue/cli/lib/util/.versions' and fails if it does not have permission to do so
This can be fixed by just running sudo vue create test
but why it root required to create a new package?
bkuri, RohanTalip, clrgit, uniteweiwei, frederikheld and 1 moreigorvolnyi and wisdomwb
Metadata
Metadata
Assignees
Labels
enhancementintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.work-in-progress