-
-
Notifications
You must be signed in to change notification settings - Fork 197
Cannot create a new project (EACCES) #815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @sturcpavel, What is your OS? Have you previously installed NativeScript or Telerik AppBuilder CLI? We used to have a bug which erroneously created files with root permissions, maybe it is a regression or we missed something in the original bug fix. |
Hi @teobugslayer, I have Ubuntu 14.04 with last updates, I haven't installed NS or Telerik AppBuilder CLI before. I hope this will help. |
Hi @sturcpavel , Thank you for the additional information. It looks like you have the same issue as this one. You can track the progress of the issue there, so I'm closing this thread. Feel free to contact us in case you have any problems or concerns. |
so which one the solution? I have same problem? I use ubuntu 14.04 |
This worked for me: |
Hi sturcpavel dyo@dyo-NEON-CNW:~/nativeScript$ sudo chown -R $(dyo@dyo) $HOME/.local/share/.nativescript-cli |
instead i also try this: i don't have idea what happened? |
at last i did it! I am going this sudo chown -R dyo ~/.local/share/.nativescript-cli thanks all guys :) |
FYI: |
I needed the same fix in latest-of-everything Ubuntu 18.04, that is one mysterious regression! |
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
The text was updated successfully, but these errors were encountered: