montagejs / mop

Montage Optimizer (mop): Minifies (to reduce file size) and creates bundles (to reduce the number of requests) of Montage applications.
Other
31 stars 15 forks source link

Error: Mop only supports Montage >=16.0.0. This app has 0.15.2 #65

Closed damianoferrari closed 6 years ago

damianoferrari commented 8 years ago

I am following the steps outlined in the "Hello MontageJS" tutorial. The app seems to be working fine, but when I try to run mop on it, I get this error:

Error: Mop only supports Montage >=16.0.0. This app has 0.15.2

I just installed MontageJS today and created an app by following the directions in the tutorial:

mop returns an error even if called on a newly created application, with no changes made to the code.

marchant commented 8 years ago

Damian, what version of montage is your project using right now? mop and montage versions need to be in lock steps and it looks like you're running the latest version of mop but the project is using montage 0.15.2. A simple fix should be to update the project to montage ~16.0.2

marchant commented 8 years ago

I just published mop v16.02 as there was a dependency in dev that should be there all the time, please update!

lojosmit commented 7 years ago

how does one update the version of montage, i tried that and it still fails.

{ "name": "temp-converter", "version": "0.1.0", "dependencies": { "montage": "~16.0.3", "digit": "~0.5.1" }, "devDependencies": { "montage-testing": "~0.4.0" }, "exclude": [ "run-tests.html", "test" ], "bundle": [ "ui/main.reel" ] }

hthetiot commented 6 years ago

npm uninstall montage digit --save npm install montage digit --save npm uninstall montage-testing --save-dev npm install montage-testing --save-dev

Or see updated temp-converter https://github.com/montagejs/temp-converter