Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

342
Views
Error: No hay ninguna versión de chokidar disponible. Probé chokidar@2 y chokidar@3. después de actualizar npm a 7.*.*

usando CRA expulsado, se compila con éxito y luego se rompe mostrando el siguiente error. Comenzó a suceder cuando actualicé npm a 7 desde 6

 You can now view webrms in the browser. Local: http://localhost:3001 On Your Network: http://192.168.0.160:3001 Note that the development build is not optimized. To create a production build, use npm run build. /home/murtaza/umai/webrms/node_modules/watchpack/lib/chokidar.js:17 throw new Error( ^ Error: No version of chokidar is available. Tried chokidar@2 and chokidar@3. You could try to manually install any chokidar version. chokidar@3: Error: Cannot find module 'chokidar' Require stack: - /home/murtaza/umai/webrms/node_modules/watchpack/lib/chokidar.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/DirectoryWatcher.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/watcherManager.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/watchpack.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/node/NodeWatchFileSystem.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/webpack.js - /home/murtaza/umai/webrms/scripts/start.js chokidar@2: Error: Cannot find module 'watchpack-chokidar2' Require stack: - /home/murtaza/umai/webrms/node_modules/watchpack/lib/chokidar.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/DirectoryWatcher.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/watcherManager.js - /home/murtaza/umai/webrms/node_modules/watchpack/lib/watchpack.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/node/NodeWatchFileSystem.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js - /home/murtaza/umai/webrms/node_modules/webpack/lib/webpack.js - /home/murtaza/umai/webrms/scripts/start.js at Object.<anonymous> (/home/murtaza/umai/webrms/node_modules/watchpack/lib/chokidar.js:17:7) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/murtaza/umai/webrms/node_modules/watchpack/lib/DirectoryWatcher.js:9:16) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)

¿Alguien tiene el mismo problema? En caso afirmativo, ¿cuál es la solución?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Recibí el mismo error al usar npm@7.13.0 y pude solucionarlo cambiando a npm@7.5.4 o ejecutando el comando npm update --force .

over 4 years ago · Santiago Trujillo Report

0

Tratar:

 npm i --legacy-peer-deps

Para más información echa un vistazo a:

https://github.com/facebook/create-react-app/issues/10811

over 4 years ago · Santiago Trujillo Report

0

definitivamente hay algo mal con npm 7.*.* .. probé npm i --legacy-peer-deps y funcionó para mí...

sin embargo, no debería ser así y las dependencias deberían manejarse en la última versión estable.

aquí está el razonamiento detallado de por qué puede causar:

¿Qué hace exactamente npm install --legacy-peer-deps? ¿Cuándo se recomienda? ¿Cuál es un posible caso de uso?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!