Giter Club home page Giter Club logo

Comments (7)

iRyusa avatar iRyusa commented on August 16, 2024 1

Can you try to upgrade your node to the latest version ? At least node 4.3.

https://nodejs.org/en/

It might be an issue with your node version

from mjml.

iRyusa avatar iRyusa commented on August 16, 2024

Hey there @DylanOpet !

Can you provide your node version and your input.mjml ?

from mjml.

DylanOpet avatar DylanOpet commented on August 16, 2024

Ah, I don't have an input.mjml I thought thats what might have generated one? :-)

npm WARN engine [email protected]: wanted: {"node":">=0.10.0"} (current: {"node":"0.13.0-pre","npm":"2.11.2"})

from mjml.

iRyusa avatar iRyusa commented on August 16, 2024

mjml -r input.mjml compiles your input.mjml as output.html

Closing then if there's no error :)

from mjml.

DylanOpet avatar DylanOpet commented on August 16, 2024

Okay, I now have my input.mjml that I retrieved from the third template and named it that, now tried to render it as output and get the same error, I'm in the same directory of input.mjml/etc.

DylanMBPr-2:mjml dylant$ mjml -r input.mjml
TypeError: undefined is not a function
at /usr/local/lib/node_modules/mjml/lib/cli.js:71:23
at /usr/local/lib/node_modules/mjml/lib/cli.js:43:17
at /usr/local/lib/node_modules/mjml/lib/cli.js:42:12
at Object.render (/usr/local/lib/node_modules/mjml/lib/cli.js:85:3)
at main (/usr/local/lib/node_modules/mjml/lib/mjml:35:28)
at Object. (/usr/local/lib/node_modules/mjml/lib/mjml:52:3)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)

from mjml.

DylanOpet avatar DylanOpet commented on August 16, 2024

Ahhh, I'm sorry for that! Exactly my issue, truly appreciate the awesome fast support. VERY excited to start playing with this! Kudos!!

from mjml.

iRyusa avatar iRyusa commented on August 16, 2024

Let me know if you have any problems ! Thanks 👍

from mjml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.