Showing posts with label issues. Show all posts
Showing posts with label issues. Show all posts

Friday, December 23, 2016

Ubuntu graphics driver Issues

Ubuntu graphics driver Issues


Truth be told, its hard to find a topic nowadays that has not been discussed by someone else. Since Ive been scratching my head for several months with the Ubuntu Graphics Problems (Particularly the X.Org servers) Ive been browsing through the net and was successfully failing gaining knowledge every time. So instead of posting anything that eventually looks like someone elses post, Ill just list up some links that seem or are useful.

Ubuntu Video Driver Repair
How To Install Latest Intel Driver 2.12 On Ubuntu 10.04 (Lucid Lynx)
How do I recover from this broken upgrade(?)?
Matter solved in my own blog :)


Go to link download

Read more »

Tuesday, October 25, 2016

NodeJS permission issues troubleshooting path

NodeJS permission issues troubleshooting path


It was such a terrifying experience to have node and especially yeoman not work because of weird permission issues. I fixed the issues finally and kind of think theres pattern to it. This is not a full and final cookbook type of thingy but you might wanna check this method out in case you are stuck with the same issues. First of all
1. If the problem is not in your project directory then it must me in your ~/.config and ~/.npm directories. As you may have seen many newbies of node opt to the sudo method of installing things. But this causes problem regarding permission when yeoman comes in as some of the commands need access to areas where root is not permitted and if you do not use sudo before yo, you get errors about some of the errors where you need root. This mess up is simply caused by sometimes using sudo and sometimes not. Which you have to do because you do not own the ~/.npm directory. Just own it using

sudo chown -R `whoami` ~/.npm
2. If the problem still persists, check your project directories node_modules directory if it has any subdirectory or file deep inside where access is needed it has root privileges required. So you can use the same owning method there too

sudo chown -R `whoami` ~/.npm
3. Always try to install non globally. This will save you a lot of trouble.

Credits: Stackoverflow [ http://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo ]

Go to link download

Read more »