Open Nullzone42 opened 5 years ago
Same error on macOS 10.14.5 (18F132), npm version is '6.9.2'. I'm also using the --export switch.
Sorry, but I was not able to reproduce this issue on my computer (Windows 8.1, Node v11.13.0). I will try again on another computer running Windows 10 and probably a newer Node version, but I might not get to that for a few weeks, I'm afraid. (Exams, yay!)
If you want to speed up the process, you could try debugging the code with a breakpoint at node_modules/netflix2/lib/netflix2.js:404
and look for anything that might remotely look like an authURL inside the self.netflixContext
object. In my case, it is still located exactly where it should be and it is a string with 42 characters that almost looks base64 encoded (except, it contains a .
). If you are able to find the authURL, please tell me where it is located.
Edit: As this issue is actually with the node-netflix2 project and not netflix-migrate, I am moving it to that repository.
Actually, I just noticed that this issue has the exact same error as #20. Are you sure you entered correct credentials?
I'm reasonably sure, but I can try changing the password to ensure its accurate.
On Wed, Jul 3, 2019, 3:59 PM Michael David Kuckuk notifications@github.com wrote:
Actually, I just noticed that this issue has the exact same error as #20 https://github.com/LBBO/node-netflix2/issues/20. Are you sure you entered correct credentials?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LBBO/node-netflix2/issues/22?email_source=notifications&email_token=AJFP3IYCCOYHMDYFNRCINY3P5UALHA5CNFSM4H5JDQP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZFQ2OQ#issuecomment-508235066, or mute the thread https://github.com/notifications/unsubscribe-auth/AJFP3I5QVXQDLGPD3M7YKY3P5UALHANCNFSM4H5JDQPQ .
So, did it work?
Hey @LBBO I'm also facing this issue. I'm 100% confident that my password is entered correctly (copied from a pwd manager) and my account is active. I also tried with the latest beta, same issue. I would be glad to help if I can make myself useful
I'm trying to use the cookie from my account on netflix2 and email and password on netflix-migrate and I'm receiving the same issue Cannot read property 'data' of undefined
C:\Users\BigRed-Acer\AppData\Roaming\npm\node_modules\netflix-migrate\node_modules\netflix2\lib\netflix2.js:404 self.authUrls[url] = context.netflix.reactContext.models.memberContext.data.userInfo.authURL ^
TypeError: Cannot read property 'data' of undefined at Request._callback (C:\Users\BigRed-Acer\AppData\Roaming\npm\node_modules\netflix-migrate\node_modules\netflix2\lib\netflix2.js:404:78) at Request.self.callback (C:\Users\BigRed-Acer\AppData\Roaming\npm\node_modules\netflix-migrate\node_modules\request\request.js:185:22) at Request.emit (events.js:198:13) at Request. (C:\Users\BigRed-Acer\AppData\Roaming\npm\node_modules\netflix-migrate\node_modules\request\request.js:1161:10)
at Request.emit (events.js:198:13)
at Gunzip. (C:\Users\BigRed-Acer\AppData\Roaming\npm\node_modules\netflix-migrate\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:286:20)
at Gunzip.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1129:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
I see the previous issue with this same context in March, but I'm definitely using the --export switch, so it's not that.
Running from Windows 10 CLI, in case it matters.