timo-reymann / intellij-mjml-support

MJML support for the IntelliJ Platform.
https://timo-reymann.github.io/intellij-mjml-support/
Other
26 stars 11 forks source link

Preview is not available on Webstorm 2024 #214

Closed nikolatasikj closed 1 month ago

nikolatasikj commented 1 month ago

What happened?

Preview of .mjml files is not working on Webstorm

OS

MacOS

What IDE are you facing the problem in?

WebStorm

Problem description

There is a problem with the preview of .mjml files in Webstorm 2024.2.1. Files that worked in the previous version of Webstorm are not working now, so it's not a problem with the files. Instead of the preview there is error message "Either your mjml is invalid, node.js is not set up properly, or the rendering script crashed". Also in notifications there are warnings like "Failed to render mjml using helper script\n\n \n \n \n \n..." I tried to reopen the project, reinstall plugin... EDIT: When I removed from the file it's working, but it worked with includes in previous version too.

Webstorm version: 2024.2.1 Plugin version: 3.6.0

Expected behaviour

Open preview of the .mjml file

Actual behaviour

Error message

Steps to Reproduce

Important Factoids

No response

References

No response

I read and aggree to the contribution guidelines

nikolatasikj commented 1 month ago

It was a problem with one of the included files, probably in new versions some things are changed, like putting hex with opacity for border color.