react-native-react-bridge
react-native-react-bridge copied to clipboard
Non EcmaScript module
Hi @inokawa !
Your package looks great, congratulations ! Once I found it, I wanted to try it. And I did it ! But... it's not working.
The error :
./node_modules/react-native-react-bridge/lib/web/index.mjs 40:32-38
Can't import the named export 'render' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 6:18-29
Can't import the named export 'useCallback' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 15:13-24
Can't import the named export 'useCallback' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/web/index.mjs 41:37-46
Can't import the named export 'useEffect' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 5:12-18
Can't import the named export 'useRef' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/web/index.mjs 40:32-38
Can't import the named export 'render' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 6:18-29
Can't import the named export 'useCallback' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 15:13-24
Can't import the named export 'useCallback' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/web/index.mjs 41:37-46
Can't import the named export 'useEffect' from non EcmaScript module (only default export is available)
./node_modules/react-native-react-bridge/lib/index.mjs 5:12-18
Can't import the named export 'useRef' from non EcmaScript module (only default export is available)
The question is : what I have missed ?!
Thanks a lot for replying !