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

258
Views
Error de trabajador de páginas de Cloudflare al ejecutar wrangler dev

Estoy siguiendo este tutorial (para que las páginas de Cloudflare funcionen con fauna db), pero cuando llego al capítulo "Prueba e implementación del Worker" e intento ejecutar wrangler dev (que ejecutará npm run build , que a su vez ejecuta worktop build index.js ) Recibo el mensaje de error sh: worktop: command not found .

Verifiqué dos veces que seguí cada paso correctamente, verifiqué si la worktop estaba presente en el directorio node_modules (lo está) y también intenté instalar la worktop globalmente (no funcionó).

¿Que me estoy perdiendo aqui?

Salida completa de ejecución de wrangler dev :

 $ wrangler dev 🌀 Running npm run build > fauna-demo-workers@1.0.0 build /Users/me/dev/fauna-demo-workers > worktop build index.js sh: worktop: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! fauna-demo-workers@1.0.0 build: `worktop build index.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the fauna-demo-workers@1.0.0 build 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! /Users/me/.npm/_logs/2022-01-09T12_54_24_718Z-debug.log Error: Build failed! Status Code: 1
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

tienes que instalar el paquete worktop.build . De ahí viene el binario de la worktop . El paquete llamado "superficie de trabajo" es solo una biblioteca de tiempo de ejecución. No todos querrán usar su CLI/constructor obstinado, de ahí el paquete separado.

(Soy el autor de encimera y encimera.construir)

about 4 years ago · Juan Pablo Isaza 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!