Hi,
I'm using react-primitives on Expo v19.0.0 while enabling Minify mode (Uglify). I found that react-primitives cause the error:
Error: Uncaught error in the transformer worker: D:\Office\learn\test\node_modules\metro-bundler\build\transformer.js
at _transform.then.catch.error (D:\Office\learn\test\node_modules\metro-bundler\build\JSTransformer\index.js:147:31)
at process._tickCallback (internal/process/next_tick.js:109:7)
This error is gone if you disable Minify mode or remove react-primitives.
You can try by using create-react-native-app
- require
react-primitives in your code.
- enable minify mode by edit setting file in
./.expo/settings.json with:
{
...
"minify": true,
...
}
- run
yarn start or npm start in your command line to start a project
- access a project with your phone or access to bundleUrl directly on your browser
- error should display on your command line
This error occurs on both platforms.
Hi,
I'm using
react-primitiveson Expo v19.0.0 while enabling Minify mode (Uglify). I found thatreact-primitivescause the error:This error is gone if you disable Minify mode or remove
react-primitives.You can try by using
create-react-native-appreact-primitivesin your code../.expo/settings.jsonwith:yarn startornpm startin your command line to start a projectThis error occurs on both platforms.