mad-eye / meteor-mocha-web

easily and safely run mocha tests within the Meteor framework
MIT License
145 stars 46 forks source link

Error after updating to meteor 1.3 #201

Open JackThorp opened 8 years ago

JackThorp commented 8 years ago

I am new to Meteor so any help on this would be greatly appreciated. I successfully ran meteor update to update to meteor 1.3, my application builds and runs but the velocity test mirror is encountering problems with package constraints. I'm not sure how to read the output / solve the problem? I would also like to know where the meteor version is requested to be 1.2.1, is this from mocha-web?

Output to .meteor/local/log/mocha.log

=> Using velocity:METEOR@1.2.1_2 as requested (overriding Meteor 1.3.1)

[[[[[ ~/comp_sci/projects/masters_project/dapp_meteor/app ]]]]]

=> Started proxy. => Errors prevented startup:

While selecting package versions: error: Conflict: Constraint meteor@1.1.13 is not satisfied by meteor 1.1.10. Constraints on package "meteor":

=> Your application has errors. Waiting for file change.

hkniberg commented 8 years ago

Yep, same here. The problem makes mike:mocha completely unusable with Meteor 1.3. It's easy to replicate, just create a new meteor project with "meteor create", add mike:mocha, start it, and tail the test log. I'm using Meteor 1.3.2.4 and Node 4.4.1. Here's my test log:

=> Using velocity:METEOR@1.2.1_2 as requested (overriding Meteor 1.3.2.4)

[[[[[ ~/Documents/spikes/meteor5 ]]]]]

=> Started proxy. => Errors prevented startup:

While selecting package versions: error: Conflict: Constraint meteor@1.1.14 is not satisfied by meteor 1.1.10. Constraints on package "meteor":

And here are the package versions:

autopublish 1.0.7 (For prototyping only) Publish the entire database to all clients blaze-html-templates 1.0.4 Compile HTML templates into reactive UI with Meteor Blaze ecmascript 0.4.3 Compiler plugin that supports ES2015+ in all .js files es5-shim 4.5.10 Shims and polyfills to improve ECMAScript 5 support insecure 1.0.7 (For prototyping only) Allow all database writes from the client jquery 1.11.8 Manipulate the DOM using CSS selectors meteor-base 1.0.4 Packages that every Meteor app needs mike:mocha 0.6.6 Run mocha tests in the browser mobile-experience 1.0.4 Packages for a great mobile user experience mongo 1.1.7 Adaptor for using MongoDB and Minimongo over DDP reactive-var 1.0.9 Reactive variable standard-minifier-css 1.0.6 Standard css minifier used with Meteor apps by default. standard-minifier-js 1.0.6 Standard javascript minifiers used with Meteor apps by default. tracker 1.0.13 Dependency tracker to allow reactive callbacks

AlexandreRoba commented 8 years ago

Same here,

error: Conflict: Constraint meteor@1.1.14 is not satisfied by meteor 1.1.10

wsxedcr commented 8 years ago

This is my log for using Meteor 1.4

`Errors prevented startup:

While selecting package versions: error: No version of meteor-base satisfies all constraints: @1.0.4, @=1.0.1 Constraints on package "meteor-base":

No version of mobile-experience satisfies all constraints: @1.0.4, @=1.0.1 Constraints on package "mobile-experience":

No version of mongo satisfies all constraints: @1.1.10, @=1.1.3 Constraints on package "mongo":

No version of blaze-html-templates satisfies all constraints: @1.0.4, @=1.0.1 Constraints on package "blaze-html-templates":

No version of reactive-var satisfies all constraints: @1.0.10, @=1.0.6 Constraints on package "reactive-var":

No version of jquery satisfies all constraints: @1.11.9, @=1.11.4 Constraints on package "jquery":

No version of tracker satisfies all constraints: @1.1.0, @=1.0.9 Constraints on package "tracker":

No version of es5-shim satisfies all constraints: @4.6.13, @=4.1.14 Constraints on package "es5-shim":

No version of ecmascript satisfies all constraints: @0.5.7, @=0.1.6 Constraints on package "ecmascript":

No version of autopublish satisfies all constraints: @1.0.7, @=1.0.4 Constraints on package "autopublish":

No version of accounts-password satisfies all constraints: @1.2.12, @=1.1.4 Constraints on package "accounts-password":

No version of accounts-github satisfies all constraints: @1.0.10, @=1.0.6 Constraints on package "accounts-github":

No version of accounts-google satisfies all constraints: @1.0.10, @=1.0.6 Constraints on package "accounts-google":

Your application has errors. Waiting for file change.`

aitaix commented 6 years ago

I get the same errors with Meteor 1.2.1:

`@u3:/opt/plexrequests$ meteor --port 4000 [[[[[ /opt/plexrequests ]]]]]

=> Started proxy.
=> Meteor 1.6.1 is available. Update this project with 'meteor update'. => Started MongoDB.
=> Errors prevented startup:

While selecting package versions: error: Conflict: Constraint caching-compiler@1.1.7 is not satisfied by caching-compiler 1.0.0. Constraints on package "caching-compiler":

=> Your application has errors. Waiting for file change.`