You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to use advanced-base, but it totally breaks my app.
To reproduce:
create a react app.
react-native init my-app
Run advanced base generator
yo rn-toolbox:advanced-base
(say yes to all overwrite questions)
Start app locally
react-native run-ios
Result- app crashes with this output:
error: bundling failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/babel-preset-react-native/index.js
at createDescriptor (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-descriptors.js:178:11)
at items.map (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-chain.js:320:26)
at /Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/Users/jim/Git-Projects/React-Native-With-A-Friend/WithFriend2/node_modules/@babel/core/lib/config/config-chain.js:120:22)
I am using:
node v10.16.0
react - 16.8.6
rn-toolbox - 3.1.0
The text was updated successfully, but these errors were encountered:
Hi, I am trying to use advanced-base, but it totally breaks my app.
To reproduce:
(say yes to all overwrite questions)
Result- app crashes with this output:
I am using:
node v10.16.0
react - 16.8.6
rn-toolbox - 3.1.0
The text was updated successfully, but these errors were encountered: