Comments (3)
Did you install mjml2json in the folder you are in? Why do you have so many nested folders (mjml2json-master\mjml2json-master\mjml2json
) when 1 would be enough?
Also, it's hard to tell what you are doing. Are you trying to run node mjml2json .\test\fixtures\styleguide.mjml output.html [-s]
? In that case that's normal as it's not how it works. You should run like described in the readme, try mjml2json -V
.
from mjml2json.
from mjml2json.
The installation instructions are here: https://github.com/mjmlio/mjml2json#installation. As you can see, you should install via NPM or Yarn, not by downloading as a zip.
Error: Cannot find module 'C:\Downloads\mjml2json-master\mjml2json-master\mjml2json'
means it was not properly installed. So please start again in a fresh folder by installing mjml2json
as specified in the documentation. You do not need MJML to use mjml2json, and you should avoid global install, prefer a local install instead (and uninstall the global one).
Then, use like specified in the documentation as well: mjml2json input.mjml output.json
. -s
is an option so shouldn't be between brackets: it's either mjml2json input.mjml output.json
or mjml2json input.mjml output.json -s
.
from mjml2json.
Related Issues (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 mjml2json.