-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
init new project error with React-Native 0.43-rc4 #13078
Comments
I confirm the problem. It's is due to the React version 16.0.0-alpha.5 published on NPM yesterday. Fix your React version to It's a serious issue though, because all existing projects using 0.43-rc* are concerned. |
npm ERR! notarget No compatible version found: react-test-renderer@16.0.0-alpha.4 |
16.0.0-alpha.3 is ok. |
Reviewed By: sebmarkbage Differential Revision: D4615201 fbshipit-source-id: fc62b44aa866e096faa1cb048db361bb8c6ab11f
I think the problem is that we didn't pin the React version during one of the previous syncs: 24a7665#commitcomment-21457443. So now every time we release a new alpha of For people in this thread, the solution is to pin your |
(And we need to pin React versions in the future, just like we did before. I'm not sure why we broke the pattern, and whether it was intentional or not.) |
The package build issue should be resolved as far as I'm aware with a2cfea1 |
Fix up in #13121. |
The solution suggested by ncuillery did not work for me. I still get same "No bundle url present" error. |
Same in here. Even a new project with react-native 0.43.3 gives me the same issue. |
NPM version: 4.4.1
Xcode version: 8.2 (8C38)
React Native version: 0.43-rc1~4
Platform: iOS
Operating System: MacOS os x EI Capitan
react-native 0.42.3 no problem.
react-native init --version="0.43.0-rc.4" FlatListTest4
error message:
2017-03-22 18:24:09.965 [warn][tid:NSOperationQueue 0x618000030700 :: NSOperation 0x61800004f390 (QOS: DEFAULT)][RCTBatchedBridge.m:113] Failed to load source: Error Domain=JSServer Code=500 "Unable to resolve module
react/lib/ReactComponentWithPureRenderMixin
from/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react-native/Libraries/react-native/react-native-implementation.js
: Module does not exist in the module map or in these directories:/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react/lib
This might be related to #4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
ornpm start --reset-cache
." UserInfo={stack=({
file = "";
lineNumber = 0;
methodName = "";
}
), NSLocalizedDescription=Unable to resolve module
react/lib/ReactComponentWithPureRenderMixin
from/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react-native/Libraries/react-native/react-native-implementation.js
: Module does not exist in the module map or in these directories:/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react/lib
This might be related to #4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
ornpm start --reset-cache
.}2017-03-22 18:24:09.978 [fatal][tid:main] Unable to resolve module
react/lib/ReactComponentWithPureRenderMixin
from/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react-native/Libraries/react-native/react-native-implementation.js
: Module does not exist in the module map or in these directories:/Users/zlk/Downloads/ReactNative/FlatListTest4/node_modules/react/lib
This might be related to #4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
ornpm start --reset-cache
.The text was updated successfully, but these errors were encountered: