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

problem to run the app #14

Open
amanda128 opened this issue Feb 13, 2018 · 4 comments · May be fixed by #16
Open

problem to run the app #14

amanda128 opened this issue Feb 13, 2018 · 4 comments · May be fixed by #16

Comments

@amanda128
Copy link

i prepared all of data such as private key and token and session id .
but i dont know waht is the NOTICE-ae3cce(...)=true in your command?
and when i run your command without NOTICE-ae3cce(...)=true then gave me the below error?
please help me dear. thanks
Fetching conversations for label 0...
TypeError: Cannot read property 'reduce' of undefined
at ConversationsFetcher._callee2$ (AppData\Roaming\npm\node_modules\protonmail-export\dist\ConversationFetcher.js:111:70)
at tryCatch (AppData\Roaming\npm\node_modules\protonmail-export\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:65:40)
at Generator.invoke [as _invoke] (AppData\Roaming\npm\node_modules\protonmail-export\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:303:22)
at Generator.prototype.(anonymous function) [as next] (AppData\Roaming\npm\node_modules\protonmail-export\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:117:21)
at step (\AppData\Roaming\npm\node_modules\protonmail-export\dist\ConversationFetcher.js:27:191) at \AppData\Roaming\npm\node_modules\protonmail-export\dist\ConversationFetcher.js:27:361
at
at process._tickCallback (internal/process/next_tick.js:188:7)

@vinyll
Copy link

vinyll commented Apr 9, 2018

Pretty much the same here:

Private key passphrase: *******************************
Fetching conversations for label 0...
TypeError: Cannot read property 'reduce' of undefined
    at ConversationsFetcher._callee2$ (/usr/local/lib/node_modules/protonmail-export/dist/ConversationFetcher.js:111:70)
    at tryCatch (/usr/local/lib/node_modules/protonmail-export/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/protonmail-export/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/protonmail-export/node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (/usr/local/lib/node_modules/protonmail-export/dist/ConversationFetcher.js:27:191)
    at /usr/local/lib/node_modules/protonmail-export/dist/ConversationFetcher.js:27:361
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

Because this is transpiled with babel it is undebuggable for me.

I also had no clue what the NOTICE-ae3cce(...)=true was in the cookie. Didn't appear in mine so I just pasted the cookie value.

@scastiel: is it still working normally for you? Any recommendation if we are misusing?

@vinyll
Copy link

vinyll commented Apr 10, 2018

It looks like result.json() would return something falsy but there's no try…catch here not response status for debugging.
Not sure how to process from here…

@vinyll vinyll linked a pull request Apr 10, 2018 that will close this issue
@amanda128
Copy link
Author

amanda128 commented Jun 30, 2018 via email

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 a pull request may close this issue.

3 participants
@vinyll @amanda128 and others