ultimatecourses/angular-pro-src

npm install Error: `make` failed with exit code: 2

Closed this issue · 1 comments

I tried to run npm install on several projects of this repository. I did this on a Mac so I had to install XCode and other stuff - and finally, npm install still gives an error:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/christian/Git/ultimatecourses/angular/angular-pro-src/03-projecting-components/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/usr/local/bin/node" "/Users/christian/Git/ultimatecourses/angular/angular-pro-src/03-projecting-components/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/christian/Git/ultimatecourses/angular/angular-pro-src/03-projecting-components/node_modules/node-sass
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
Build failed with error code: 1
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"14.15.4","npm":"6.14.10"})
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 

This repository really seems outdated. How can I follow the course with the code?

Hey @contra8! Sorry for that, the link for the GitHub Project was mistakenly removed recently from the inside the course dashboard, I've just added it back into the Setup Instructions, for ease you can download the seed project by clicking here as we use the same project boilerplate as the Angular Fundamentals to keep things simple. Thank you and enjoy!