can't run the template

Gravatar

when i run "yarn install" i have this error :

error C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-sass Output: Building: C:\Tools\nodejs\node.exe C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-gyp\bin\node-gyp.js rebuild --verbose --libsassext= --libsasscflags= --libsassldflags= --libsasslibrary= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli 'C:\Tools\nodejs\node.exe', gyp verb cli 'C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsassext=', gyp verb cli '--libsasscflags=', gyp verb cli '--libsassldflags=', gyp verb cli '--libsasslibrary=' gyp verb cli ] gyp info using [email protected] gyp info using [email protected] | 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 (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:13:12) gyp verb which failed at F (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:68:19) gyp verb which failed at E (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:80:29) gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:89:16 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\index.js:42:5 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:183:21) gyp verb which failed python2 Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:13:12) gyp verb which failed at F (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:68:19) gyp verb which failed at E (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:80:29) gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:89:16 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\index.js:42:5 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:183: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 (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:13:12) gyp verb which failed at F (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:68:19) gyp verb which failed at E (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:80:29) gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:89:16 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\index.js:42:5 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:183:21) gyp verb which failed python Error: not found: python gyp verb which failed at getNotFoundError (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:13:12) gyp verb which failed at F (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:68:19) gyp verb which failed at E (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:80:29) gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\which\which.js:89:16 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\index.js:42:5 gyp verb which failed at C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:183:21) { gyp verb which failed code: 'ENOENT' gyp verb which failed } gyp verb could not find "python". checking python launcher gyp verb could not find "python". guessing location gyp verb ensuring that file exists: C:\Python27\python.exe 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:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-gyp\lib\configure.js:484:19) gyp ERR! stack at PythonFinder. (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-gyp\lib\configure.js:509:16) gyp ERR! stack at callback (C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\graceful-fs\polyfills.js:295:20) gyp ERR! stack at FSReqCallback.oncomplete (fs.js:183:21) gyp ERR! System WindowsNT 10.0.17763 gyp ERR! command "C:\Tools\nodejs\node.exe" "C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsassext=" "--libsasscflags=" "--libsassldflags=" "--libsasslibrary=" gyp ERR! cwd C:\Dev\SI de la DSI\tmp\flatlogic-sing-app-react\nodemodules\node-sass gyp ERR! node -v v14.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1

Gravatar

gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

User profile image

Hi, [email protected]!

First, it looks like you need to install Python. See how to do it here.

Second, update the project from git, we just updated most packages and the project as a whole.

Best regards

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.