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

Error While Fetching shared library url #3

Open
ziad-gg opened this issue Dec 31, 2024 · 2 comments
Open

Error While Fetching shared library url #3

ziad-gg opened this issue Dec 31, 2024 · 2 comments

Comments

@ziad-gg
Copy link

ziad-gg commented Dec 31, 2024

First Run

@ziad-gg ➜ /workspaces/funcap (main) $ node test.js
@node-tls-client ~ DEBUG: Fetched latest version: v1.7.10
@node-tls-client ~ DEBUG: Fetched shared library url
An error occurred: TypeError [Error]: process.stdout.clearLine is not a function
    at Download.progress (/workspaces/funcap/node_modules/node-tls-client/dist/utils/download.js:69:24)
    at IncomingMessage.<anonymous> (/workspaces/funcap/node_modules/node-tls-client/dist/utils/download.js:93:30)
    at IncomingMessage.emit (node:events:530:35)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Readable.push (node:internal/streams/readable:392:5)
    at HTTPParser.parserOnBody (node:_http_common:130:24)
    at TLSSocket.socketOnData (node:_http_client:544:22)
    at TLSSocket.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:561:12)

if i run it again

@ziad-gg ➜ /workspaces/funcap (main) $ node test.js
Bus error (core dumped)
@ensar65
Copy link

ensar65 commented Dec 31, 2024

temporary u can delete stdouts on node_modules file
and then u need rm rm /tmp/tls-client-x64.so
and restart code

@ziad-gg
Copy link
Author

ziad-gg commented Jan 1, 2025

temporary u can delete stdouts on node_modules file and then u need rm rm /tmp/tls-client-x64.so and restart code

Worked thank u

i think node.js removed
process.stdout.clearLine(0) &
process.stdout.cursorTo(0);

which shows that error for me

i am using node v20.18.1

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

No branches or pull requests

2 participants