Open davidebianchi opened 8 years ago
Thank you for the information! I got a little different error:
TransformError: [project_path]/node_modules/asteroid/lib/asteroid.js: Couldn't find preset "es2015" relative to directory "[project_path]/node_modules/asteroid"
After I installed babel-preset-es2015 and babel-preset-stage-0 and restart the app, still the same error. Any suggestions? Thanks!
I also tried 3.0.0-alpha branch and clean the cache, but still the same error.
Hi @tongdu99,
Did you have a .babelrc
file in your project?
[x] AsyncStorage in React Native is not global.
Solution:
AsyncStorage
locally, you can use asteroid#3.0.0-alpha.[ ] Error with
node-haste
persisting cache Error stack trace:and, after install
babel-preset-es2015
Fix:
babel-preset-es2015
andbabel-preset-stage-0
[ ] Error with
EventEmitter
: #90Possible causes: It seems to be a problem when different version of
wolfy87-eventemitter
inddp.js
andasteroid
are included.Fix: If you have this issue, try to install
wolfy87-eventemitter
as adependency
.For any question about React-Native, please retry in this topic.