Unable to resolve module `react-native/Libraries/EventEmitter/EventEmitter`
2017-11-05 22:47
489 查看
React Native项目编译报错;遇到这个问题,很神奇,版本问题,Google了一下,最后解决了如下
原帖在这。 特此mark
上面替换不是绝对,A改为B或者是B改为A
原帖在这。 特此mark
change import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter'; to import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
上面替换不是绝对,A改为B或者是B改为A
相关文章推荐
- React native 常见错误:unable to resolve module react-native-scrollable-tab-view
- react-native报错-Unable to resolve module ‘react’
- React-Native_学习笔记1: Unable to resolve module Dimensions from “...js” Invalid directory /Users/node_m
- Unable to resolve module `react/lib/ReactComponentWithPureRenderMixin`
- react native打包出现unable to process incoming event 'ProcessComplete' <ProgressCompleteEvent>
- react-native打包时提示Unable to process incoming event ‘ProgressComplete ’ (ProgressCompleteEvent),但是并没有使
- error: bundling: UnableToResolveError: Unable to resolve module `react/lib/ReactDebugCurrentFrame`
- Unhandled event loop exception unable to create new native thread
- 解决React Native unable to load script from assets index.android.bundle on windows
- unable to resolve module
- React-Native Android真机测试 -unable to load script from assets 'index.android bundle'...
- react-native 最新版本爬坑经历(unable to load script from assets 和could not connect to development server.)
- react-native:unable to download js bundle
- 解决React Native unable to load script from assets index.android.bundle on windows
- Unable to resolve module LinkedStateMixin
- React-Native RCTEventEmitter (OC方法调用RN方法)
- react native com.android.ddmlib.InstallException: Unable to upload some APKs我踩过的坑
- Unable to install E:\react-native-APP-master\android\app\build\outputs\apk\app-debug.apk
- React-Native新版本RCTEventEmitter的使用(从原生发送消息到JS)
- react-native 启动的时候报错unable to load script from assets 'index.android bundle'