-
You are getting the “Unexpected character” error because the YAML parser in Rush was unable to recognize the mentioned character. This isn’t related to Rush, it’s just how YAML works.
-
Talking about the second issue, can you try deleting the “data.hive” and “data.lock” files in the
.rush
directory and then building again. If that doesn’t solve it, create a new issue on GitHub for the same.
Deleting those files did not have any effect on the build. I wonder why, that the rush is able to build just one project excluding others…?
Yes, I have created issue on GitHub:
Finally got my issue fixed, thank you Shreyash
It shows Me Error While Installation of Rush CLI 1.10 in New version old Version Works fine @Shreyash
Error
Error Code
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
JDK not found...
Rush needs JDK to compile your extensions.
Please download and install JDK version 1.8 or above before installing Rush.
Press any key to continue...
Windows Version
Windows 10 (dev channel)
Java Compiler Version
Java Version
Rush Version
1.10
I think its the same thing happing… Did you install two JDKs ?
The problem Solved By
Step 1
Copy the Path Of .exe Downloaded File Change the name Because It can be copied (Optional)
Step 2
Paste The Text On Command Prompt or PWSH
Step 3
It Will Ask Yes Or No To Update Dialog
Enter
It starts Downloading file like this
After Downloading it will Show Something like this
Step 4
Works
Step 5
Follow the Steps provided by @Shreyash
so last time antivirus software was blocking it so i blacklisted rush from antivirus software so i installed the exe file when i open it , it shows -
but when i run
java -version
or javac -version
it shows that i have correct jdk -do i need to add something in environment variables first?
Please refresh to this post:
I had Same Issue but It was Solved
does not for me it shows same thing jdk not found
Can you Show me me a screenshot
I’ve removed the JDK installation check. Please re-download the installer and try again.
May I Know Your Windows Version
And which bit like 32 bit or 64 bit
10 and 64 bit
thanks @Shreyash it worked but when i executed rush build it showed -
rush build
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
• Build initialized
┌ Checking project files
│
│ OK Metadata file (rush.yml) found
│
│ OK AndroidManifest.xml file found
└ Done
┌ Compiling Java files
└ Done
Unhandled exception:
NoSuchMethodError: The getter 'stderr' was called on null.
Receiver: null
Tried calling: stderr
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54)
#1 Javac.compile.<anonymous closure> (package:rush_cli/java/javac.dart:59)
#2 _RootZone.runUnaryGuarded (dart:async/zone.dart:1546)
#3 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:362)
#4 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378)
#5 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)
#6 _SyncBroadcastStreamController._sendError.<anonymous closure> (dart:async/broadcast_stream_controller.dart:393)
#7 _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:323)
#8 _SyncBroadcastStreamController._sendError (dart:async/broadcast_stream_controller.dart:392)
#9 _AsBroadcastStreamController.addError (dart:async/broadcast_stream_controller.dart:487)
#10 _RootZone.runBinaryGuarded (dart:async/zone.dart:1558)
#11 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:360)
#12 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378)
#13 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)
#14 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:737)
#15 _StreamController._addError (dart:async/stream_controller.dart:615)
#16 new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:166)
#17 _RootZone.runBinary (dart:async/zone.dart:1617)
#18 _FutureListener.handleError (dart:async/future_impl.dart:166)
#19 Future._propagateToListeners.handleError (dart:async/future_impl.dart:716)
#20 Future._propagateToListeners (dart:async/future_impl.dart:737)
#21 Future._completeError (dart:async/future_impl.dart:547)
#22 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:603)
#23 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#24 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#25 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120)
#26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
Installed on Linux, I am getting a similar output error as @luv.ak.tech when running build for the first time (I have tried reinstalling rush):
• Build initialized
┌ Checking project files
│
│ OK Metadata file (rush.yml) found
│
│ OK AndroidManifest.xml file found
└ Done
┌ Compiling Java files
└ Done
Unhandled exception:
NoSuchMethodError: The getter 'stderr' was called on null.
Receiver: null
Tried calling: stderr
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54)
#1 Javac.compile.<anonymous closure> (package:rush_cli/java/javac.dart:59)
#2 _RootZone.runUnaryGuarded (dart:async/zone.dart:1546)
#3 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:362)
#4 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378)
#5 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)
#6 _SyncBroadcastStreamController._sendError.<anonymous closure> (dart:async/broadcast_stream_controller.dart:393)
#7 _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:323)
#8 _SyncBroadcastStreamController._sendError (dart:async/broadcast_stream_controller.dart:392)
#9 _AsBroadcastStreamController.addError (dart:async/broadcast_stream_controller.dart:487)
#10 _RootZone.runBinaryGuarded (dart:async/zone.dart:1558)
#11 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:360)
#12 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378)
#13 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280)
#14 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:737)
#15 _StreamController._addError (dart:async/stream_controller.dart:615)
#16 new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:166)
#17 _RootZone.runBinary (dart:async/zone.dart:1617)
#18 _FutureListener.handleError (dart:async/future_impl.dart:166)
#19 Future._propagateToListeners.handleError (dart:async/future_impl.dart:716)
#20 Future._propagateToListeners (dart:async/future_impl.dart:737)
#21 Future._completeError (dart:async/future_impl.dart:547)
#22 Future._chainForeignFuture.<anonymous closure> (dart:async/future_impl.dart:492)
#23 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#24 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#25 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120)
#26 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
I simply indicated that I tried a reinstall in case something was amiss, but to no avail, i get the same error output as you do.