Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

195
Vistas
nodejs .node-xmlhttprequest-sync-1 file created

I am using google cloud function with nodejs12 runtime and I am getting the following error.

EROFS: read-only file system, open '.node-xmlhttprequest-sync-1'"

nodejs (express.js) is creating a file in same level as index.js which is not permitted (files should be created in /tmp/ in cloud functions)

  • why is this file created
  • if this is necessary, how to ensure its created in /tmp
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

This file is created by the node-XHMLHttpRequest library when the settings.async flag is set to false: https://github.com/driverdan/node-XMLHttpRequest/blob/master/lib/XMLHttpRequest.js#L480

Are you or any functions you're importing using this library? If so, the quickest fix would be to use async requests.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda