question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot create a new project (EACCES)

See original GitHub issue

From @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:closed
  • Created 8 years ago
  • Reactions:4
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
psturccommented, Aug 27, 2015

This worked for me: sudo chown -R $(whoami) $HOME/.local/share/.nativescript-cli

1reaction
vanbumicommented, Aug 28, 2015

at last i did it! I am going this sudo chown -R dyo ~/.local/share/.nativescript-cli

thanks all guys 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found