Oleg Kuzava
Oleg Kuzava
hmm, facing the same issue I've resolved it by adding `exclude: /node_modules\/realm\//` into babel config as I see, the main issue was having this plugin`'@babel/plugin-proposal-private-methods'`
@ronkorland here it is ``` module.exports = { presets: [ '@babel/preset-env', '@babel/preset-typescript', '@babel/preset-react', 'module:@react-native/babel-preset', '@babel/preset-flow', ], plugins: [ '@babel/plugin-transform-react-jsx', '@babel/plugin-syntax-class-properties', '@babel/plugin-proposal-nullish-coalescing-operator', ['@babel/plugin-proposal-private-methods', { loose: true }], ['@babel/plugin-transform-private-property-in-object', { loose: true...
I've the same issue when using 12.9.0, as workaround this might help (adjust your jest config): ```ts moduleNameMapper: { '^@realm/fetch$': '/node_modules/@realm/fetch/dist/react-native/react-native.js', '^realm$': '/node_modules/realm/dist/platform/node/index.js', }, ```
I think we should make this graph version configurable and fallback to some default one which is still supported by facebook would you like to extend your MR with this...