{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/9695","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/9695/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/9695/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/9695/events","html_url":"https://github.com/meteor/meteor/issues/9695","id":300017423,"number":9695,"title":"Cannot run meteor test-packages anymore on a package","user":{"login":"mitar","id":585279,"avatar_url":"https://avatars3.githubusercontent.com/u/585279?v=4","gravatar_id":"","url":"https://api.github.com/users/mitar","html_url":"https://github.com/mitar","followers_url":"https://api.github.com/users/mitar/followers","following_url":"https://api.github.com/users/mitar/following{/other_user}","gists_url":"https://api.github.com/users/mitar/gists{/gist_id}","starred_url":"https://api.github.com/users/mitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitar/subscriptions","organizations_url":"https://api.github.com/users/mitar/orgs","repos_url":"https://api.github.com/users/mitar/repos","events_url":"https://api.github.com/users/mitar/events{/privacy}","received_events_url":"https://api.github.com/users/mitar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-25T11:13:50Z","updated_at":"2018-02-27T05:29:26Z","closed_at":null,"author_association":"COLLABORATOR","body":"I have a CI running on all my packages. It installs Meteor and runs mostly just:\r\n\r\n```\r\nmeteor test-packages ./\r\n```\r\n\r\nBut this does not work anymore. For example, [for this package](https://github.com/peerlibrary/meteor-blaze-common-component), if I run the above command I get:\r\n\r\n```\r\n=> Errors prevented startup:                  \r\n   \r\n   While selecting package versions:\r\n   error: Conflict: Constraint babel-compiler@6.13.0 is not satisfied by babel-compiler 7.0.5.\r\n   Constraints on package \"babel-compiler\":\r\n   * babel-compiler@~7.0.0 <- top level\r\n   * babel-compiler@7.0.0 <- ecmascript 0.10.5 <- allow-deny 1.1.0 <- mongo 1.4.4 <- autoupdate 1.4.0\r\n   * babel-compiler@7.0.0 <- ecmascript 0.10.5 <- autoupdate 1.4.0\r\n   * babel-compiler@6.13.0 <- coffeescript 1.11.1_4 <- local-test:peerlibrary:blaze-common-component 0.4.3\r\n```\r\n\r\nIf I run:\r\n\r\n```\r\nmeteor --release 1.6.0.1 test-packages ./\r\n```\r\n\r\nThen I get:\r\n\r\n```\r\n=> Errors prevented startup:                  \r\n   \r\n   While loading plugin `basicFileTypes` from package `meteor`:\r\n   packages/basicFileTypes_plugin.js:39:9: Package._define is not a function\r\n   at packages/basicFileTypes_plugin.js:39:9\r\n   at packages/basicFileTypes_plugin.js:41:3\r\n```\r\n\r\nRunning `meteor --release 1.4.4.5 test-packages ./` works.\r\n\r\nDoes this mean now we have a fixed `--release` when testing packages?"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/368752335","html_url":"https://github.com/meteor/meteor/issues/9695#issuecomment-368752335","issue_url":"https://api.github.com/repos/meteor/meteor/issues/9695","id":368752335,"user":{"login":"nathan-muir","id":3112329,"avatar_url":"https://avatars1.githubusercontent.com/u/3112329?v=4","gravatar_id":"","url":"https://api.github.com/users/nathan-muir","html_url":"https://github.com/nathan-muir","followers_url":"https://api.github.com/users/nathan-muir/followers","following_url":"https://api.github.com/users/nathan-muir/following{/other_user}","gists_url":"https://api.github.com/users/nathan-muir/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-muir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-muir/subscriptions","organizations_url":"https://api.github.com/users/nathan-muir/orgs","repos_url":"https://api.github.com/users/nathan-muir/repos","events_url":"https://api.github.com/users/nathan-muir/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-muir/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T05:29:26Z","updated_at":"2018-02-27T05:29:26Z","author_association":"CONTRIBUTOR","body":"Also had the same issue doing something as basic as - \r\n\r\n```\r\n$ meteor --release 1.6.0.1 create --bare test-app\r\n$ meteor --port 3005\r\n[[[[[ ~/tmp/test-app ]]]]]                        \r\n\r\n=> Started proxy.                             \r\n=> Errors prevented startup:                  \r\n   \r\n   While loading plugin `basicFileTypes` from package `meteor`:\r\n   packages/basicFileTypes_plugin.js:39:9: Package._define is not a function\r\n   at packages/basicFileTypes_plugin.js:39:9\r\n   at packages/basicFileTypes_plugin.js:41:3\r\n   \r\n   \r\n=> Your application has errors. Waiting for file change.\r\n=> Meteor 1.6.1 is available. Update this project with 'meteor update'.\r\n=> Started MongoDB.\r\n```\r\n\r\nI was able to work around the issue by adding a strict constraint `meteor@=1.8.0`\r\n\r\n```\r\n$ cat >> .meteor/packages <<EOM\r\nmeteor@=1.8.0\r\nEOM\r\n$ meteor --port 3005\r\n[[[[[ ~/tmp/test-app ]]]]]                        \r\n\r\n=> Started proxy.                             \r\n=> Meteor 1.6.1 is available. Update this project with 'meteor update'.\r\n=> Started MongoDB.                           \r\n                                                                                   \r\nChanges to your project's package version selections:\r\n                                              \r\nmeteor  downgraded from 1.8.3 to 1.8.0        \r\n\r\n=> Started your app.                          \r\n\r\n=> App running at: http://localhost:3005/\r\n\r\n```"}}
{"actor":{"display_login":"nathan-muir"}}