I recently purchased the Material Design with Bootstrap for Angular.

https://mdbootstrap.com/angular/5min-quickstart/

I've been wrestling with my Mac trying to get it installed over the last 
few days, mainly permission issues.... The support guys over there are very 
cool and have been dealing with my beginner issues, but I think something 
else may be up with my system....

Whenever I run their install command from within my project, for example:
sudo npm 
install 
git+https://oauth2:[email protected]/mdb/angular/ng-pro.git
 
--save


I get a lengthy result but in it is always this problem:
...

gyp verb get node dir target node version installed: 8.9.4

gyp verb build dir attempting to create "build" dir: 
/Users/rich/Desktop/angular02/node_modules/node-sass/build

gyp ERR! configure error 

gyp ERR! stack Error: EACCES: permission denied, mkdir 
'/Users/rich/Desktop/angular02/node_modules/node-sass/build'

gyp ERR! System Darwin 15.6.0

...


But here's the problem: the error message says permission denied for the 
mkdir command on the directory, so I simply went and set the permissions on 
my project folder (and all enclosed items) to access for everyone. But the 
error still keeps coming and the install fails, and even running ng serve 
fails (complains it can't find module node-sass, which is what's being 
blocked). 
What else can I do besides manually setting my project folder's permissions 
to make this installation work? 

Yes, I've uninstalled, reinstalled Node/CLI/Angular....

Thanks,

Rich




My configuration:

Angular CLI: 1.5.0

Node: 8.9.4

OS: darwin x64

Angular: 5.2.0

... animations, common, compiler, compiler-cli, core, forms

... http, language-service, platform-browser

... platform-browser-dynamic, router


@angular/cli: 1.5.0

@angular-devkit/build-optimizer: 0.0.36

@angular-devkit/core: 0.0.22

@angular-devkit/schematics: 0.0.42

@ngtools/json-schema: 1.1.0

@ngtools/webpack: 1.8.0

@schematics/angular: 0.1.11

@schematics/schematics: 0.0.11

typescript: 2.5.3

webpack: 3.10.0


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to