microsoft / microsoft/vscode-generator-code
EACCES: permission denied
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 262
- Avg merge
- 15d 22h
- Merged PRs (30d)
- 1
Description
? What type of extension do you want to create? New Extension (JavaScript)
? What's the name of your extension? sg-dev-helper
? What's the identifier of your extension? sg-dev-helper
? What's the description of your extension?
? Enable JavaScript type checking in 'jsconfig.json'? No
? Initialize a git repository? Yes
? Which package manager to use? npm
✖ An error occured while running code:app#writing
Error code
EACCES: permission denied, mkdir '/data/sg-ext/sg-dev-helper'
┌───────────────────────────────────────────────────┐
│ yo update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /root/.config │
└───────────────────────────────────────────────────┘
sudo or chown didn't help, yo code using root account
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported yo code flow and start at the code:app#writing step, where the permission error occurs while creating /data/sg-ext/sg-dev-helper. Trace why the generator cannot create that directory despite the reported permission changes; done means the extension is generated successfully in the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100