Kenil Vasani 646 Questions 567 Answers 77 Best Answers 26 Points View Profile 4 Kenil Vasani Asked: December 22, 20202020-12-22T07:09:24+00:00 2020-12-22T07:09:24+00:00 Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/node-sass/build’ 4 I am trying to run angular application and execute ng serve command then show Error: Cannot find module ‘node-sass’. angularnode.jsnpm Share Facebook 1 Answer Voted Kenil Vasani 646 Questions 567 Answers 77 Best Answers 26 Points View Profile Best Answer Kenil Vasani 2020-12-22T07:07:26+00:00Added an answer on December 22, 2020 at 7:07 am On Reply :- Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/node-sass/build' Ask Question Solution :- You need to change ownership of node_modules, because you use sudo npm install -g node-sass so its ownership set to root, To change ownership to current user as group – sudo chown -R root:YOUR_USERNAME /usr/local/lib/node_modules/ sudo chmod -R 775 /usr/local/lib/node_modules/ And never use sudo for npm related query. 7 Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp You must login to add an answer. Username or email* Password* Remember Me! Forgot Password?