Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/04/2019, 10:56
Avatar de alfcm
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.