Can't run watchman service, run the project nor archive after upgrade to 0.39
See original GitHub issueDescription
Can’t run background service since upgrade to 0.39.
Running npm start
freezes after this output:
> Projectname@1.0.0 start /Users/antonysastre/Projects/node/project-name/Projectname
> node_modules/react-native/packager/packager.sh
Running react-native start
just freezes no output.
Running from Xcode breaks with the following out put:
2016-12-03 17:01:02.243 [info][tid:main][RCTBatchedBridge.m:72] Initializing <RCTBatchedBridge: 0x60000019ce50> (parent: <RCTBridge: 0x6000000bc6e0>, executor: RCTJSCExecutor)
2016-12-03 17:01:02.245 Projectname[28443:221292] *** Assertion failure in -[RCTBatchedBridge loadSource:onProgress:](), /Users/antonysastre/Projects/node/projectname-app/Projectname/node_modules/react-native/React/Base/RCTBatchedBridge.m:196
2016-12-03 17:01:02.346 Projectname[28443:221292] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'bundleURL must be non-nil when not implementing loadSourceForBridge'
*** First throw call stack:
(
0 CoreFoundation 0x00000001029e434b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001018f221e objc_exception_throw + 48
2 CoreFoundation 0x00000001029e8442 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00000001014bed79 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 Projectname 0x0000000100fe9505 -[RCTBatchedBridge loadSource:onProgress:] + 997
5 Projectname 0x0000000100fe7673 -[RCTBatchedBridge start] + 883
6 Projectname 0x00000001010297bc -[RCTBridge setUp] + 684
7 Projectname 0x0000000101028813 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 387
8 Projectname 0x0000000101028622 -[RCTBridge initWithBundleURL:moduleProvider:launchOptions:] + 146
9 Projectname 0x0000000100f85dd7 -[RCTRootView initWithBundleURL:moduleName:initialProperties:launchOptions:] + 183
10 Projectname
0x0000000100f5e845 -[AppDelegate application:didFinishLaunchingWithOptions:] + 245
11 UIKit 0x0000000104f560be -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
12 UIKit 0x0000000104f57a43 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
13 UIKit 0x0000000104f5dde9 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
14 UIKit 0x0000000104f5af69 -[UIApplication workspaceDidEndTransaction:] + 188
15 FrontBoardServices 0x00000001083f3723 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
16 FrontBoardServices 0x00000001083f359c -[FBSSerialQueue _performNext] + 189
17 FrontBoardServices 0x00000001083f3925 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
18 CoreFoundation 0x0000000102989311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 CoreFoundation 0x000000010296e59c __CFRunLoopDoSources0 + 556
20 CoreFoundation 0x000000010296da86 __CFRunLoopRun + 918
21 CoreFoundation 0x000000010296d494 CFRunLoopRunSpecific + 420
22 UIKit 0x0000000104f597e6 -[UIApplication _run] + 434
23 UIKit 0x0000000104f5f964 UIApplicationMain + 159
24 Projectname 0x0000000100f5eeef main + 111
25 libdyld.dylib 0x000000010693668d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Trying to build the project with Xcode just freezes at Archiving.
Additional Information
Platform: iOS (haven’t tried Android) Operating System: MacOS node: 7.1.0 npm: 3.10.9 react-native-cli: 1.2.0 react-native: 0.39.0 Xcode: 8.1 (8B62)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Why "Watchman crawl failed" error in react-native immediately ...
I've had an empty watchman config file in the root of my project since the beginning. On first boot post-update, there was a...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >Comments - Build software better, together
Yesterday I've enabled filevault on my mac and I upgraded watchman to ... Can't run watchman service, run the project nor archive after...
Read more >make sure watchman is running for this project - You.com
Usually this happens when watchman isn't running. Create an empty .watchmanconfig file in your project's root folder or initialize a git or hg...
Read more >https://www.sec.gov/Archives/edgar/data/824740/000...
Prodigy accepts banner advertisements and sponsorships, but does not currently generate ... Prodigy provides the following customer services to its dial-up ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
All right, here is the fix:
Run:
launchctl unload ~/Library/LaunchAgents/com.github.facebook.watchman.plist
If you can now runwatchman version
it means it fixed it.Solution from https://github.com/facebook/watchman/issues/358#issuecomment-247105934
– Twitter: @brunolemos
127.0.0.1 localhost