
Joel Vicente Nieto Gómez
PreguntaPorque me salen estos errores?
λ npm run deploy > react-base@1.0.0 deploy C:\Users\joeni\cursos\react-base > npm run format && npm run build > react-base@1.0.0 format C:\Users\joeni\cursos\react-base > prettier --write '{*.js,src/**/*.{js,jsx}}' [error] No matching files. Patterns tried: '{*.js,src/**/*.{js,jsx}}' !**/node_m odules/** !./node_modules/** !**/.{git,svn,hg}/** !./.{git,svn,hg}/** npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! react-base@1.0.0 format: `prettier --write '{*.js,src/**/*.{js,jsx}}'` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the react-base@1.0.0 format script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\joeni\AppData\Roaming\npm-cache\_logs\2020-09-05T04_35_40_ 874Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! react-base@1.0.0 deploy: `npm run format && npm run build` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the react-base@1.0.0 deploy script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\joeni\AppData\Roaming\npm-cache\_logs\2020-09-05T04_35_40_ 979Z-debug.log ```

Juan Felipe Barahona Gonzalez
Deben eliminar de
'{*.js,src/**/*.{js,jsx}}'
las comillas simples
''
Saludos

Agustina Corvo
Creo que pasa porque hay que instalar las dependencias. Me ocurrió lo mismo y ejecuté:
npm install
Luego pude ejecutar deploy correctamente.
Daniel Omar Hernández Muñoz
tengo el mismo problema, me sale esto
dann@dann-Lenovo-B40-80:~/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base$ npm run hola > react-base@1.0.0 hola /home/dann/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base > node > .exit dann@dann-Lenovo-B40-80:~/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base$ npm run deploy > react-base@1.0.0 deploy /home/dann/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base > npm run format && npm run build > react-base@1.0.0 format /home/dann/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base > prettier --write '{*.js,src/**/*.{js,jsx}}' sh: 1: prettier: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! react-base@1.0.0 format: `prettier --write '{*.js,src/**/*.{js,jsx}}'` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the react-base@1.0.0 format script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /home/dann/.npm/_logs/2020-12-23T14_32_47_023Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-base@1.0.0 deploy: `npm run format && npm run build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-base@1.0.0 deploy script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /home/dann/.npm/_logs/2020-12-23T14_32_47_104Z-debug.log dann@dann-Lenovo-B40-80:~/Documentos/Curso de Gestión de Dependencias y Paquetes con NPM/Practice/practice1/react-base$
encontraste solución?