niklasravnsborg / front-export Goto Github PK
View Code? Open in Web Editor NEW๐ญ Export Front email messages to .eml files for backup or to import them into any mail app
๐ญ Export Front email messages to .eml files for backup or to import them into any mail app
Hi when i try to run your script it errors out on ELIFECYCLE.
Do you know why this may be occuring?
Is this still working? These are the errors I've received recently.
TypeError: Cannot read property 'status' of undefined
at axios.interceptors.response.use.err
(/Users/Sparks/Downloads/front-export-master/lib/api.js:23:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
and then this one
(node:4131) UnhandledPromiseRejectionWarning: Error: Request failed with status code 502
at createError (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/core/createError.js:16:15)
at settle (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/core/settle.js:18:12)
at IncomingMessage.handleStreamEnd (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/adapters/http.js:191:11)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1094:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:4131) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1418)
(node:4131) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Hi Niklas,
Thanks for this export script!
I got it to work on small batches, but now I'm trying to use it on our 'support@' inbox, which has 5000+ conversations. When I run the script, it just ends with:
Downloading conversation cnv_1dicvxx
Downloading conversation cnv_1dicaxx
Downloading conversation cnv_1diatxx
maarten@2d4c235x:/srv/www/front-export#
So somehow it doesn't move on to download the messages.
Do you have any advice on how to fix this and make the script proceed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.