React Native : TransformError with babel-plugin-add-module-exports
See original GitHub issueHello,
Fuse does’nt work with React Native since 3.X
Importing Fuse in a react-native projet causes an issue with babel-plugin-add-module-exports :
TransformError: […]/node_modules/fuse.js/dist/fuse.js: Unknown plugin "babel-plugin-add-module-exports" specified in "[…]/node_modules/fuse.js/.babelrc" at 0, attempted to resolve relative to "[…]/node_modules/fuse.js"
Is there an extra step to do on a react-native project ? Thank’s
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:7
Top Results From Across the Web
React-native app crashes when installing fuse.js with ...
I encountered the same issue and got it resolved by installing the missing npm modules: npm install --save-dev babel-preset-es2015 ...
Read more >State - React Native
There are two types of data that control a component: props and state. props are set by the parent and they are fixed...
Read more >[Solved]-React-native app crashes when installing fuse.js with ...
Coding example for the question React-native app crashes when installing fuse.js with transform error.
Read more >TransformError when running React Native Gettin...anycodings
Answers 4 : of TransformError when running React Native Getting Started project (iOS). It is caused by bug in anycodings_react-native babel-preset-react-native.
Read more >Error Boundaries - React
Error boundaries are React components that catch JavaScript errors anywhere ... We also encourage you to use JS error reporting services (or build...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try
import Fuse from 'fuse.js/src';
Hey there, following the discussion, @krisk would you mind publish a release to npm? Thanks in advance!