Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Base Does Not Work #234

Open
JimLynchCodes opened this issue Aug 5, 2019 · 1 comment
Open

Advanced Base Does Not Work #234

JimLynchCodes opened this issue Aug 5, 2019 · 1 comment

Comments

@JimLynchCodes
Copy link

JimLynchCodes commented Aug 5, 2019

Hi, I am trying to use advanced-base, but it totally breaks my app.

To reproduce:

  1. create a react app.
react-native init my-app
  1. Run advanced base generator
yo rn-toolbox:advanced-base

(say yes to all overwrite questions)

  1. 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

@JimLynchCodes
Copy link
Author

blumpkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant