GithubHelp home page GithubHelp logo

mjml4-in-browser's Issues

Is this supposed to work yet

I can't seem to get this to work

$ npm run build

> [email protected] build C:\Users\Jace\git\mjml4-in-browser
> webpack

Hash: 93ec878bfa46b2e833ec
Version: webpack 2.7.0
Time: 70ms
  Asset     Size  Chunks             Chunk Names
mjml.js  3.14 kB       0  [emitted]  mjml
   [0] multi ./mjml/packages/mjml/src/index 28 bytes {0} [built]

ERROR in multi ./mjml/packages/mjml/src/index
Module not found: Error: Can't resolve './mjml/packages/mjml/src/index' in 'C:\Users\Jace\git\mjml4-in-browser'
 @ multi ./mjml/packages/mjml/src/index
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jace\AppData\Roaming\npm-cache\_logs\2019-01-14T02_14_54_175Z-debug.log

I'm not sure what this repo is doing.

.mjml2html is not a function

I do the following:
import { mjml2html } from 'mjml4-in-browser'; mjml2html(..)

But suddenly i get the error that the function is not defined. Is something changed?

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.