Cannot create a new project (EACCES)
See original GitHub issueFrom @sturcpavel on August 17, 2015 17:18
After installing tns and other dependencies, I’ve tried to create a new project by a simply writing:
tns create new-project
but after a while, error occured:
EACCES, open '/home/pavel/.local/share/.nativescript-cli/.lock'
I fixed it by chown:
sudo chown -R $(whoami) $HOME/.local/share/.nativescript-cli
Copied from original issue: NativeScript/NativeScript#602
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Error: EACCES: permission denied, access '/usr/local/lib ...
On the command line, in your home directory, create a directory for global installations: mkdir ~/.npm-global. Configure npm to use the new directory...
Read more >Resolving EACCES permissions errors when installing ...
If you see an EACCES error when you try to install a package globally, you can either: Reinstall npm with a node version...
Read more >I cannot create new project - Visual Studio Feedback
I can open new project, create new file, but I just cannot create new project. Visual Studio for Macvisual studio for macprojectsolutionmacos 10.14....
Read more >Can't create new C++ project: access denied
I'm trying to create a new C++ project, from a clean install of UE 4.11.2, with the latest version of Visual Studio Community...
Read more >How to create a new project in RStudio when access is denied
Create a new folder on your desktop call "test_project". · Open RStudio and select File -> New Project -> existing directory · Hit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This worked for me:
sudo chown -R $(whoami) $HOME/.local/share/.nativescript-cli
at last i did it! I am going this sudo chown -R dyo ~/.local/share/.nativescript-cli
thanks all guys 😃