Foros del Web » Programando para Internet » Javascript » Frameworks JS »

react initialize

Estas en el tema de react initialize en el foro de Frameworks JS en Foros del Web. $ react-scripts start internal/modules/cjs/loader.js:589 throw err; ^ Error: Cannot find module '@mrmlnc/readdir-enhanced' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18) at ...
  #1 (permalink)  
Antiguo 01/04/2019, 10:56
Avatar de alfcm  
Fecha de Ingreso: mayo-2009
Mensajes: 291
Antigüedad: 14 años, 10 meses
Puntos: 7
react initialize

$ react-scripts start
internal/modules/cjs/loader.js:589
throw err;
^

Error: Cannot find module '@mrmlnc/readdir-enhanced'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
at Function.Module._load (internal/modules/cjs/loader.js:513:25)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (C:\xampp\htdocs\compropertee\node_modules\fast-glob\out\providers\reader-async.js:16:15)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

C:\xampp\htdocs\compropertee>
C:\xampp\htdocs\compropertee>npm install @mrmlnc/[email protected]
npm WARN [email protected] requires a peer of react@^15 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ @mrmlnc/[email protected]
updated 129 packages and audited 38378 packages in 65.582s
found 75 vulnerabilities (63 low, 10 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details

C:\xampp\htdocs\compropertee>yarn start
yarn run v1.15.2
$ react-scripts start
internal/modules/cjs/loader.js:589
throw err;
^

Hola, tengo un problema al inicializar en mi PC react, estoy ejecutando yarn start y tengo ese mensaje, pero ya instale mrmlnc/readdir-enhanced pero sigue el mismo error

Error: Cannot find module '@mrmlnc/readdir-enhanced'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
at Function.Module._load (internal/modules/cjs/loader.js:513:25)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (C:\xampp\htdocs\compropertee\node_modules\fast-glob\out\providers\reader-async.js:16:15)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  #2 (permalink)  
Antiguo 05/04/2019, 01:25
Avatar de Fuzzylog  
Fecha de Ingreso: agosto-2008
Ubicación: En internet
Mensajes: 2.511
Antigüedad: 15 años, 7 meses
Puntos: 188
Respuesta: react initialize

mmm igual hay una incompatibilidad con la versión de node package manager

Prueba esto

npm cache clean -f
npm -g install npm
__________________
if (fuzzy && smooth) {
fuzzylog = "c00l";
return true;
}
  #3 (permalink)  
Antiguo 05/04/2019, 09:19
Avatar de alfcm  
Fecha de Ingreso: mayo-2009
Mensajes: 291
Antigüedad: 14 años, 10 meses
Puntos: 7
Respuesta: react initialize

Hola Fuzzylog

Gracias por responder, hice lo que me indicaste, pero aun sigue el mismo problema, que otra solucion puede haber porfavor

Etiquetas: info, javascript
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:08.