Conversation
❌ Deploy Preview for reactplayio failed. Why did it fail? →
|
There was a problem hiding this comment.
Hey! contributor, thank you for opening a Pull Request 🎉.
@reactplay/maintainers will review your submission soon and give you helpful feedback.
If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.
priyankarpal
left a comment
There was a problem hiding this comment.
The Netlify deploy errored, with the following guidance provided:
Diagnosis
- The build failed because ESLint stopped the production build. See lines 988-991:
src/plays/api-request-builder/ApiRequestBuilder.jsxviolates thepadding-line-between-statementsrule (missing a required blank line).
Solution
-
Open
src/plays/api-request-builder/ApiRequestBuilder.jsxand insert the blank line required by your ESLint rule. For example, ensure there’s an empty line separating the import block from the next statement:import ...; const ...
-
Commit the change and rerun the build.
The relevant error logs are:
Line 0: build-image version: 78d0fcff90a66ed4048cfb3252450561538f796a (noble-new-builds)
Line 1: buildbot version: cbb330566fbc2c88d277ceda93fc833ecdc87883
Line 2: Fetching cached dependencies
Line 3: Failed to fetch cache, continuing with build
Line 4: Starting to prepare the repo for build
Line 5: No cached dependencies found. Cloning fresh repo
Line 6: git clone --filter=blob:none https://github.com/reactplay/react-play
Line 7: Preparing Git Reference pull/1647/head
Line 8: Starting to install dependencies
Line 9: mise �[36m~/.config/mise/config.toml�[0m tools: �[34mpython�[0m@3.14.2
Line 10: mise �[36m~/.config/mise/config.toml�[0m tools: �[34mruby�[0m@3.4.8
Line 11: mise �[36m~/.config/mise/config.toml�[0m tools: �[34mgo�[0m@1.25.6
Line 12: v18.20.8 is already installed.
Line 13: Now using node v18.20.8 (npm v10.8.2)
Line 35: Progress: resolved 309, reused 0, downloaded 294, added 0
Line 36: Progress: resolved 328, reused 0, downloaded 313, added 0
Line 37: Progress: resolved 384, reused 0, downloaded 356, added 0
Line 38: Progress: resolved 566, reused 0, downloaded 512, added 0
Line 39: Progress: resolved 710, reused 0, downloaded 651, added 0
Line 40: Progress: resolved 771, reused 0, downloaded 697, added 0
Line 41: Progress: resolved 1069, reused 0, downloaded 971, added 0
Line 42: Progress: resolved 1232, reused 0, downloaded 1119, added 0
Line 43: Progress: resolved 1485, reused 0, downloaded 1361, added 0
Line 44: Progress: resolved 1795, reused 0, downloaded 1679, added 0
Line 45: WARN 33 deprecated subdependencies found: @babel/plugin-proposal-class-properties@7.18.6, @babel/plugin-proposal-nullish-coale
Line 46: Packages: +1760
Line 47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Line 48: Progress: resolved 1795, reused 0, downloaded 1763, added 734
Line 49: Progress: resolved 1795, reused 0, downloaded 1763, added 1760, done
Line 50: > react-play@1.0.0 prepare /opt/build/repo
Line 51: > husky install
Line 52: husky - Git hooks installed
Line 53: WARN Issues with peer dependencies found
Line 54: .
Line 55: ├─┬ json-graphql-parser 0.1.9
Line 101: + mathjs 11.12.0 (15.1.0 is available)
Line 102: + p5 1.11.11 (2.2.0 is available)
Line 103: + react 18.3.1 (19.2.4 is available)
Line 104: + react-chatbot-kit 2.2.2
Line 105: + react-codemirror2 7.3.0 (9.0.1 is available)
Line 106: + react-color 2.19.3
Line 107: + react-confetti 6.4.0
Line 108: + react-countdown 2.3.6
Line 109: + react-dom 18.3.1 (19.2.4 is available)
Line 110: + react-dropzone 14.4.0
Line 111: + react-error-boundary 3.1.4 (6.1.0 is available)
Line 112: + react-helmet 6.1.0
Line 113: + react-hot-toast 2.6.0
Line 114: + react-icons 4.12.0 (5.5.0 is available)
Line 115: + react-infinite-scroll-component 6.1.1
Line 116: + react-infinite-scroll-hook 4.1.1 (6.0.1 is available)
Line 117: + react-infinite-scroller 1.2.6
Line 118: + react-leaflet 4.2.1 (5.0.0 is available)
Line 119: + react-loader-spinner 5.1.5 (8.0.2 is available)
Line 120: + react-organizational-chart 2.2.1
Line 121: + react-p5 1.4.1 deprecated
Line 976: WARNING : Wednesday, Feb 4, 2026: WARNING : Play not found locally : Random Quotes(random-quotes)
Line 977: INFO : Wednesday, Feb 4, 2026: INFO : Checking play locally: Task-Manager(taskmanager)
Line 978: WARNING : Wednesday, Feb 4, 2026: WARNING : Play not found locally : Task-Manager(taskmanager)
Line 979: INFO : Wednesday, Feb 4, 2026: INFO : Checking play locally: ManageTask(managetask)
Line 980: WARNING : Wednesday, Feb 4, 2026: WARNING : Play not found locally : ManageTask(managetask)
Line 981: INFO : Wednesday, Feb 4, 2026: INFO : Checking play locally: 25(25)
Line 982: WARNING : Wednesday, Feb 4, 2026: WARNING : Play not found locally : 25(25)
Line 983: INFO : Wednesday, Feb 4, 2026: INFO : Checking play locally: Soham Bhattacharya(soham-bhattacharya)
Line 984: WARNING : Wednesday, Feb 4, 2026: WARNING : Play not found locally : Soham Bhattacharya(soham-bhattacharya)
Line 985: Creating an optimized production build...
Line 986: �[31mFailed to compile.�[39m
Line 987: �[31m�[39m
Line 988: [eslint]
Line 989: src/plays/api-request-builder/ApiRequestBuilder.jsx
Line 990: �[1mLine 7:1:�[22m Expected blank line before this statement �[31m�[4mpadding-line-between-statements�[24m�[39m
Line 991: Search for the �[4m�[31mkeywords�[39m�[24m to learn more about each error.
Line 992: �[91m�[1m�[22m�[39m
Line 993: �[91m�[1m"build.command" failed �[22m�[39m
Line 994: �[91m�[1m────────────────────────────────────────────────────────────────�[22m�[39m
Line 995:
Line 996: �[31m�[1mError message�[22m�[39m
Line 997: Command failed with exit code 1: CI= npm run build
Line 998:
Line 999: �[31m�[1mError location�[22m�[39m
Line 1000: In Build command from Netlify app:
Line 1001: CI= npm run build
Line 1002:
Line 1003: �[31m�[1mResolved config�[22m�[39m
Line 1004: build:
Line 1005: command: CI= npm run build
Line 1006: commandOrigin: ui
Line 1007: environment:
Line 1008: - CI
Line 1009: - NODE_OPTIONS
Line 1064: - VITE_SEARCH_APIHOST
Line 1065: - VITE_SEARCH_APIKEY
Line 1066: - VITE_SEARCH_URL
Line 1067: - VITE_TUBETUNES_APIKEY
Line 1068: - VITE_UMAMI_TRACK_ID
Line 1069: - VITE_WEATHER_API_KEY
Line 1070: publish: /opt/build/repo/build
Line 1071: publishOrigin: ui
Line 1072: redirects:
Line 1073: - from: /*
status: 200
to: /index.html
redirectsOrigin: config
Line 1074: Build failed due to a user error: Build script returned non-zero exit code: 2
Line 1075: Failing build: Failed to build site
Line 1076: Failed during stage 'building site': Build script returned non-zero exit code: 2
Line 1077: Finished processing build request in 3m49.522s
changes made