Giter Site home page Giter Site logo

Comments (7)

ldoot avatar ldoot commented on June 16, 2024 2

@kneth thanks for you response.

We are using v12.6.2 due to the export of the Unmanaged type, however I reverted back to 12.6.0 to test your assertion and it still falls over on the import, albeit this time with a TypeError rather than an 'Cannot find module' error.

 FAIL  src/__tests__/useStartOfDayData.spec.tsx
  ● Test suite failed to run

    TypeError: Cannot read properties of undefined (reading 'bind')

      1 | import React from "react";
    > 2 | import Realm from "realm";

Let me know if there's any more information I can provide to help with this.

from realm-js.

sync-by-unito avatar sync-by-unito commented on June 16, 2024

➤ PM Bot commented:

Jira ticket: RJS-2766

from realm-js.

kneth avatar kneth commented on June 16, 2024

@ldoot Thank you for reporting.

In v12.6.1 we migrated away from rollup, and I wonder if it has an impact on Jest. Is it possible to try v12.6.0 to give us an indication?

from realm-js.

Acetyld avatar Acetyld commented on June 16, 2024
   Cannot find module '/Users/diongrendelman/Projects/verbleif/verbleifapp/node_modules/realm/binding/build/realm.node' from '/Users/diongrendelman/Projects/verbleif/verbleifapp/node_modules/realm/binding/generated'

    Require stack:
      node_modules/realm/binding/generated/native.node.cjs
      node_modules/realm/dist/platform/node/binding.js
      node_modules/realm/dist/platform/node/index.js
      node_modules/realm/index.react-native.js
      src/database/schemas/ClientSchema.ts
      src/database/realm.config.ts

Same issue here

"realm": "^12.6.2",

from realm-js.

Acetyld avatar Acetyld commented on June 16, 2024

Update, not happining on 12.6.0

from realm-js.

villemuittari avatar villemuittari commented on June 16, 2024

I had the same problem. Doesn't happen on 12.6.0.

from realm-js.

ldoot avatar ldoot commented on June 16, 2024

I appreciate that this issue may be fixed with a downgrade as mentioned to be working by Acetyld and villemuittari, however as we are making use of the Unmanged type exported in v12.6.2 this can't work in our case and I suspect the case of others too.
Is there any other possible fix for this issue?

from realm-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.