Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong version displayed on mjml --version #371

Closed
yumyo opened this issue Aug 26, 2016 · 25 comments
Closed

Wrong version displayed on mjml --version #371

yumyo opened this issue Aug 26, 2016 · 25 comments
Milestone

Comments

@yumyo
Copy link

yumyo commented Aug 26, 2016

Hi,
thank you so much for this beautiful piece of work.

I am trying to upgrade to 2.3.2. Unistalled and reinstalled again using npm but it still showing 2.3.1

@yumyo yumyo changed the title update to 2.3.2 upgrade to 2.3.2 Aug 26, 2016
@detj
Copy link

detj commented Aug 26, 2016

@yumyo Tried npm install mjml@2.3.2 ? Is there any npm-shrinkwrap.json file in your project which may have an entry to mjml@2.3.1 ?

@yumyo
Copy link
Author

yumyo commented Aug 31, 2016

thank you @detj but it didn't work.

I'm using mjml just as a globally installed package. As such, the folder I am working in contains just .mjml and .html files. Mjml is not in use anywhere else.

I've uninstalled it, runned npm cache clean then installed again with npm install -g mjml@2.3.2 but still get 2.3.1.

My Node version was 6.0.0 so then, I've updated it to 6.5.0 (via Homebrew) and repeated all of the steps above but nothing changed.

This is the output of the above install command which appears to be correct:

| => npm install -g mjml@2.3.2
/usr/local/bin/mjml -> /usr/local/lib/node_modules/mjml/bin/mjml
/usr/local/lib
└─┬ mjml@2.3.2
  ├─┬ mjml-button@2.0.9
  │ ├── lodash@4.15.0
  │ └─┬ react@15.3.1
  │   ├─┬ fbjs@0.8.4
  │   │ ├── core-js@1.2.7
  │   │ ├─┬ isomorphic-fetch@2.2.1
  │   │ │ ├─┬ node-fetch@1.6.0
  │   │ │ │ ├─┬ encoding@0.1.12
  │   │ │ │ │ └── iconv-lite@0.4.13
  │   │ │ │ └── is-stream@1.1.0
  │   │ │ └── whatwg-fetch@1.0.0
  │   │ ├─┬ promise@7.1.1
  │   │ │ └── asap@2.0.4
  │   │ └── ua-parser-js@0.7.10
  │   ├─┬ loose-envify@1.2.0
  │   │ └── js-tokens@1.0.3
  │   └── object-assign@4.1.0
  ├─┬ mjml-cli@2.3.2
  │ ├─┬ commander@2.9.0
  │ │ └── graceful-readlink@1.0.1
  │ ├─┬ fs-promise@0.5.0
  │ │ ├── any-promise@1.3.0
  │ │ ├─┬ fs-extra@0.26.7
  │ │ │ ├── graceful-fs@4.1.6
  │ │ │ ├── jsonfile@2.3.1
  │ │ │ ├── klaw@1.3.0
  │ │ │ └── rimraf@2.5.4
  │ │ ├── mz@2.4.0
  │ │ └─┬ thenify-all@1.6.0
  │ │   └── thenify@3.2.0
  │ └─┬ glob@7.0.6
  │   ├── fs.realpath@1.0.0
  │   ├─┬ inflight@1.0.5
  │   │ └── wrappy@1.0.2
  │   ├── inherits@2.0.1
  │   ├─┬ minimatch@3.0.3
  │   │ └─┬ brace-expansion@1.1.6
  │   │   ├── balanced-match@0.4.2
  │   │   └── concat-map@0.0.1
  │   ├── once@1.3.3
  │   └── path-is-absolute@1.0.0
  ├── mjml-column@2.0.9
  ├── mjml-container@2.0.9
  ├─┬ mjml-core@2.3.2
  │ ├─┬ cheerio@0.20.0
  │ │ ├─┬ css-select@1.2.0
  │ │ │ ├── boolbase@1.0.0
  │ │ │ ├── css-what@2.1.0
  │ │ │ ├── domutils@1.5.1
  │ │ │ └── nth-check@1.0.1
  │ │ ├─┬ dom-serializer@0.1.0
  │ │ │ └── domelementtype@1.1.3
  │ │ ├── entities@1.1.1
  │ │ ├─┬ htmlparser2@3.8.3
  │ │ │ ├── domelementtype@1.3.0
  │ │ │ ├── domhandler@2.3.0
  │ │ │ ├── entities@1.0.0
  │ │ │ └─┬ readable-stream@1.1.14
  │ │ │   ├── core-util-is@1.0.2
  │ │ │   ├── isarray@0.0.1
  │ │ │   └── string_decoder@0.10.31
  │ │ └─┬ jsdom@7.2.2
  │ │   ├── abab@1.0.3
  │ │   ├── acorn@2.7.0
  │ │   ├── acorn-globals@1.0.9
  │ │   ├── cssom@0.3.1
  │ │   ├── cssstyle@0.2.37
  │ │   ├─┬ escodegen@1.8.1
  │ │   │ ├── esprima@2.7.3
  │ │   │ ├── estraverse@1.9.3
  │ │   │ ├── esutils@2.0.2
  │ │   │ ├─┬ optionator@0.8.1
  │ │   │ │ ├── deep-is@0.1.3
  │ │   │ │ ├── fast-levenshtein@1.1.4
  │ │   │ │ ├── levn@0.3.0
  │ │   │ │ ├── prelude-ls@1.1.2
  │ │   │ │ ├── type-check@0.3.2
  │ │   │ │ └── wordwrap@1.0.0
  │ │   │ └── source-map@0.2.0
  │ │   ├── nwmatcher@1.3.8
  │ │   ├── parse5@1.5.1
  │ │   ├─┬ request@2.74.0
  │ │   │ ├── aws-sign2@0.6.0
  │ │   │ ├── aws4@1.4.1
  │ │   │ ├─┬ bl@1.1.2
  │ │   │ │ └─┬ readable-stream@2.0.6
  │ │   │ │   ├── isarray@1.0.0
  │ │   │ │   ├── process-nextick-args@1.0.7
  │ │   │ │   └── util-deprecate@1.0.2
  │ │   │ ├── caseless@0.11.0
  │ │   │ ├─┬ combined-stream@1.0.5
  │ │   │ │ └── delayed-stream@1.0.0
  │ │   │ ├── extend@3.0.0
  │ │   │ ├── forever-agent@0.6.1
  │ │   │ ├─┬ form-data@1.0.1
  │ │   │ │ └── async@2.0.1
  │ │   │ ├─┬ har-validator@2.0.6
  │ │   │ │ ├─┬ chalk@1.1.3
  │ │   │ │ │ ├── ansi-styles@2.2.1
  │ │   │ │ │ ├── escape-string-regexp@1.0.5
  │ │   │ │ │ ├─┬ has-ansi@2.0.0
  │ │   │ │ │ │ └── ansi-regex@2.0.0
  │ │   │ │ │ ├── strip-ansi@3.0.1
  │ │   │ │ │ └── supports-color@2.0.0
  │ │   │ │ ├─┬ is-my-json-valid@2.13.1
  │ │   │ │ │ ├── generate-function@2.0.0
  │ │   │ │ │ ├─┬ generate-object-property@1.2.0
  │ │   │ │ │ │ └── is-property@1.0.2
  │ │   │ │ │ ├── jsonpointer@2.0.0
  │ │   │ │ │ └── xtend@4.0.1
  │ │   │ │ └─┬ pinkie-promise@2.0.1
  │ │   │ │   └── pinkie@2.0.4
  │ │   │ ├─┬ hawk@3.1.3
  │ │   │ │ ├── boom@2.10.1
  │ │   │ │ ├── cryptiles@2.0.5
  │ │   │ │ ├── hoek@2.16.3
  │ │   │ │ └── sntp@1.0.9
  │ │   │ ├─┬ http-signature@1.1.1
  │ │   │ │ ├── assert-plus@0.2.0
  │ │   │ │ ├─┬ jsprim@1.3.0
  │ │   │ │ │ ├── extsprintf@1.0.2
  │ │   │ │ │ ├── json-schema@0.2.2
  │ │   │ │ │ └── verror@1.3.6
  │ │   │ │ └─┬ sshpk@1.10.0
  │ │   │ │   ├── asn1@0.2.3
  │ │   │ │   ├── assert-plus@1.0.0
  │ │   │ │   ├─┬ bcrypt-pbkdf@1.0.0
  │ │   │ │   │ └── tweetnacl@0.14.3
  │ │   │ │   ├─┬ dashdash@1.14.0
  │ │   │ │   │ └── assert-plus@1.0.0
  │ │   │ │   ├── ecc-jsbn@0.1.1
  │ │   │ │   ├─┬ getpass@0.1.6
  │ │   │ │   │ └── assert-plus@1.0.0
  │ │   │ │   ├── jodid25519@1.0.2
  │ │   │ │   ├── jsbn@0.1.0
  │ │   │ │   └── tweetnacl@0.13.3
  │ │   │ ├── is-typedarray@1.0.0
  │ │   │ ├── isstream@0.1.2
  │ │   │ ├── json-stringify-safe@5.0.1
  │ │   │ ├─┬ mime-types@2.1.11
  │ │   │ │ └── mime-db@1.23.0
  │ │   │ ├── node-uuid@1.4.7
  │ │   │ ├── oauth-sign@0.8.2
  │ │   │ ├── qs@6.2.1
  │ │   │ ├── stringstream@0.0.5
  │ │   │ └── tunnel-agent@0.4.3
  │ │   ├── sax@1.2.1
  │ │   ├── symbol-tree@3.1.4
  │ │   ├── tough-cookie@2.3.1
  │ │   ├── webidl-conversions@2.0.1
  │ │   ├─┬ whatwg-url-compat@0.6.5
  │ │   │ └── tr46@0.0.3
  │ │   └── xml-name-validator@2.0.1
  │ ├── classnames@2.2.5
  │ ├─┬ debug@2.2.0
  │ │ └── ms@0.7.1
  │ ├── he@1.1.0
  │ ├─┬ html-minifier@3.0.2
  │ │ ├─┬ change-case@3.0.0
  │ │ │ ├── camel-case@3.0.0
  │ │ │ ├── constant-case@2.0.0
  │ │ │ ├── dot-case@2.1.0
  │ │ │ ├── header-case@1.0.0
  │ │ │ ├── is-lower-case@1.1.3
  │ │ │ ├── is-upper-case@1.1.2
  │ │ │ ├── lower-case@1.1.3
  │ │ │ ├── lower-case-first@1.0.2
  │ │ │ ├── no-case@2.3.0
  │ │ │ ├── param-case@2.1.0
  │ │ │ ├── pascal-case@2.0.0
  │ │ │ ├── path-case@2.1.0
  │ │ │ ├── sentence-case@2.1.0
  │ │ │ ├── snake-case@2.1.0
  │ │ │ ├── swap-case@1.1.2
  │ │ │ ├── title-case@2.1.0
  │ │ │ ├── upper-case@1.1.3
  │ │ │ └── upper-case-first@1.1.2
  │ │ ├─┬ clean-css@3.4.19
  │ │ │ ├── commander@2.8.1
  │ │ │ └─┬ source-map@0.4.4
  │ │ │   └── amdefine@1.0.0
  │ │ ├─┬ ncname@1.0.0
  │ │ │ └── xml-char-classes@1.0.0
  │ │ ├── relateurl@0.2.7
  │ │ └─┬ uglify-js@2.7.3
  │ │   ├── async@0.2.10
  │ │   ├── source-map@0.5.6
  │ │   ├── uglify-to-browserify@1.0.2
  │ │   └─┬ yargs@3.10.0
  │ │     ├── camelcase@1.2.1
  │ │     ├─┬ cliui@2.1.0
  │ │     │ ├─┬ center-align@0.1.3
  │ │     │ │ ├─┬ align-text@0.1.4
  │ │     │ │ │ ├─┬ kind-of@3.0.4
  │ │     │ │ │ │ └── is-buffer@1.1.4
  │ │     │ │ │ ├── longest@1.0.1
  │ │     │ │ │ └── repeat-string@1.5.4
  │ │     │ │ └── lazy-cache@1.0.4
  │ │     │ ├── right-align@0.1.3
  │ │     │ └── wordwrap@0.0.2
  │ │     ├── decamelize@1.2.0
  │ │     └── window-size@0.1.0
  │ ├── immutable@3.8.1
  │ ├── jquery@3.1.0
  │ ├─┬ js-beautify@1.6.4
  │ │ ├─┬ config-chain@1.1.10
  │ │ │ ├── ini@1.3.4
  │ │ │ └── proto-list@1.2.4
  │ │ ├─┬ editorconfig@0.13.2
  │ │ │ ├── bluebird@3.4.5
  │ │ │ ├─┬ lru-cache@3.2.0
  │ │ │ │ └── pseudomap@1.0.2
  │ │ │ └── sigmund@1.0.1
  │ │ ├─┬ mkdirp@0.5.1
  │ │ │ └── minimist@0.0.8
  │ │ └─┬ nopt@3.0.6
  │ │   └── abbrev@1.0.9
  │ ├── react-dom@15.3.1
  │ └── warning@3.0.0
  ├── mjml-divider@2.0.10
  ├── mjml-group@2.0.3
  ├── mjml-head-attributes@2.0.7
  ├── mjml-head-font@2.0.1
  ├── mjml-head-title@2.0.1
  ├── mjml-hero@2.0.9
  ├── mjml-html@2.0.9
  ├── mjml-image@2.0.9
  ├─┬ mjml-invoice@2.0.11
  │ └── numeral@1.5.3
  ├── mjml-list@2.0.9
  ├── mjml-location@2.0.9
  ├── mjml-navbar@2.0.7
  ├── mjml-raw@2.0.9
  ├── mjml-section@2.0.9
  ├── mjml-social@2.0.9
  ├── mjml-spacer@2.0.8
  ├── mjml-table@2.0.9
  └── mjml-text@2.0.9

| => mjml --version
2.3.1

@iRyusa
Copy link
Member

iRyusa commented Aug 31, 2016

Well all of your packages are in 2.3.2 it's ok, i think it's just an output bug

@mdrick
Copy link

mdrick commented Sep 1, 2016

I have the same issue from the 2.3.3 version.

It's just an output bug of number of the version or really the wrong version ?
(C'est juste un bug sur le numéro de la version ou c'est carrément la version 2.3.1 qui est utilisée pour la conversion mjml > html)

D'origine quand j'ai tapé npm install mjml dans mon terminal c'était la version 2.1.1 qui était installée, j'ai du forcer avec npm install -g mjml@2.3.3

@ngarnier
Copy link
Member

ngarnier commented Sep 1, 2016

2.3.2 displaying 2.3.1 is definitely an output bug as you can see that there are various installed packages that are 2.3.2, so you're good (sorry for the issue still).

@mdrick It's weird that you got the 2.1.1 version installed though, can you confirm it was not displaying 2.3.1 but 2.1.1 ?

@mdrick
Copy link

mdrick commented Sep 1, 2016

@ngarnier I can confirm that I had 2.1.1 version when I typed npm install mjml

I forced my update with npm install -g mjml@2.3.3

For mjml --version it's return 2.3.1

I can't use mj-all
Warning: No handler found for: mj-all, in mj-head, skipping it

@ngarnier
Copy link
Member

ngarnier commented Sep 1, 2016

@mdrick Ok, that's weird for the 2.1.1 version, we'll investigate, thanks for reporting.

Regarding mj-all, I think your MJML is invalid. I'd guess that mj-all is not wrapped inside mj-attributes. If this is not it, can you please create another issue and include your MJML code so we don't mix it with this issue? Thanks.

@ngarnier ngarnier mentioned this issue Sep 1, 2016
@ipa1981
Copy link

ipa1981 commented Sep 20, 2016

I have same issue.
Did a clean reinstall to receive 2.3.3, but still get 2.3.1

ilja@ilja-XPS-13-9350:~/Code/challenger$ mjml
mjml: command not found

ilja@ilja-XPS-13-9350:~/Code/challenger$ sudo npm -g i mjml
/usr/local/bin/mjml -> /usr/local/lib/node_modules/mjml/bin/mjml
/usr/local/lib
└─┬ mjml@2.3.3 
  ├─┬ mjml-button@2.0.10 
...


ilja@ilja-XPS-13-9350:~/Code/challenger$ mjml --version
2.3.1

It actually seems being really 2.3.1 as I still get mj-hero bug which was fixed in 2.3.3 according to changelog

https://github.com/mjmlio/mjml/releases/tag/2.3.3

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

Still get same problem on other servers as well. Cannot update to latest mjml version. It seems this is quite important issue :)

[ ~]$ mjml --version
2.3.0
[ ~]$ npm -g outdated
Package  Current  Wanted  Latest  Location
mjml       2.3.0   2.3.3   2.3.3
npm       3.10.6  3.10.6  3.10.8
[ ~]$ sudo npm -g update mjml
/usr/local/bin/mjml -> /usr/local/lib/node_modules/mjml/bin/mjml
- async@0.2.10 node_modules/mjml/node_modules/uglify-js/node_modules/async
/usr/local/lib
âââ mjml@2.3.3

[ ~]$ mjml --version
2.3.1

@iRyusa
Copy link
Member

iRyusa commented Oct 5, 2016

It's just an output bug from the cli. We're aware of it, and working to have a better output from mjml --version, in the meantime you use npm ls -g | grep mjml

@iRyusa iRyusa changed the title upgrade to 2.3.2 Wrong version displayed on mjml --version Oct 5, 2016
@iRyusa
Copy link
Member

iRyusa commented Oct 5, 2016

Updated the title, to reflect the real problem

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

@iRyusa I think it's not the version problem

It's actually seems to be 2.3.1 version. As I mentioned in post above - you've fixed mj-hero align problem #366 in 2.3.3. But when I update to latest mjml (should be 2.3.3, but shows 2.3.1) it really acts like 2.3.1:

image

@iRyusa
Copy link
Member

iRyusa commented Oct 5, 2016

Can you give me the result of npm ls -g | grep mjml

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

$ npm ls -g | grep mjml
├─┬ gulp-mjml@1.0.1
│ ├─┬ mjml@2.3.3
│ │ ├─┬ mjml-button@2.0.10
│ │ ├─┬ mjml-cli@2.3.2
│ │ ├─┬ mjml-column@2.0.10
│ │ ├── mjml-container@2.0.10
│ │ ├─┬ mjml-core@2.3.2
│ │ ├─┬ mjml-divider@2.0.11
│ │ ├─┬ mjml-group@2.0.4
│ │ ├─┬ mjml-head-attributes@2.0.7
│ │ ├── mjml-head-font@2.0.1
│ │ ├── mjml-head-title@2.0.1
│ │ ├─┬ mjml-hero@2.0.10
│ │ ├─┬ mjml-html@2.0.9
│ │ ├─┬ mjml-image@2.0.10
│ │ ├─┬ mjml-invoice@2.0.11
│ │ ├─┬ mjml-list@2.0.9
│ │ ├─┬ mjml-location@2.0.10
│ │ ├─┬ mjml-navbar@2.0.8
│ │ ├── mjml-raw@2.0.9
│ │ ├─┬ mjml-section@2.0.10
│ │ ├─┬ mjml-social@2.0.10
│ │ ├── mjml-spacer@2.0.8
│ │ ├── mjml-table@2.0.9
│ │ └─┬ mjml-text@2.0.9
└─┬ mjml@2.3.3
  ├─┬ mjml-button@2.0.10
  ├─┬ mjml-cli@2.3.2
  ├── mjml-column@2.0.10
  ├── mjml-container@2.0.10
  ├─┬ mjml-core@2.3.2
  ├── mjml-divider@2.0.11
  ├── mjml-group@2.0.4
  ├── mjml-head-attributes@2.0.7
  ├── mjml-head-font@2.0.1
  ├── mjml-head-title@2.0.1
  ├── mjml-hero@2.0.10
  ├── mjml-html@2.0.9
  ├── mjml-image@2.0.10
  ├─┬ mjml-invoice@2.0.11
  ├── mjml-list@2.0.9
  ├── mjml-location@2.0.10
  ├── mjml-navbar@2.0.8
  ├── mjml-raw@2.0.9
  ├── mjml-section@2.0.10
  ├── mjml-social@2.0.10
  ├── mjml-spacer@2.0.8
  ├── mjml-table@2.0.9
  └── mjml-text@2.0.9

@iRyusa
Copy link
Member

iRyusa commented Oct 5, 2016

You have the good version cf : mjml@2.3.3 and mjml-hero@2.0.10 is the last version of mj-hero can you share the mjml you're using ?

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

it's copy/paste from your documentation which works well on your site:

<mjml>
  <mj-body>
    <mj-container>
      <mj-hero mode="fixed-height" height="469px" background-width="600px" background-height="469px" background-url="https://cloud.githubusercontent.com/assets/1830348/15354890/1442159a-1cf0-11e6-92b1-b861dadf1750.jpg" background-color="#2a3448" padding="100px 0px">
        <!-- To add content like mj-image, mj-text, mj-button ... use the mj-hero-content component -->
        <mj-hero-content width="100%">
          <mj-text padding="20px" color="#ffffff" font-family="Helvetica" align="center" font-size="45" line-height="45" font-weight="900">
            GO TO SPACE
          </mj-text>
          <mj-button href="https://mjml.io/" align="center">
            ORDER YOUR TICKET NOW
          </mj-button>
        </mj-hero-content>
      </mj-hero>
    </mj-container>
  </mj-body>
</mjml>

@dalefish
Copy link

dalefish commented Oct 5, 2016

Strange, it renders fine for me using the NPM version

mjml-hero

Kind Regards,

:----------------------------:
Dale McConnell

On 5 October 2016 at 10:37, ipa1981 notifications@github.com wrote:

it's copy/paste from your documentation which works well on your site:

GO TO SPACE ORDER YOUR TICKET NOW


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#371 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKxLOH5ymlxRJIhRC_8bbcYeJ8BFu-Mmks5qw2_egaJpZM4Jt6mQ
.

@iRyusa
Copy link
Member

iRyusa commented Oct 5, 2016

I just installed MJML back, and it renders the mj-hero fine too. Maybe cleanup your npm installation ?

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

You're right. On other server it generates good html after update. I'll clean up my machine. Thanks for help.

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

Ok. This is really irritating. I've deleted and installed again all Node modules (incl. mjml) local and global on my machine and get the same result - Older version. While on other machines it works well.
Maybe there is any cache or something outside node_modules directories needed to clean up? It may be a bit off-topic, but any ideas?

@dalefish
Copy link

dalefish commented Oct 5, 2016

There is a global cache which may have old version sat in, try "npm cache
clean"

Kind Regards,

:----------------------------:
Dale McConnell

On 5 October 2016 at 11:32, ipa1981 notifications@github.com wrote:

Ok. This is really irritating. I've deleted and installed again all Node
modules (incl. mjml) local and global on my machine and get the same result

  • Older version. While on other machines it works well.
    Maybe there is any cache or something outside node_modules directories
    needed to clean up? It may be a bit off-topic, but any ideas?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#371 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKxLOKdQ_lCTyGlB272Mp-E3MyCrVekxks5qw3yygaJpZM4Jt6mQ
.

@ipa1981
Copy link

ipa1981 commented Oct 5, 2016

Silly me. I was solving problems with mjml on my physical machine, where mjml shouldn't even exist. And forgot that other mjml runs inside vagrant virtual box. :). Now I have the latest version.

@jeongsd
Copy link

jeongsd commented Oct 8, 2016

I have same issue.
install 2.3.3, but it still showing 2.3.1

npm install --save mjml@2.3.3

└─┬ mjml@2.3.3
  ├─┬ mjml-button@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     ├── core-js@1.2.7
  │     └─┬ isomorphic-fetch@2.2.1
  │       ├─┬ node-fetch@1.6.3
  │       │ └── encoding@0.1.12
  │       └── whatwg-fetch@1.0.0
  ├─┬ mjml-cli@2.3.2
  │ ├─┬ fs-promise@0.5.0
  │ │ ├── any-promise@1.3.0
  │ │ ├─┬ fs-extra@0.26.7
  │ │ │ ├── jsonfile@2.4.0
  │ │ │ └── klaw@1.3.0
  │ │ ├── mz@2.4.0
  │ │ └─┬ thenify-all@1.6.0
  │ │   └── thenify@3.2.0
  │ └─┬ glob@7.1.1
  │   └── minimatch@3.0.3
  ├─┬ mjml-column@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-container@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-core@2.3.2
  │ ├─┬ cheerio@0.20.0
  │ │ ├─┬ css-select@1.2.0
  │ │ │ ├── boolbase@1.0.0
  │ │ │ ├── css-what@2.1.0
  │ │ │ ├── domutils@1.5.1
  │ │ │ └── nth-check@1.0.1
  │ │ ├─┬ dom-serializer@0.1.0
  │ │ │ └── domelementtype@1.1.3
  │ │ ├── entities@1.1.1
  │ │ ├─┬ htmlparser2@3.8.3
  │ │ │ ├── domelementtype@1.3.0
  │ │ │ ├── domhandler@2.3.0
  │ │ │ ├── entities@1.0.0
  │ │ │ └─┬ readable-stream@1.1.14
  │ │ │   └── isarray@0.0.1
  │ │ └─┬ jsdom@7.2.2
  │ │   ├── acorn@2.7.0
  │ │   ├── webidl-conversions@2.0.1
  │ │   └── whatwg-url-compat@0.6.5
  │ ├── he@1.1.0
  │ ├─┬ html-minifier@3.1.0
  │ │ ├─┬ change-case@3.0.0
  │ │ │ ├── camel-case@3.0.0
  │ │ │ ├── constant-case@2.0.0
  │ │ │ ├── dot-case@2.1.0
  │ │ │ ├── header-case@1.0.0
  │ │ │ ├── is-lower-case@1.1.3
  │ │ │ ├── is-upper-case@1.1.2
  │ │ │ ├── lower-case@1.1.3
  │ │ │ ├── lower-case-first@1.0.2
  │ │ │ ├── no-case@2.3.0
  │ │ │ ├── param-case@2.1.0
  │ │ │ ├── pascal-case@2.0.0
  │ │ │ ├── path-case@2.1.0
  │ │ │ ├── sentence-case@2.1.0
  │ │ │ ├── snake-case@2.1.0
  │ │ │ ├── swap-case@1.1.2
  │ │ │ ├── title-case@2.1.0
  │ │ │ ├── upper-case@1.1.3
  │ │ │ └── upper-case-first@1.1.2
  │ │ ├─┬ clean-css@3.4.20
  │ │ │ ├── commander@2.8.1
  │ │ │ └── source-map@0.4.4
  │ │ ├─┬ ncname@1.0.0
  │ │ │ └── xml-char-classes@1.0.0
  │ │ └── relateurl@0.2.7
  │ ├── immutable@3.8.1
  │ ├── jquery@3.1.1
  │ ├─┬ js-beautify@1.6.4
  │ │ └─┬ editorconfig@0.13.2
  │ │   └─┬ lru-cache@3.2.0
  │ │     └── pseudomap@1.0.2
  │ ├─┬ react@15.3.2
  │ │ └─┬ fbjs@0.8.5
  │ │   └── core-js@1.2.7
  │ ├── react-dom@15.3.2
  │ └── warning@3.0.0
  ├─┬ mjml-divider@2.0.11
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-group@2.0.4
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├── mjml-head-attributes@2.0.7
  ├── mjml-head-font@2.0.1
  ├── mjml-head-title@2.0.1
  ├─┬ mjml-hero@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-html@2.0.9
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-image@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-invoice@2.0.11
  │ ├── numeral@1.5.3
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-list@2.0.9
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-location@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-navbar@2.0.8
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-raw@2.0.9
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-section@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-social@2.0.10
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-spacer@2.0.8
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  ├─┬ mjml-table@2.0.9
  │ └─┬ react@15.3.2
  │   └─┬ fbjs@0.8.5
  │     └── core-js@1.2.7
  └─┬ mjml-text@2.0.9
    └─┬ react@15.3.2
      └─┬ fbjs@0.8.5
        └── core-js@1.2.7

pacakge.json
image

import { version } from 'mjml';
console.log(version()); // 2.3.1

node_modules
image

@iRyusa
Copy link
Member

iRyusa commented Oct 8, 2016

Only an output bug don't worry

On 8 Oct 2016, at 07:13, jeong seong dae notifications@github.com wrote:

I have same issue.
install 2.3.3, but it still showing 2.3.1

npm install --save mjml@2.3.3

└─┬ mjml@2.3.3
├─┬ mjml-button@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ ├── core-js@1.2.7
│ └─┬ isomorphic-fetch@2.2.1
│ ├─┬ node-fetch@1.6.3
│ │ └── encoding@0.1.12
│ └── whatwg-fetch@1.0.0
├─┬ mjml-cli@2.3.2
│ ├─┬ fs-promise@0.5.0
│ │ ├── any-promise@1.3.0
│ │ ├─┬ fs-extra@0.26.7
│ │ │ ├── jsonfile@2.4.0
│ │ │ └── klaw@1.3.0
│ │ ├── mz@2.4.0
│ │ └─┬ thenify-all@1.6.0
│ │ └── thenify@3.2.0
│ └─┬ glob@7.1.1
│ └── minimatch@3.0.3
├─┬ mjml-column@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-container@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-core@2.3.2
│ ├─┬ cheerio@0.20.0
│ │ ├─┬ css-select@1.2.0
│ │ │ ├── boolbase@1.0.0
│ │ │ ├── css-what@2.1.0
│ │ │ ├── domutils@1.5.1
│ │ │ └── nth-check@1.0.1
│ │ ├─┬ dom-serializer@0.1.0
│ │ │ └── domelementtype@1.1.3
│ │ ├── entities@1.1.1
│ │ ├─┬ htmlparser2@3.8.3
│ │ │ ├── domelementtype@1.3.0
│ │ │ ├── domhandler@2.3.0
│ │ │ ├── entities@1.0.0
│ │ │ └─┬ readable-stream@1.1.14
│ │ │ └── isarray@0.0.1
│ │ └─┬ jsdom@7.2.2
│ │ ├── acorn@2.7.0
│ │ ├── webidl-conversions@2.0.1
│ │ └── whatwg-url-compat@0.6.5
│ ├── he@1.1.0
│ ├─┬ html-minifier@3.1.0
│ │ ├─┬ change-case@3.0.0
│ │ │ ├── camel-case@3.0.0
│ │ │ ├── constant-case@2.0.0
│ │ │ ├── dot-case@2.1.0
│ │ │ ├── header-case@1.0.0
│ │ │ ├── is-lower-case@1.1.3
│ │ │ ├── is-upper-case@1.1.2
│ │ │ ├── lower-case@1.1.3
│ │ │ ├── lower-case-first@1.0.2
│ │ │ ├── no-case@2.3.0
│ │ │ ├── param-case@2.1.0
│ │ │ ├── pascal-case@2.0.0
│ │ │ ├── path-case@2.1.0
│ │ │ ├── sentence-case@2.1.0
│ │ │ ├── snake-case@2.1.0
│ │ │ ├── swap-case@1.1.2
│ │ │ ├── title-case@2.1.0
│ │ │ ├── upper-case@1.1.3
│ │ │ └── upper-case-first@1.1.2
│ │ ├─┬ clean-css@3.4.20
│ │ │ ├── commander@2.8.1
│ │ │ └── source-map@0.4.4
│ │ ├─┬ ncname@1.0.0
│ │ │ └── xml-char-classes@1.0.0
│ │ └── relateurl@0.2.7
│ ├── immutable@3.8.1
│ ├── jquery@3.1.1
│ ├─┬ js-beautify@1.6.4
│ │ └─┬ editorconfig@0.13.2
│ │ └─┬ lru-cache@3.2.0
│ │ └── pseudomap@1.0.2
│ ├─┬ react@15.3.2
│ │ └─┬ fbjs@0.8.5
│ │ └── core-js@1.2.7
│ ├── react-dom@15.3.2
│ └── warning@3.0.0
├─┬ mjml-divider@2.0.11
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-group@2.0.4
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├── mjml-head-attributes@2.0.7
├── mjml-head-font@2.0.1
├── mjml-head-title@2.0.1
├─┬ mjml-hero@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-html@2.0.9
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-image@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-invoice@2.0.11
│ ├── numeral@1.5.3
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-list@2.0.9
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-location@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-navbar@2.0.8
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-raw@2.0.9
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-section@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-social@2.0.10
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-spacer@2.0.8
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
├─┬ mjml-table@2.0.9
│ └─┬ react@15.3.2
│ └─┬ fbjs@0.8.5
│ └── core-js@1.2.7
└─┬ mjml-text@2.0.9
└─┬ react@15.3.2
└─┬ fbjs@0.8.5
└── core-js@1.2.7
pacakge.json

import { version } from 'mjml';
console.log(version()); // 2.3.1
node_modules


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ngarnier ngarnier added this to the 3.1.0 milestone Nov 10, 2016
@ngarnier ngarnier modified the milestones: 3.2.0, 3.1.0 Dec 6, 2016
@ngarnier
Copy link
Member

Hello,

This issue is tied to the fact that MJML CLI is a package of MJML. We'll make sure to update the version of mjml-cli when we update mjml. Again, this is only a display issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants