
DEL RIO JUNCA JUAN CARLOS
PreguntaBuenos Dias
Tengo un problema con los cursos del profesor nicolas, los funtes de platzi-store me fallan, quiciera saber si a alguien tambien le pasa y le sale mi error.
mis instalaciones son
node v14.1.0
npm 6.14.4
Your global Angular CLI version (9.1.4) is greater than your local
version (8.3.20). The local Angular CLI version is used.
To disable this warning use “ng config -g cli.warnings.versionMismatch false”.
_ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / *
| | | | |/ _
/ ___ | | | | (| | || | | (| | | | |**| |___ | |
// __| ||_, |_,||_,|| _|*|_|
|___/
Angular CLI: 8.3.20
Node: 14.1.0
OS: win32 x64
Angular: 8.2.14
… animations, common, compiler, compiler-cli, core, forms
… language-service, platform-browser, platform-browser-dynamic
… router, service-worker
Package Version
@angular-devkit/architect 0.803.20
@angular-devkit/build-angular 0.803.20
@angular-devkit/build-optimizer 0.803.20
@angular-devkit/build-webpack 0.803.20
@angular-devkit/core 8.3.20
@angular-devkit/schematics 8.3.20
@angular/cdk 8.2.3
@angular/cli 8.3.20
@angular/fire 5.2.3
@angular/material 8.2.3
@angular/pwa 0.803.20
@ngtools/webpack 8.3.20
@schematics/angular 8.3.20
@schematics/update 0.803.20
rxjs 6.4.0
typescript 3.5.3
webpack 4.39.2
-------------------ERROR-----------------
#npm install
grpc@1.24.2 install D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc
node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.24.2/node-v83-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for grpc@1.24.2 and node@14.1.0 (node-v83 ABI, unknown) (falling back to source compile with
node-gyp)
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if “python” can be used
gyp ERR! find Python - “python” is not in PATH or produced an error
gyp ERR! find Python checking if “python2” can be used
gyp ERR! find Python - “python2” is not in PATH or produced an error
gyp ERR! find Python checking if “python3” can be used
gyp ERR! find Python - “python3” is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - “py.exe” is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Python27\python.exe
gyp ERR! find Python - “C:\Python27\python.exe” could not be run
gyp ERR! find Python checking if Python is C:\Python37\python.exe
gyp ERR! find Python - “C:\Python37\python.exe” could not be run
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
gyp ERR! stack at exithandler (child_process.js:310:5)
gyp ERR! stack at ChildProcess.errorhandler (child_process.js:322:5)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
gyp ERR! stack at onErrorNT (internal/child_process.js:468:16)
gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “configure” “–fallback-to-build” “–library=static_library” “–module=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown\grpc_node.node” “–module_name=grpc_node” “–module_path=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown” “–napi_version=6” “–node_abi_napi=napi” “–napi_build_version=0” "–node_napi_label=node-v83"
gyp ERR! cwd D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc
gyp ERR! node -v v14.1.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute ‘C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83’ (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Windows_NT 10.0.17763
node-pre-gyp ERR! command “C:\Program Files\nodejs\node.exe” “D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\node_modules\node-pre-gyp\bin\node-pre-gyp” “install” “–fallback-to-build” "–library=static_library"
node-pre-gyp ERR! cwd D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc
node-pre-gyp ERR! node -v v14.1.0
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
node-pre-gyp ERR! not ok
Failed to execute ‘C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=D:\CURSOS\PLATZI\14.PROGRESSIVE_WEB_APPS_CON_ANGULAR\curso-pwa-angular-master\node_modules\grpc\src\node\extension_binary\node-v83-win32-x64-unknown --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83’ (1)
npm WARN axobject-query@2.1.1 requires a peer of eslint@^5 || ^6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\karma\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules@angular\compiler-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc@1.24.2 install:
node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.24.2 install 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\Juan Carlos\AppData\Roaming\npm-cache_logs\2020-09-01T13_25_16_429Z-debug.log

Juan Luna
Yo tengo el mismo problema y no se soluciona de ninguna manera, ni siquiera haciendo el proyecto de nuevo, ni actualizando ni de ninguna de las 800 formas que encontré en stack over flow.
yo uso angular 15.0 y este está en 8.2.x
npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: karma-jasmine-html-reporter@1.7.0 npm WARN Found: jasmine-core@3.4.0 npm WARN node_modules/jasmine-core npm WARN dev jasmine-core@"3.4.0" from the root project npm WARN 1 more (karma-jasmine) npm WARN npm WARN Could not resolve dependency: npm WARN peer jasmine-core@">=3.8" from karma-jasmine-html-reporter@1.7.0 npm WARN node_modules/karma-jasmine-html-reporter npm WARN dev karma-jasmine-html-reporter@"1.7.0" from the root project npm WARN npm WARN Conflicting peer dependency: jasmine-core@4.5.0 npm WARN node_modules/jasmine-core npm WARN peer jasmine-core@">=3.8" from karma-jasmine-html-reporter@1.7.0 npm WARN node_modules/karma-jasmine-html-reporter npm WARN dev karma-jasmine-html-reporter@"1.7.0" from the root project npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated date-format@2.1.0: 2.x is no longer supported. Please upgrade to 4.x or higher. npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead npm WARN deprecated node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now npm WARN deprecated streamroller@1.0.6: 1.x is no longer supported. Please upgrade to 3.x or higher. npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated @schematics/update@0.803.29: This was an internal-only Angular package up through Angular v11 which is no longer used or maintained. Upgrade Angular to v12+ to remove this dependency. npm WARN deprecated log4js@4.5.1: 4.x is no longer supported. Please upgrade to 6.x or higher. npm WARN deprecated protractor@5.4.4: We have news to share - Protractor is deprecated and will reach end-of-life by Summer 2023. To learn more and find out about other options please refer to this post on the Angular blog. Thank you for using and contributing to Protractor. https://goo.gle/state-of-e2e-in-angular npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated core-js@3.6.4: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated core-js@3.6.5: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 255 npm ERR! path C:\__XZONE__\____02 ZONA DE APRENDIZAJE____\01 CURSOS\05 Curso de Angular\06 curso-angular-pwa\node_modules\swiper npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c C:\Users\desar\AppData\Local\Temp\postinstall-1e528701.cmd npm ERR! "Love Swiper? Support Vladimir's work by donating or pledging on patreon: npm ERR! La sintaxis del comando no es correcta. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\desar\AppData\Local\npm-cache\_logs\2023-02-01T21_08_19_430Z-debug-0.log

Juan Camilo Guerrero González
Hola, en tu proyecto corre el siguiente comando (rm -rf node_modules) desinstalas las dependencias del proyecto y luego corres ( NPM I ) y vuelves a instalar luego corres, ng update y actualizar el proyecto a tu versión, según lo que veo los CLI son de diferentes versiones
Erik Ochoa
Hay unas dependencias que no están encontrando el binario a python, ¿lo tienes en tus variables de ambiente? ¿puedes correr el comando python en terminal sin problemas?
gyp ERR! stack Error: Could not find any Python installation to use