Topic: Can't get Tutorialto run

declan.ward premium asked 3 years ago


Expected behavior The tutorial should install and run

Actual behavior Errors on installing dependcies

The problem seems to be: Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node":

Resources (screenshots, code snippets etc.) PS F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here> npm install

node-sass@4.11.0 install F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-sass node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/win32-x64-72_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080

node-sass@4.11.0 postinstall F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-sass node scripts/build.js

Building: C:\Program Files\nodejs\node.exe F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli 'C:\Program Files\nodejs\node.exe', gyp verb cli 'F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' gyp verb cli ] gyp info using node-gyp@3.8.0 gyp info using node@12.8.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:13:12) gyp verb which failed at F (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:68:19) gyp verb which failed at E (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:80:29) gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:89:16 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\index.js:42:5 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:165:21) gyp verb which failed python2 Error: not found: python2 gyp verb which failed at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:13:12) gyp verb which failed at F (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:68:19) gyp verb which failed at E (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:80:29) gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:89:16 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\index.js:42:5 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:165:21) { gyp verb which failed stack: 'Error: not found: python2\n' + gyp verb which failed ' at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:13:12)\n' + gyp verb which failed ' at F (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:68:19)\n' + gyp verb which failed ' at E (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:80:29)\n' + gyp verb which failed ' at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:89:16\n' + gyp verb which failed ' at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\index.js:42:5\n' + gyp verb which failed ' at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\windows.js:36:5\n' + gyp verb which failed ' at FSReqCallback.oncomplete (fs.js:165:21)', gyp verb which failed code: 'ENOENT' gyp verb which failed } gyp verb check python checking for Python executable "python" in the PATH gyp verb which failed Error: not found: python gyp verb which failed at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:13:12) gyp verb which failed at F (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:68:19) gyp verb which failed at E (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:80:29) gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:89:16 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\index.js:42:5 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:165:21) gyp verb which failed python Error: not found: python gyp verb which failed at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:13:12) gyp verb which failed at F (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:68:19) gyp verb which failed at E (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:80:29) gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\which\which.js:89:16 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\index.js:42:5 gyp verb which failed at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:165:21) { gyp verb which failed stack: 'Error: not found: python\n' + gyp verb which failed ' at getNotFoundError (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\sgyp ERR! stack at PythonFinder. (F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-gyp\lib\configure.js:509:16) gyp ERR! stack at F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\graceful-fs\polyfills.js:282:31 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:165:21) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\Program Files\nodejs\node.exe" "F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd F:\DNN Development\Angular 2 plus\Angular Tutorial\Angular-Tutorial-Agenda-App-master\getting-started\start-here\node_modules\node-sass gyp ERR! node -v v12.8.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.6 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.6: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.11.0 (node_modules\node-sass): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.11.0 postinstall: node scripts/build.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 1092 packages from 1056 contributors and audited 40166 packages in 22.558s found 585 vulnerabilities (2 low, 3 moderate, 580 high) run npm audit fix to fix them, or npm audit for details


Arkadiusz Idzikowski staff commented 3 years ago

What is your version number of Node, Angular and MDB Angular?


declan.ward premium answered 3 years ago


node v12.8.0

Angular - was 8.2.2 but I downgraded to 7.3.9

MDB Angular

"typings": "ng-uikit-pro-standard.d.ts",

"version": "8.1.1"

I have since installed the tutorial on another machine and it is working with Angular 7.3.9 (Global) and 7.2.2 (local)


Arkadiusz Idzikowski staff commented 3 years ago

MDB 8 is not compatible with Angular 7.x.x. Please upgrade your Angular version.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 7.2.0
  • Device: PC
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: Yes