Skip to content
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

Fix CI Build: what happens if we get rid of nrwl packages and replace with nx equiv… #736

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

glitch003
Copy link
Collaborator

…ilant? the build issue seems to be related to conflicting nx versions

Ref: nrwl/nx#26517

The error in our CI:

[4/4] Building fresh packages...
error /home/runner/work/js-sdk/js-sdk/node_modules/@nrwl/eslint-plugin-nx/node_modules/@nrwl/tao/node_modules/nx, /home/runner/work/js-sdk/js-sdk/node_modules/@nrwl/eslint-plugin-nx/node_modules/@nx/workspace/node_modules/nx: Command failed.
Exit code: 135
Command: node ./bin/post-install
Arguments: 
Directory: /home/runner/work/js-sdk/js-sdk/node_modules/@nrwl/eslint-plugin-nx/node_modules/@nrwl/tao/node_modules/nx
Output:
Bus error (core dumped)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

…ilant? the build issue seems to be related to conflicting nx versions
@glitch003
Copy link
Collaborator Author

this seemed to work to get around the dependency installation error i saw here: https://github.com/LIT-Protocol/js-sdk/actions/runs/12204989808/job/34051291211

but a new error appeared. maybe the docker container is dying? i can use the warpbuild "ssh into a runner" thingy to debug.

[𐬺🧪 Tinny Environment𐬺] Failed to init() tinny request to http://127.0.0.1:8000/test/get/testnets failed, reason: connect ECONNREFUSED 127.0.0.1:8000
FetchError: request to http://127.0.0.1:8000/test/get/testnets failed, reason: connect ECONNREFUSED 127.0.0.1:8000
    at ClientRequest.<anonymous> (/home/runner/work/js-sdk/js-sdk/node_modules/node-fetch/lib/index.js:1501:11)
    at ClientRequest.emit (node:events:518:28)
    at emitErrorEvent (node:_http_client:101:11)
    at Socket.socketErrorListener (node:_http_client:504:5)
    at Socket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Command failed with exit code 1: /tmp/yarn--1733877129009-0.1[63](https://github.com/LIT-Protocol/js-sdk/actions/runs/12267166068/job/34226745514?pr=736#step:15:64)87183850458453/node ./local-tests/build/test.mjs --filter=testUseEoaSessionSigsToExecuteJsSigning,testUseEoaSessionSigsToPkpSign,testUsePkpSessionSigsToExecuteJsSigning,testUsePkpSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToPkpSign,testUseValidLitActionCodeGeneratedSessionSigsToExecuteJsSigning,testDelegatingCapacityCreditsNFTToAnotherWalletToExecuteJs,testEthAuthSigToEncryptDecryptString,testExecuteJsSignAndCombineEcdsa,testExecutJsDecryptAndCombine,testExecuteJsBroadcastAndCollect --exclude=Parallel
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@glitch003 glitch003 changed the title what happens if we get rid of nrwl packages and replace with nx equiv… Fix CI Build: what happens if we get rid of nrwl packages and replace with nx equiv… Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant