-
-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Lint started failing recently for no apparent reason with errors: ``` Run yarn format RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded at new NodeError (node:internal/errors:405:5) at Socket.onChildStdout (node:child_process:490:14) at Socket.emit (node:events:517:28) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:337:11) at Readable.push (node:internal/streams/readable:278:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) { code: 'ERR_CHILD_PROCESS_STDIO_MAXBUFFER', cmd: './android/gradlew -p android spotlessApply' } ``` and ``` Not a number: 33x: java.lang.NumberFormatException: Not a number: 33x at com.sun.xml.bind.DatatypeConverterImpl._parseInt(DatatypeConverterImpl.java:95) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$18.parse(RuntimeBuiltinLeafInfoImpl.java:712) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$18.parse(RuntimeBuiltinLeafInfoImpl.java:710) at com.sun.xml.bind.v2.runtime.unmarshaller.TextLoader.text(TextLoader.java:39) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(UnmarshallingContext.java:560) at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.processText(SAXConnector.java:183) ... (much longer stacktrace) ``` Edit: Idk why the issue started happening, but bumping gradle wrapper version & gradle build tools version resolved the issue. I've used [versions used in reanimated](software-mansion/react-native-reanimated#6629), at the time their last supported version of `react-native` was 0.74 (the same as it is for us now). ## Test code and steps to reproduce Lint on CI should not longer fail. ## Checklist - [x] Ensured that CI passes
- Loading branch information
Showing
6 changed files
with
224 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.