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

Login returns error #8

Open
seanbo opened this issue Nov 27, 2024 · 2 comments
Open

Login returns error #8

seanbo opened this issue Nov 27, 2024 · 2 comments

Comments

@seanbo
Copy link

seanbo commented Nov 27, 2024

I am getting an error when running bambu-cli login. The message indicates I need to turn on javascript and enable cookies.

C:\Users\sryle>bambu-cli login
Logging into bambulab.com (Credentials will not be saved)
[bambulab.com] username: ([email protected])
[bambulab.com] password: ***********
Logging in as: [email protected]
undefined:1

<title>Just a moment...</title><style>*{box-sizing:border-box;margin:0;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%;color:#313131;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{display:flex;flex-direction:column;height:100vh;min-height:100vh}.main-content{margin:8rem auto;max-width:60rem;padding-left:1.5rem}@media (width <= 720px){.main-content{margin-top:4rem}}.h2{font-size:1.5rem;font-weight:500;line-height:2.25rem}@media (width <= 720px){.h2{font-size:1.25rem;line-height:1.5rem}}#challenge-error-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0IyMEYwMyIgZD0iTTE2IDNhMTMgMTMgMCAxIDAgMTMgMTNBMTMuMDE1IDEzLjAxNSAwIDAgMCAxNiAzbTAgMjRhMTEgMTEgMCAxIDEgMTEtMTEgMTEuMDEgMTEuMDEgMCAwIDEtMTEgMTEiLz48cGF0aCBmaWxsPSIjQjIwRjAzIiBkPSJNMTcuMDM4IDE4LjYxNUgxNC44N0wxNC41NjMgOS41aDIuNzgzem0tMS4wODQgMS40MjdxLjY2IDAgMS4wNTcuMzg4LjQwNy4zODkuNDA3Ljk5NCAwIC41OTYtLjQwNy45ODQtLjM5Ny4zOS0xLjA1Ny4zODktLjY1IDAtMS4wNTYtLjM4OS0uMzk4LS4zODktLjM5OC0uOTg0IDAtLjU5Ny4zOTgtLjk4NS40MDYtLjM5NyAxLjA1Ni0uMzk3Ii8+PC9zdmc+);background-repeat:no-repeat;background-size:contain;padding-left:34px}@media (prefers-color-scheme:dark){body{background-color:#222;color:#d9d9d9}}</style>
Enable JavaScript and cookies to continue
<script>(function(){window._cf_chl_opt={cvId: '3',cZone: "bambulab.com",cType: 'managed',cRay: '8e9566033e7d2589',cH: 'PMm96G4Ahi38n6hHu9FCWiL1.iEdcHMg1G4ke.jJQFs-1732744904-1.2.1.1-glROSU7rDkjaDuuAR2GouRRjpmSEC6yqYqJDD49DiCLCiwoDVTA18kavGr2.NFaJ',cUPMDTk: "\/api\/sign-in\/form?__cf_chl_tk=MhLQ1WTRaGVTazBGHFvIIPMfL0sj.b7AOgj.EyhIqaU-1732744904-1.0.1.1-CZ4o2IHK2ZREPbdTe9oqS5AkNQw_MwKPpCCKyqkaw9k",cFPWv: 'b',cITimeS: '1732744904',cTTimeMs: '1000',cMTimeMs: '390000',cTplC: 0,cTplV: 5,cTplB: 'cf',cK: "",fa: "\/api\/sign-in\/form?__cf_chl_f_tk=MhLQ1WTRaGVTazBGHFvIIPMfL0sj.b7AOgj.EyhIqaU-1732744904-1.0.1.1-CZ4o2IHK2ZREPbdTe9oqS5AkNQw_MwKPpCCKyqkaw9k",md: "nf7ht3Q5jCf4xw1G0PFeS.eq7NeW45Z73fY2_j3VFL8-1732744904-1.2.1.1-2sfCibmjXxciRmHdRkrrciO_9dLKQwoSqsIVQSH0chc3bA0Eda7CacsHIle6kRUiuvnv24CUW.F_CeiyjNyC8hPyjRR6RDfupWK_MC8ojpok98rUguO9PzzusT6CL3T_lPtm4sMn.5FAay5A87k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qttGpsDpJ9Zg9WHUryWscpT0953jyWKZHXpzXK6DPWJR0OzrKaAOCmM6VTt.h114D0Xv1jTwGzKfXSU6yncVnVXTrSs0hfLzidM1HgFhVtXxmTkiAy0Gbntbw"};var cpo = document.createElement('script');cpo.src = '/cdn-cgi/challenge-platform/h/b/orchestrate/chl_page/v1?ray=8e9566033e7d2589';window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history && window.history.replaceState) {var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;history.replaceState(null, null, "\/api\/sign-in\/form?__cf_chl_rt_tk=MhLQ1WTRaGVTazBGHFvIIPMfL0sj.b7AOgj.EyhIqaU-1732744904-1.0.1.1-CZ4o2IHK2ZREPbdTe9oqS5AkNQw_MwKPpCCKyqkaw9k" + window._cf_chl_opt.cOgUHash);cpo.onload = function() {history.replaceState(null, null, ogU);}}document.getElementsByTagName('head')[0].appendChild(cpo);}());</script>

^

SyntaxError: Unexpected token '<', ")
at IncomingMessage. (C:\Users\sryle\AppData\Roaming\npm\node_modules\bambu-cli\lib\login.js:196:35)
at IncomingMessage.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

Node.js v22.11.0

C:\Users\sryle>

@justbobTN45
Copy link

I'm getting the same thing...

@jtbrush56
Copy link

I'm getting the same error.

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

3 participants