I tried this:
-- bower install "athens=git://github.com/ bower not-cached git://github.com/matthias-springer/amber-athens-library.git#master bower resolve git://github.com/matthias-springer/amber-athens-library.git#master bower checkout athens#master bower invalid-meta athens is missing "main" entry in bower.json bower resolved git://github.com/matthias-springer/amber-athens-library.git#ce85ff33c8 bower install athens#ce85ff33c8 athens#ce85ff33c8 bower_components/athens ├── amber#0.14.16 ├── amber-contrib-jquery#0.1.0 └── amber-contrib-web#0.2.0 Then I ran 'grunt devel'. I added 'athens' to the application's #imports:. When I restarted the application, I could no longer start Helios and the welcome app would not respond to any of the buttons. Effectively, the app had been killed. You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Well, again someone complains about "cannot load when I added foo to list of dependencies" while there isn't any module named 'foo' at all.
I am tired of this, really. Dňa 21. júna 2015 23:51:33 CEST používateľ Richard Eng <[hidden email]> napísal:
--
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
As they more-or-less depend on each other, you often only need to add I was thrown off a bit by your 'athens' alias; I thought I could use this in the 'imports:'. But no, you must use 'amber-athens'.
-- On Sunday, 21 June 2015 23:51:16 UTC-4, Herby wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Richard Eng wrote: > As they more-or-less depend on each other, you often only need to add > the 'leaf(s)' (the most specific one(s)) in `imports:` and the general > ones used for subclassing etc. are loaded automatically. Exception to > the aforementioned "often" is a package with classes that should only > load and be present, but no-one subclass or extend them, so the > dependency is not automatically included by Amber (and you must do > it by > hand), but often this is not the case. You can find out the right leafs > by trial and error (add to imports:, save, commit, reload, see in > browser if all you need is present, iterate), or by looking to .js > files' first lines to see which packages are implicitly depended upon. > > > AFAICT, 'amber-athens/Athens-Core' and 'amber-athens/Athens-HTML' are > the necessary modules. They now load. > > I was thrown off a bit by your 'athens' alias; I thought I could use It's alias only for bower, as it needs a key in dependencies in bower.json; what is used in Amber is amd namespace which is orthogonal (though often similar or same). > this in the 'imports:'. But no, you must use 'amber-athens'. > > > On Sunday, 21 June 2015 23:51:16 UTC-4, Herby wrote: > > Well, again someone complains about "cannot load when I added foo to > list of dependencies" while there isn't any module named 'foo' at all. > > I am tired of this, really. > > Dňa 21. júna 2015 23:51:33 CEST používateľ Richard Eng > <[hidden email] <javascript:>> napísal: > > I tried this: > > bower install > "athens=git://github.com/matthias-springer/amber-athens-library.git#master > <http://github.com/matthias-springer/amber-athens-library.git#master>" > --save > > bower not-cached > git://github.com/matthias-springer/amber-athens-library.git#master > <http://github.com/matthias-springer/amber-athens-library.git#master> > > bower resolve > git://github.com/matthias-springer/amber-athens-library.git#master > <http://github.com/matthias-springer/amber-athens-library.git#master> > > bower checkout athens#master > > bower invalid-meta athens is missing "main" entry in bower.json > > bower resolved > git://github.com/matthias-springer/amber-athens-library.git#ce85ff33c8 > <http://github.com/matthias-springer/amber-athens-library.git#ce85ff33c8> > > bower install athens#ce85ff33c8 > > > athens#ce85ff33c8 bower_components/athens > > ├── amber#0.14.16 > > ├── amber-contrib-jquery#0.1.0 > > └── amber-contrib-web#0.2.0 > > > > Then I ran 'grunt devel'. I added 'athens' to the application's > #imports:. > > When I restarted the application, I could no longer start Helios > and the welcome app would not respond to any of the buttons. > Effectively, the app had been killed. > > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
bower install "athens=git://github.com/ BTW, Matthias, if there is a working version, could you add a tag to the commit (like 0.1.0), so "#master" does not need to be added? I presume there's no working version, so I will use the master in my Amber tutorial. Should this change in the future, I hope it won't confuse my readers. On Monday, 22 June 2015 07:44:33 UTC-4, Herby wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
I created a "0.1.0" tag. That version is working except for two steps in the tutorial (drawing bitmaps and using a surface as a paint). On Tue, Jun 23, 2015 at 5:56 AM, Richard Eng <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
You mean the master version works perfectly, but 0.1.0 does not??? How can this be, if the code hasn't actually changed?
-- On Tuesday, 23 June 2015 04:56:16 UTC-4, Matthias Springer wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
No, at the moment, 0.1.0 and master point to the same commit. They're the same version. But you can be sure that everything except for these two things are working in 0.1.0, even if I accidentally break stuff in master. On Tue, Jun 23, 2015 at 2:51 PM, Richard Eng <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Matthias, there's a small inconsistency in Step2 of your online tutorial. Instead of:
--
it should be:
Otherwise, there's not much point in having the 'container' variable (other than to "Clear previous canvases"). On Tuesday, 23 June 2015 10:04:06 UTC-4, Matthias Springer wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
BTW,
document body appendChild: renderer domElement. can be written in Silk as Silk new << renderer domElement. as you can << DOM elements directly, and `Silk new` is conveniently representing the cursor at the end of <body>. Herby -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |