Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

452
Visualizações
Error: Error parsing triggers: Cannot find module 'geofire-wrapper'

I am trying to use geo-fire lib from this github repo ( https://github.com/tobias74/geofire-js/tree/upgrade-to-v9-modular) as the source lib is not supporting firebase 9 but I keep getting this error

Error: Error parsing triggers: Cannot find module 'geofire-wrapper'

when deploying the function to firebase. This is how I am trying to use

var GeoFire = require('geofire-wrapper');

I installed the lib in functions folder and also see it exists in package.json. Not able to figure what's causing the error.

tsconfig file

 {
  "compilerOptions": {
    "module": "commonjs",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "noImplicitAny": false,
    "outDir": "lib",
    "sourceMap": true,
    "strict": true, 
    "target": "es2017",
    "resolveJsonModule": true,
    "strictPropertyInitialization": false,
    "allowJs": true
  },
  "compileOnSave": true,
  "include": [
    "src/*.js",
    "./functions/*.js", 
    "src/*.ts"],
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda