Comments (13)
You're not on this version, it only happen's when using Attila's original version
from vscode-mjml.
I uninstalled and reinstalled this specific version of MJML VSCode extension several times just to be sure and I still get this error message.
from vscode-mjml.
Sadly I'm running into the same issue. Double checked I'm using the right extension.
MJML couldn't build the proper version of PhantomJS. Restart VSCode in order to try it again.
from vscode-mjml.
Same here. Can we reopen this issue?
from vscode-mjml.
What OS are you running ? Can you do some preview ?
from vscode-mjml.
Hi!
Windows 10 and Debian 12.
What do you mean by doing some preview?
from vscode-mjml.
from vscode-mjml.
Ah! :)
In the preview pane appears the message "Active editor doesn't show a MJML document.", while vscode notifies:
"MJML needs to be rebuilt for your current platform. Please wait for the installation to finish..."
This fails with "MJML couldn't build the proper version of PhantomJS. Restart VSCode in order to try it again."
from vscode-mjml.
from vscode-mjml.
No problem :) But yeah, I'm testing on the demo mjml taken from the online editor.
from vscode-mjml.
Hey! I just had a moment to think about this issue and found something. It works when the source is an actual file.
I only opened a new tab and set the language to mjml before. I wasn't aware that this is how you're supposed to use it. Maybe it should say so explicitly in the description?
I imagine this restriction comes with the way the processor works?
from vscode-mjml.
I think we can do it for unsaved file but I guess it would mean to do some stuff to handle relative path (img, and so on...)
from vscode-mjml.
I'm okay with working with files for now. I just think there should be a line somewhere in the README.md to make it clear.
A fileless preview and live editing would be nice of course. Maybe set a working directory in the settings where relative paths can be set for assets.
from vscode-mjml.
Related Issues (20)
- Previewing relative images HOT 1
- [Feature Request] Pre-processor support for MJML preview
- Format Document replaces raw <style> with <mj-style> HOT 2
- Commmand 'MJML: Template' resulted in an error (command 'mjml.template' not found)
- "MJML: Open Preview to the Side" not working HOT 1
- When using a header include to define <mjml> preview window states "Active editor doesn't show a MJML document" HOT 2
- HTML export/Copy Encoding problem HOT 2
- Custom components aren't being registered by the extension
- Uncertainty of the VSCode plugin HOT 6
- Extension causes high cpu load
- <mj-style> formatting goes crazy when the css contains '<' or '>' HOT 1
- MJML needs to rebuilt for your current platform HOT 1
- Templating compatibility HOT 1
- About section in this repo still points to old extension
- No support to preview mjml files generated by other tools HOT 3
- Option to insert external css file or code
- Multiple Security Vulnerabilities Found in Repository
- mjml column is not working in hotmail
- MJML couldn't build the proper version of PhantomJS. Restart VSCode in order to try it again. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-mjml.