Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2842

RangeError: number is not integral, js engine: hermes (Vague)

      Adding to the discussion from an old issue here because that previous issue was already closed. Hope it helps someone else too. Encountered this issue while at work: https://github.com/realm/realm-js/issues/6190

      My problem wasn't actually even related to the double or int column on my schema.

      It was actually "date".

      Mainly because I was doing:
      {{createdAt:

      { type: "date", default: "" }

      }}

      I know this is just some one-off mistake that I'll be able to keep in mind in the future. But I kinda wish there was some clearer error message to say that the culprit was the "createdAt" column.

      I noticed this vague error message happens to a lot of the fields in Realm which makes development kind of a pain.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: