-
Notifications
You must be signed in to change notification settings - Fork 81
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
Cant get into MJML app and I'm getting this message. I don't know what to do! #171
Comments
Hi @victorsana , that's strange :| What OS are you using? |
Hey @meriadec I'm using macOS Sierra. I re downloaded the app and am having the same problem. |
Can you try deleting the app settings? The file should be located here:
|
@victorsana do you still have the issue? |
Hi, i've got the same issue. I don't know what happened. It worked yesterday TypeError: Expected Array or iterable object of values: [object Object] Can't find Electron folder |
Hello @GrzegorzCupial , can you confirm that the problem occurs in the version 2.7.0 ? If you have an anterior version, you can download 2.7.0 from here: https://github.com/mjmlio/mjml-app/releases/tag/2.7.0. If the problem persists, you can reach me on the MJML Slack. |
OK good news. But it also means that my fix wasn't enough to handle the problem. Arf. |
I think the Electron folder is here when you use the app in dev mode only. When you run the MJML App as a normal app, you need to delete the Steps to do so:
This will clear the settings of the MJML App, which means next time you open the app, it will be like the first time you opened it (the app won't remember your projects' folders). However, you won't lose any MJML template you worked on. *Alternatively, you can try to fix the file structure, which should look like this: {
"lastOpenedFolder": "path to your last opened folder",
"projects": ["array of projects' paths"],
"editor": {
"wrapLines": true,
"autoFold": false,
"foldLevel": 1,
"highlightTag": false,
"lightTheme": false
},
"api": {
"Subject": "MJML App test email",
"APIKey": "",
"APISecret": "",
"SenderName": "MJML App",
"SenderEmail": "",
"TargetEmails": [],
"LastEmails": []
},
"mjml": {
"minify": false,
"beautify": false
},
"previewSize": {
"current": 500,
"mobile": 320,
"desktop": 650
}
} |
@meriadec @GrzegorzCupial @ngarnier thank you so much for your help. i'm going to try this and see if it works :) |
should be fixed in 2.8.0 |
@meriadec solved!! Thank you so much |
Glad you figured out so quickly lol |
TypeError: Expected Array or iterable object of values: [object Object]
at U (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:5:301230)
at R (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:5:300522)
at r (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:5:299056)
at Be (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:5:308861)
at e (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:25:323018)
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:25:150512
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:222157
at Array.reduce (native)
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:222129
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:224705
at e (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:229556)
at u (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:25:151965)
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:131300
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:226118
at file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:25:293118
at e (file:///Applications/MJML.app/Contents/Resources/app.asar/dist/bundle.js:37:226428)
The text was updated successfully, but these errors were encountered: