at ConstraintSolver.PackagesResolver._unibuildsForPackage (packages/constraint-solver/constraint-solver.js:240)
I think I followed the instructions correctly?
Tom
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
For more options, visit https://groups.google.com/d/optout.
--
For (1), the release is called 0.9.0-preview2, not 0.9.0 yet.
For (2), we'll look into that soon!
On Thu, Jun 26, 2014 at 7:02 PM, Tom Coleman <t...@thesnail.org> wrote:
> Hi Ekate,
>
> Cool stuff!
>
> I’m trying to get a simple package published (the errors package from
> Discover Meteor — branch here:
> https://github.com/tmeasday/meteor-errors/tree/unipackage).
>
> I’ve run into a couple of problems:
>
> 1. I can’t use `api.versionsFrom('METEOR-CO...@0.9.0’)` — if I add that line,
It worked!On preview4 tests pass, and publishing works. I can see it when I `meteor0 search tmeasday`. I can add it to an application with `meteor0 add tmeasday:errors`. Exciting times!PS I can’t see anything at https://packages-preview.meteor.com. Am I supposed to?PPS I was in a directory called ‘tmeasday:errors’ FYI, so I’m not sure what changed apart from the new version.On Saturday, 28 June 2014 at 7:42 am, David Glasser wrote:
For (2), there may have been two issues:(a) Were you in a directory named tmeasday:errors? That was necessary.(b) There was a bug where it couldn't find your new package from theon_test. Fixed in 0.9.0-preview3! (meteor0 update FTW)On Thu, Jun 26, 2014 at 10:45 PM, David Glasser <gla...@meteor.com> wrote:
For (1), the release is called 0.9.0-preview2, not 0.9.0 yet.For (2), we'll look into that soon!On Thu, Jun 26, 2014 at 7:02 PM, Tom Coleman <t...@thesnail.org> wrote:
Hi Ekate,Cool stuff!I’m trying to get a simple package published (the errors package fromDiscover Meteor — branch here:I’ve run into a couple of problems:
1. I can’t use `api.versionsFrom('METEOR-CO...@0.9.0’)` — if I add that line,
<username:packagename>
app-test (a meteor app)|__packages|__phil:test (the meteor package with tests)
|__ test.js
Package.on_test(function(api) {api.use('tiny...@1.0.0');api.addFiles('test.js', ['server', 'client']);});
While trying to test package `phil:test`:
error: There are no tests for package: phil:test
1. namepackage name is picked from the name of the directory. name parameter of the package.js has no meaning. But some of the core meteor packages has name in it. (eg:- mongo-livedata)I hope this is a temporary behaviour.
2. mongo-livedata/Users/arunoda/.meteor0/packages/meteor-tool/.1.0.3.15dresg++browser+os.osx.x86_64/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173throw(ex);^[object Object]
3. meta filesThere are couple of files generated. They seems like version files.arunoda:kadira-versions.jsarunoda:kadira:test-versions.jsDo we need to push them to git? does they have effect when I am re-publishing again.
On Sun, Jun 29, 2014 at 6:54 AM, Zoltan Olah <z...@percolatestudio.com> wrote:
Nice work everyone, I successfully added tmeasday:errors to my project!
On Saturday, June 28, 2014 at 2:07 AM, Tom Coleman wrote:
It worked!On preview4 tests pass, and publishing works. I can see it when I `meteor0 search tmeasday`. I can add it to an application with `meteor0 add tmeasday:errors`. Exciting times!PS I can’t see anything at https://packages-preview.meteor.com. Am I supposed to?PPS I was in a directory called ‘tmeasday:errors’ FYI, so I’m not sure what changed apart from the new version.On Saturday, 28 June 2014 at 7:42 am, David Glasser wrote:
For (2), there may have been two issues:(a) Were you in a directory named tmeasday:errors? That was necessary.(b) There was a bug where it couldn't find your new package from theon_test. Fixed in 0.9.0-preview3! (meteor0 update FTW)On Thu, Jun 26, 2014 at 10:45 PM, David Glasser <gla...@meteor.com> wrote:
For (1), the release is called 0.9.0-preview2, not 0.9.0 yet.For (2), we'll look into that soon!On Thu, Jun 26, 2014 at 7:02 PM, Tom Coleman <t...@thesnail.org> wrote:
Hi Ekate,Cool stuff!I’m trying to get a simple package published (the errors package fromDiscover Meteor — branch here:I’ve run into a couple of problems:
1. I can’t use `api.versionsFrom('METEOR-CO...@0.9.0’)` — if I add that line,
1. I can’t use `api.versionsFrom('METEOR-CORE@0.9.0’)` — if I add that line,
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core+unsubscribe@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
For more options, visit https://groups.google.com/d/optout.
// expected syntax to use, based on 'meteor0 --version'
api.versionsFrom('Meteor 0.9.0-preview');
// what actually workedapi.versionsFrom('METEO...@0.9.0-preview5');
bash-3.2$ meteor0 publish --createBuilding package...Bundling source...Creating package...Creating package version...ERROR: Match failed [400]Package could not be published.
bash-3.2$ meteor0 publish --createBuilding package...Bundling source...Creating package…Cannot override existing package [403]
bash-3.2$ meteor0 search awatson1978Neither packages nor releases containing the string 'awatson1978' could be found.
Hi Ekaterina!
Excited to be trying out the new packaging system! :)
I gave Meteor 0.9.0-preview5 a try this evening, and ran into a few bumps. The first unexpected glitch was with api.versionsFrom() which didn't use the syntax that one would expect from --version.// expected syntax to use, based on 'meteor0 --version'
api.versionsFrom('Meteor 0.9.0-preview');
// what actually workedapi.versionsFrom('METEOR-CORE@0.9.0-preview5');
You received this message because you are subscribed to a topic in the Google Groups "meteor-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-core/OS54_kc8O5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-core...@googlegroups.com.
=> App running at: http://localhost:3000/
=> Errors prevented startup:
While building the application:
sampleapp.html:11: Expected `}}`
...ld!</h1> {{greeting} <input type="but...
^
=> Your application has errors. Waiting for file change.
Put the brace back in and its not recovering.
$ curl https://install-packaging-preview.meteor.com | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2886 100 2886 0 0 1555 0 0:00:01 0:00:01 --:--:-- 1555
Downloading Meteor pre-release distribution
######################################################################## 100,0%
cfs-file: updating npm dependencies -- temp...
data-man: updating npm dependencies -- mime, simple-bufferstream, request, temp...
cfs-tempstore: updating npm dependencies -- combined-stream...
cfs-filesystem: updating npm dependencies -- chokidar, mkdirp...
cfs-graphicsmagick: updating npm dependencies -- gm...
cfs-gridfs: updating npm dependencies -- mongodb, gridfs-stream...
/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^
Error: Cannot find anything about package -- collectionFS
at ConstraintSolver.PackagesResolver._unibuildsForPackage (packages/constraint-solver/constraint-solver.js:304)
at packages/constraint-solver/constraint-solver.js:270
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/underscore.js:105)
at ConstraintSolver.PackagesResolver._splitDepsToConstraints (packages/constraint-solver/constraint-solver.js:269)
at ConstraintSolver.PackagesResolver.resolve (packages/constraint-solver/constraint-solver.js:190)
at _.extend.resolveConstraints (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/catalog.js:312:28)
at determineBuildTimeDependencies (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:191:26)
at Object.compiler.getBuildOrderConstraints (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:928:23)
at _.extend._build (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/catalog.js:609:25)
at _.extend.getLoadPathForPackage (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/catalog.js:858:14)
at _.extend.getLoadPathForPackage (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/package-loader.js:112:29)
at _.extend.getPackage (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/package-loader.js:45:25)
at /Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands.js:171:14
at Array.forEach (native)
at Function._.each._.forEach (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at loadPackages (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands.js:167:7)
at /Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands.js:180:5
at Object.capture (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:191:5)
at main.registerCommand.name [as func] (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands.js:175:31)
at main.longHelp (/Users/raix/.meteor0/packages-from-server/packages-preview/meteor-tool/.1.0.0.yn14vr++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/main.js:1136:23)
Installation failed.
~
$
-----------------------
From the collectionFS package.js in local package folder:
Package.describe({
version: '0.0.0',
summary: 'Filesystem for Meteor, collectionFS'
});
------------------
So the package is there, in my local dev package folder, I've added version:'0.0.0' - its quite a job had to do this (I got 72 packages at the moment locally more on github)
So I'm just guessing now - but it seems as if only lowercase folders are accepted?
It would be nice if it could be a bit more js/forgiving in terms of breaking installation etc. Maybe it could accept that a package may not have a version if its found locally + find packages ignoring case, maybe just console.warn about naming convention of packages to be lower case.
Well, cant do a quick test on this, and havent got too much time at the moment to dig deeper in this area.