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

260
Vistas
Can't run .value() on non-existant property of non-existant object

i use stormdb my database structure:

(id == 1)

[id]: {
    text: [
      "example", "text"
    ],
    pictures: ["111"],
    chance: {
      "global": 20,
      "demotivator": 10,
      "poll": 10,
      "mem": 10,
      "sticker": 10,
      "bugurt": 10,
      "anekdot": 10
    },
    isGold: false
  }

i want to push in "text" string "hello", use this:

db.get(`conversations`).get(1).get("text").push("hello").save();

but i have error: Error: Can't run .value() on non-existant property of non-existant object.

what can i do?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This means your database is not stored or named the way you think it is.
You might have created it wrong.

Try each of these:


console.log( db.get( 'conversations' ).value() );

If it fails, your database does not exist.


console.log( db.get( 'conversations' ).get( 1 ).value() );

If it fails, there is no id '1' entry.


console.log( db.get( 'conversations' ).get( 1 ).get( "text" ).value() );

If it fails, your 'text' list does not exist.


This will tell you what part of your database or entry is missing.

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