0
I’m getting NPM errors when i’m try to start a project on Inonic 3. After giving a clone in my repository in GitHub and npm install i got this error.
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\\desktop\appIonic\ionic\Learn-Ionic-3-From-Scratch-Firebase-CRUD\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\\desktop\appIonic\ionic\Learn-Ionic-3-From-Scratch-Firebase-CRUD\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Users\cabel\OneDrive\Área de Trabalho\appIonic\ionic\Learn-Ionic-3-From-Scratch-Firebase-CRUD\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\Users\\desktop\appIonic\ionic\Learn-Ionic-3-From-Scratch-Firebase-CRUD\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\\desktop\appIonic\ionic\Learn-Ionic-3-From-Scratch-Firebase-CRUD\node_modules\node-sass
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.3 postinstall: `node scripts/build.js`
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Roaming\npm-cache\_logs\2019-05-02T01_42_36_715Z-debug.log
1You need to set the
PYTHON
environment variable. – Aulis Ronkainen – 2019-05-02T03:12:12.127