Can't amber init

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't amber init

bowerandy-2
Hi,

I've been away for a year or so and have now come back to try and reawaken the project I was working on before. However, things have moved on while I was away and Amber seems to have become a whole bunch more complicated to install and a whole lot less well documented - which is a shame. It took me 10 minutes to follow the instructions on the website to install Amber from GitHub in 2014 and to get amber serve up and running. So far I have spent well over three hours today and still have nothing. 

Any advice on the following ...

1) I'm on a Mac. I deleted my old Node installation and installed Node 4.4.2 from the NodeJS.org website. I now have:

node -v -> v4.4.2
npm -v -> 2.15.0

2) Now I run:

sudo npm install -g amber-cli

I see a bunch of warnings:

npm WARN peerDependencies The peer dependency grunt-init@^0.3.1 included from amber-cli will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13 included from amber-cli will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

3) This doesn't inspire confidence but, still, it seems to finish so I dare to continue:

mkdir Rocket2016
cd Rocket2016
amber init

Answer 1st question and default all others. Lots of whirring and then eventually:

Warning: Mismatched anonymous define() module: function (amber) { return amber; }
http://requirejs.org/docs/errors.html#mismatch Use --force to continue.
Aborted due to warnings.
grunt exec error:
3

4) Amber serve does appear to run but I'm rather worried what has been left behind. Launching http://localhost:4000 shows the "Hello" buttons but clicking on them does nothing. In the Safari console I see: 

<img src="webkit-fake-url://df6eb1b5-42a5-4cdb-a790-d7bc6e428307/image.tiff">

5) If I run (grunt devel) things seem to start working but I still fear this is not a great new user experience.

Best regards

Andy Bower


--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík


bowerandy wrote:

> Hi,
>
> I've been away for a year or so and have now come back to try and
> reawaken the project I was working on before. However, things have moved
> on while I was away and Amber seems to have become a whole bunch more
> complicated to install and a whole lot less well documented - which is a
> shame. It took me 10 minutes to follow the instructions on the website
> to install Amber from GitHub in 2014 and to get amber serve up and
> running. So far I have spent well over three hours today and still have
> nothing.
>
> Any advice on the following ...
>
> 1) I'm on a Mac. I deleted my old Node installation and installed Node
> 4.4.2 from the NodeJS.org website. I now have:
>
> node -v -> v4.4.2
> npm -v -> 2.15.0
>
> 2) Now I run:
>
> sudo npm install -g amber-cli

README.md actually tell to do this:

   npm install -g grunt-cli grunt-init amber-cli

Maybe that is the problem (yes, it worked before with only amber-cli,
but they made design decision in npm that invalidated that way).

> I see a bunch of warnings:
>
> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
>
> 3) This doesn't inspire confidence but, still, it seems to finish so I
> dare to continue:
>
> mkdir Rocket2016
> cd Rocket2016
> amber init
>
> Answer 1st question and default all others. Lots of whirring and then
> eventually:
>
> *Warning: Mismatched anonymous define() module: function (amber) {
> return amber; }*
> *http://requirejs.org/docs/errors.html#mismatch Use --force to continue.*
> *Aborted due to warnings.*
> *grunt exec error:*
> *3*
>
> 4) Amber serve does appear to run but I'm rather worried what has been
> left behind. Launching http://localhost:4000 shows the "Hello" buttons
> but clicking on them does nothing. In the Safari console I see:
>
>
>
> 5) If I run (grunt devel) things seem to start working but I still fear
> this is not a great new user experience.
>
> Best regards
>
> Andy Bower
>
>
> --
> 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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

bowerandy-2
Herby,

README.md actually tell to do this:

   npm install -g grunt-cli grunt-init amber-cli

Maybe that is the problem (yes, it worked before with only amber-cli,
but they made design decision in npm that invalidated that way).


Actually, that was one of the first things I tried but the result is worse:

npm ERR! Darwin 14.4.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "grunt-cli" "grunt-init" "amber-cli"

npm ERR! node v4.4.2

npm ERR! npm  v2.15.0

npm ERR! code EPEERINVALID


npm ERR! peerinvalid The package grunt-cli@1.2.0 does not satisfy its siblings' peerDependencies requirements!

npm ERR! peerinvalid Peer amber-cli@0.15.0 wants grunt-cli@^0.1.13

So the next thing I tried was:

 npm install -g grunt-cli@^0.1.13 grunt-init amber-cli 

and the result is the same as in the original post.

Best regards
 

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
Wow! Interesting. I thought grunt was dead project already. Thabks for heads up!

Herby

Dňa 6. apríla 2016 8:24:22 CEST používateľ bowerandy <[hidden email]> napísal:

>Herby,
>
>README.md actually tell to do this:
>>
>>    npm install -g grunt-cli grunt-init amber-cli
>>
>> Maybe that is the problem (yes, it worked before with only amber-cli,
>
>> but they made design decision in npm that invalidated that way).
>>
>>
>Actually, that was one of the first things I tried but the result is
>worse:
>
>npm ERR! Darwin 14.4.0
>
>npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
>
>"grunt-cli" "grunt-init" "amber-cli"
>
>npm ERR! node v4.4.2
>
>npm ERR! npm  v2.15.0
>
>npm ERR! code EPEERINVALID
>
>
>npm ERR! peerinvalid The package grunt-cli@1.2.0 does not satisfy its
>siblings' peerDependencies requirements!
>npm ERR! peerinvalid Peer amber-cli@0.15.0 wants grunt-cli@^0.1.13
>
>So the next thing I tried was:
>
> npm install -g grunt-cli@^0.1.13 grunt-init amber-cli
>
>and the result is the same as in the original post.
>
>Best regards
>

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Amber Smalltalk mailing list
Hi Herby,

just a couple of days Grunt 1.0.0 was released.

Best,
Manfred


On Wed, Apr 6, 2016 at 10:50 AM, Herby Vojčík <[hidden email]> wrote:
Wow! Interesting. I thought grunt was dead project already. Thabks for heads up!

Herby

Dňa 6. apríla 2016 8:24:22 CEST používateľ bowerandy <[hidden email]> napísal:
>Herby,
>
>README.md actually tell to do this:
>>
>>    npm install -g grunt-cli grunt-init amber-cli
>>
>> Maybe that is the problem (yes, it worked before with only amber-cli,
>
>> but they made design decision in npm that invalidated that way).
>>
>>
>Actually, that was one of the first things I tried but the result is
>worse:
>
>npm ERR! Darwin 14.4.0
>
>npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
>
>"grunt-cli" "grunt-init" "amber-cli"
>
>npm ERR! node v4.4.2
>
>npm ERR! npm  v2.15.0
>
>npm ERR! code EPEERINVALID
>
>
>npm ERR! peerinvalid The package grunt-cli@1.2.0 does not satisfy its
>siblings' peerDependencies requirements!
>npm ERR! peerinvalid Peer amber-cli@0.15.0 wants grunt-cli@^0.1.13
>
>So the next thing I tried was:
>
> npm install -g grunt-cli@^0.1.13 grunt-init amber-cli
>
>and the result is the same as in the original post.
>
>Best regards
>

--
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 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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
In reply to this post by bowerandy-2
Try now.

As updated in README.md (on lolg.it/amber/amber; most of Amber is
already moved out of github), install line should be:

     npm install -g grunt-cli@0 grunt-init bower amber-cli

to install grunt-init version 0. There were some problems with load
order making requirejs not work properly, at least for me it works now.

Herby

bowerandy wrote:

> Hi,
>
> I've been away for a year or so and have now come back to try and
> reawaken the project I was working on before. However, things have moved
> on while I was away and Amber seems to have become a whole bunch more
> complicated to install and a whole lot less well documented - which is a
> shame. It took me 10 minutes to follow the instructions on the website
> to install Amber from GitHub in 2014 and to get amber serve up and
> running. So far I have spent well over three hours today and still have
> nothing.
>
> Any advice on the following ...
>
> 1) I'm on a Mac. I deleted my old Node installation and installed Node
> 4.4.2 from the NodeJS.org website. I now have:
>
> node -v -> v4.4.2
> npm -v -> 2.15.0
>
> 2) Now I run:
>
> sudo npm install -g amber-cli
>
> I see a bunch of warnings:
>
> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
>
> 3) This doesn't inspire confidence but, still, it seems to finish so I
> dare to continue:
>
> mkdir Rocket2016
> cd Rocket2016
> amber init
>
> Answer 1st question and default all others. Lots of whirring and then
> eventually:
>
> *Warning: Mismatched anonymous define() module: function (amber) {
> return amber; }*
> *http://requirejs.org/docs/errors.html#mismatch Use --force to continue.*
> *Aborted due to warnings.*
> *grunt exec error:*
> *3*
>
> 4) Amber serve does appear to run but I'm rather worried what has been
> left behind. Launching http://localhost:4000 shows the "Hello" buttons
> but clicking on them does nothing. In the Safari console I see:
>
>
>
> 5) If I run (grunt devel) things seem to start working but I still fear
> this is not a great new user experience.
>
> Best regards
>
> Andy Bower
>
>
> --
> 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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík


Herby Vojčík wrote:
> Try now.
>
> As updated in README.md (on lolg.it/amber/amber; most of Amber is
> already moved out of github), install line should be:
>
> npm install -g grunt-cli@0 grunt-init bower amber-cli
>
> to install grunt-init version 0. There were some problems with load
s/grunt-init/grunt-cli/

> order making requirejs not work properly, at least for me it works now.
>
> Herby
>
> bowerandy wrote:
>> Hi,
>>
>> I've been away for a year or so and have now come back to try and
>> reawaken the project I was working on before. However, things have moved
>> on while I was away and Amber seems to have become a whole bunch more
>> complicated to install and a whole lot less well documented - which is a
>> shame. It took me 10 minutes to follow the instructions on the website
>> to install Amber from GitHub in 2014 and to get amber serve up and
>> running. So far I have spent well over three hours today and still have
>> nothing.
>>
>> Any advice on the following
 ...

>>
>> 1) I'm on a Mac. I deleted my old Node installation and installed Node
>> 4.4.2 from the NodeJS.org website. I now have:
>>
>> node -v -> v4.4.2
>> npm -v -> 2.15.0
>>
>> 2) Now I run:
>>
>> sudo npm install -g amber-cli
>>
>> I see a bunch of warnings:
>>
>> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>> included from amber-cli will no*
>> *npm WARN peerDependencies longer be automatically installed to fulfill
>> the peerDependency *
>> *npm WARN peerDependencies in npm 3+. Your application will need to
>> depend on it explicitly.*
>> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>> included from amber-cli will no*
>> *npm WARN peerDependencies longer be automatically installed to fulfill
>> the peerDependency *
>> *npm WARN peerDependencies in npm 3+. Your application will need to
>> depend on it explicitly.*
>>
>> 3) This doesn't inspire confidence but, still, it seems to finish so I
>> dare to continue:
>>
>> mkdir Rocket
2016

>> cd Rocket2016
>> amber init
>>
>> Answer 1st question and default all others. Lots of whirring and then
>> eventually:
>>
>> *Warning: Mismatched anonymous define() module: function (amber) {
>> return amber; }*
>> *http://requirejs.org/docs/errors.html#mismatch Use --force to
>> continue.*
>> *Aborted due to warnings.*
>> *grunt exec error:*
>> *3*
>>
>> 4) Amber serve does appear to run but I'm rather worried what has been
>> left behind. Launching http://localhost:4000 shows the "Hello" buttons
>> but clicking on them does nothing. In the Safari console I see:
>>
>>
>>
>> 5) If I run (grunt devel) things seem to start working but I still fear
>> this is not a great new user experience.
>>
>> Best regards
>>
>> Andy Bower
>>
>>
>> --
>> 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]
>> <m
ailto:[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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Peter Goodall
Hi,

Battling very hard to get Amber running. Foolishly I started from the http://docs.amber-lang.net/getting-started.html
Unless the instructions on that page work, you will lose a lot of potential community members. Very interesting project!

Cheers,
--Peter


On Monday, May 9, 2016 at 9:16:58 AM UTC+10, Herby wrote:


Herby Vojčík wrote:
> Try now.
>
> As updated in README.md (on <a href="http://lolg.it/amber/amber" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;">lolg.it/amber/amber; most of Amber is
> already moved out of github), install line should be:
>
> npm install -g grunt-cli@0 grunt-init bower amber-cli
>
> to install grunt-init version 0. There were some problems with load
s/grunt-init/grunt-cli/

> order making requirejs not work properly, at least for me it works now.
>
> Herby
>
> bowerandy wrote:
>> Hi,
>>
>> I've been away for a year or so and have now come back to try and
>> reawaken the project I was working on before. However, things have moved
>> on while I was away and Amber seems to have become a whole bunch more
>> complicated to install and a whole lot less well documented - which is a
>> shame. It took me 10 minutes to follow the instructions on the website
>> to install Amber from GitHub in 2014 and to get amber serve up and
>> running. So far I have spent well over three hours today and still have
>> nothing.
>>
>> Any advice on the following
 ...

>>
>> 1) I'm on a Mac. I deleted my old Node installation and installed Node
>> 4.4.2 from the NodeJS.org website. I now have:
>>
>> node -v -> v4.4.2
>> npm -v -> 2.15.0
>>
>> 2) Now I run:
>>
>> sudo npm install -g amber-cli
>>
>> I see a bunch of warnings:
>>
>> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>> included from amber-cli will no*
>> *npm WARN peerDependencies longer be automatically installed to fulfill
>> the peerDependency *
>> *npm WARN peerDependencies in npm 3+. Your application will need to
>> depend on it explicitly.*
>> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>> included from amber-cli will no*
>> *npm WARN peerDependencies longer be automatically installed to fulfill
>> the peerDependency *
>> *npm WARN peerDependencies in npm 3+. Your application will need to
>> depend on it explicitly.*
>>
>> 3) This doesn't inspire confidence but, still, it seems to finish so I
>> dare to continue:
>>
>> mkdir Rocket
2016

>> cd Rocket2016
>> amber init
>>
>> Answer 1st question and default all others. Lots of whirring and then
>> eventually:
>>
>> *Warning: Mismatched anonymous define() module: function (amber) {
>> return amber; }*
>> *<a href="http://requirejs.org/docs/errors.html#mismatch" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;">http://requirejs.org/docs/errors.html#mismatch Use --force to
>> continue.*
>> *Aborted due to warnings.*
>> *grunt exec error:*
>> *3*
>>
>> 4) Amber serve does appear to run but I'm rather worried what has been
>> left behind. Launching <a href="http://localhost:4000" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;">http://localhost:4000 shows the "Hello" buttons
>> but clicking on them does nothing. In the Safari console I see:
>>
>>
>>
>> 5) If I run (grunt devel) things seem to start working but I still fear
>> this is not a great new user experience.
>>
>> Best regards
>>
>> Andy Bower
>>
>>
>> --
>> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="7mbfyi3RBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+...@googlegroups.com
>> <m
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="7mbfyi3RBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ailto:amber-la...@googlegroups.com>.
>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
Yeah, sorry. I don't have many resources, like time, at the moment. BTW
docs website is hosted here: https://lolg.it/amber/amber-documentation 
so anyone can issue a PR to fix it.

Herby

Peter Goodall wrote:

> Hi,
>
> Battling very hard to get Amber running. Foolishly I started from
> the http://docs.amber-lang.net/getting-started.html
> Unless the instructions on that page work, you will lose a lot of
> potential community members. Very interesting project!
>
> Cheers,
> --Peter
>
>
> On Monday, May 9, 2016 at 9:16:58 AM UTC+10, Herby wrote:
>
>
>
>     Herby Vojčík wrote:
>      > Try now.
>      >
>      > As updated in README.md (on lolg.it/amber/amber
>     <http://lolg.it/amber/amber>; most of Amber is
>      > already moved out of github), install line should be:
>      >
>      > npm install -g grunt-cli@0 grunt-init bower amber-cli
>      >
>      > to install grunt-init version 0. There were some problems with load
>     s/grunt-init/grunt-cli/
>      > order making requirejs not work properly, at least for me it
>     works now.
>      >
>      > Herby
>      >
>      > bowerandy wrote:
>      >> Hi,
>      >>
>      >> I've been away for a year or so and have now come back to try and
>      >> reawaken the project I was working on before. However, things
>     have moved
>      >> on while I was away and Amber seems to have become a whole bunch
>     more
>      >> complicated to install and a whole lot less well documented -
>     which is a
>      >> shame. It took me 10 minutes to follow the instructions on the
>     website
>      >> to install Amber from GitHub in 2014 and to get amber serve up and
>      >> running. So far I have spent well over three hours today and
>     still have
>      >> nothing.
>      >>
>      >> Any advice on the following
>       ...
>      >>
>      >> 1) I'm on a Mac. I deleted my old Node installation and
>     installed Node
>      >> 4.4.2 from the NodeJS.org website. I now have:
>      >>
>      >> node -v -> v4.4.2
>      >> npm -v -> 2.15.0
>      >>
>      >> 2) Now I run:
>      >>
>      >> sudo npm install -g amber-cli
>      >>
>      >> I see a bunch of warnings:
>      >>
>      >> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>      >> included from amber-cli will no*
>      >> *npm WARN peerDependencies longer be automatically installed to
>     fulfill
>      >> the peerDependency *
>      >> *npm WARN peerDependencies in npm 3+. Your application will need to
>      >> depend on it explicitly.*
>      >> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>      >> included from amber-cli will no*
>      >> *npm WARN peerDependencies longer be automatically installed to
>     fulfill
>      >> the peerDependency *
>      >> *npm WARN peerDependencies in npm 3+. Your application will need to
>      >> depend on it explicitly.*
>      >>
>      >> 3) This doesn't inspire confidence but, still, it seems to
>     finish so I
>      >> dare to continue:
>      >>
>      >> mkdir Rocket
>     2016
>      >> cd Rocket2016
>      >> amber init
>      >>
>      >> Answer 1st question and default all others. Lots of whirring and
>     then
>      >> eventually:
>      >>
>      >> *Warning: Mismatched anonymous define() module: function (amber) {
>      >> return amber; }*
>      >> *http://requirejs.org/docs/errors.html#mismatch
>     <http://requirejs.org/docs/errors.html#mismatch> Use --force to
>      >> continue.*
>      >> *Aborted due to warnings.*
>      >> *grunt exec error:*
>      >> *3*
>      >>
>      >> 4) Amber serve does appear to run but I'm rather worried what
>     has been
>      >> left behind. Launching http://localhost:4000 shows the "Hello"
>     buttons
>      >> but clicking on them does nothing. In the Safari console I see:
>      >>
>      >>
>      >>
>      >> 5) If I run (grunt devel) things seem to start working but I
>     still fear
>      >> this is not a great new user experience.
>      >>
>      >> Best regards
>      >>
>      >> Andy Bower
>      >>
>      >>
>      >> --
>      >> 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] <javascript:>
>      >> <m
>     ailto:[hidden email] <javascript:>>.
>      >> For more options, visit https://groups.google.com/d/optout
>     <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]
> <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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

horrido
In reply to this post by Herby Vojčík
I need to reinstall/update Amber. I followed your instruction, but I got this error message:

Fatal error: Tried loading "amber/es6-promise" at ./bower_components/es6-promise/promise.js then tried node's require("amber/es6-promise") and it failed with error: Error: Cannot find module 'amber/es6-promise'

grunt exec error:

3


I can't uninstall, either. I get this message:


npm WARN uninstall not installed in /Users/richardeng/npm/lib/node_modules: "amber"


How do I recover from all this???

On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
Try now.

As updated in README.md (on <a href="http://lolg.it/amber/amber" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;">lolg.it/amber/amber; most of Amber is
already moved out of github), install line should be:

     npm install -g grunt-cli@0 grunt-init bower amber-cli

to install grunt-init version 0. There were some problems with load
order making requirejs not work properly, at least for me it works now.

Herby

bowerandy wrote:

> Hi,
>
> I've been away for a year or so and have now come back to try and
> reawaken the project I was working on before. However, things have moved
> on while I was away and Amber seems to have become a whole bunch more
> complicated to install and a whole lot less well documented - which is a
> shame. It took me 10 minutes to follow the instructions on the website
> to install Amber from GitHub in 2014 and to get amber serve up and
> running. So far I have spent well over three hours today and still have
> nothing.
>
> Any advice on the following ...
>
> 1) I'm on a Mac. I deleted my old Node installation and installed Node
> 4.4.2 from the NodeJS.org website. I now have:
>
> node -v -> v4.4.2
> npm -v -> 2.15.0
>
> 2) Now I run:
>
> sudo npm install -g amber-cli
>
> I see a bunch of warnings:
>
> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
>
> 3) This doesn't inspire confidence but, still, it seems to finish so I
> dare to continue:
>
> mkdir Rocket2016
> cd Rocket2016
> amber init
>
> Answer 1st question and default all others. Lots of whirring and then
> eventually:
>
> *Warning: Mismatched anonymous define() module: function (amber) {
> return amber; }*
> *<a href="http://requirejs.org/docs/errors.html#mismatch" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;">http://requirejs.org/docs/errors.html#mismatch Use --force to continue.*
> *Aborted due to warnings.*
> *grunt exec error:*
> *3*
>
> 4) Amber serve does appear to run but I'm rather worried what has been
> left behind. Launching <a href="http://localhost:4000" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;">http://localhost:4000 shows the "Hello" buttons
> but clicking on them does nothing. In the Safari console I see:
>
>
>
> 5) If I run (grunt devel) things seem to start working but I still fear
> this is not a great new user experience.
>
> Best regards
>
> Andy Bower
>
>
> --
> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tgMLvyDRBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+...@googlegroups.com
> <mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tgMLvyDRBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+unsubscribe@...>.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
Is this about reinstall / update in existing prohect? Because that is completely different thing. This was about how to start a project.

Dňa 18. septembra 2016 21:38:15 CEST používateľ Richard Eng <[hidden email]> napísal:

>I need to reinstall/update Amber. I followed your instruction, but I
>got
>this error message:
>
>Fatal error: Tried loading "amber/es6-promise" at
>./bower_components/es6-promise/promise.js then tried node's
>require("amber/es6-promise") and it failed with error: Error: Cannot
>find
>module 'amber/es6-promise'
>
>grunt exec error:
>
>3
>
>
>I can't uninstall, either. I get this message:
>
>
>npm WARN uninstall not installed in
>/Users/richardeng/npm/lib/node_modules:
>"amber"
>
>How do I recover from all this???
>
>On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
>>
>> Try now.
>>
>> As updated in README.md (on lolg.it/amber/amber; most of Amber is
>> already moved out of github), install line should be:
>>
>>      npm install -g grunt-cli@0 grunt-init bower amber-cli
>>
>> to install grunt-init version 0. There were some problems with load
>> order making requirejs not work properly, at least for me it works
>now.
>>
>> Herby
>>
>> bowerandy wrote:
>> > Hi,
>> >
>> > I've been away for a year or so and have now come back to try and
>> > reawaken the project I was working on before. However, things have
>moved
>> > on while I was away and Amber seems to have become a whole bunch
>more
>> > complicated to install and a whole lot less well documented - which
>is a
>> > shame. It took me 10 minutes to follow the instructions on the
>website
>> > to install Amber from GitHub in 2014 and to get amber serve up and
>> > running. So far I have spent well over three hours today and still
>have
>> > nothing.
>> >
>> > Any advice on the following ...
>> >
>> > 1) I'm on a Mac. I deleted my old Node installation and installed
>Node
>> > 4.4.2 from the NodeJS.org website. I now have:
>> >
>> > node -v -> v4.4.2
>> > npm -v -> 2.15.0
>> >
>> > 2) Now I run:
>> >
>> > sudo npm install -g amber-cli
>> >
>> > I see a bunch of warnings:
>> >
>> > *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>> > included from amber-cli will no*
>> > *npm WARN peerDependencies longer be automatically installed to
>fulfill
>> > the peerDependency *
>> > *npm WARN peerDependencies in npm 3+. Your application will need to
>
>> > depend on it explicitly.*
>> > *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>> > included from amber-cli will no*
>> > *npm WARN peerDependencies longer be automatically installed to
>fulfill
>> > the peerDependency *
>> > *npm WARN peerDependencies in npm 3+. Your application will need to
>
>> > depend on it explicitly.*
>> >
>> > 3) This doesn't inspire confidence but, still, it seems to finish
>so I
>> > dare to continue:
>> >
>> > mkdir Rocket2016
>> > cd Rocket2016
>> > amber init
>> >
>> > Answer 1st question and default all others. Lots of whirring and
>then
>> > eventually:
>> >
>> > *Warning: Mismatched anonymous define() module: function (amber) {
>> > return amber; }*
>> > *http://requirejs.org/docs/errors.html#mismatch Use --force to
>> continue.*
>> > *Aborted due to warnings.*
>> > *grunt exec error:*
>> > *3*
>> >
>> > 4) Amber serve does appear to run but I'm rather worried what has
>been
>> > left behind. Launching http://localhost:4000 shows the "Hello"
>buttons
>> > but clicking on them does nothing. In the Safari console I see:
>> >
>> >
>> >
>> > 5) If I run (grunt devel) things seem to start working but I still
>fear
>> > this is not a great new user experience.
>> >
>> > Best regards
>> >
>> > Andy Bower
>> >
>> >
>> > --
>> > 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] <javascript:>
>> > <mailto:[hidden email] <javascript:>>.
>> > 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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

horrido
My problem is about how to start a project. I have previous projects but I don't care about them; I'm prepared to discard them.

But my current Amber setup is somehow broken, so I can't even start a new project.

Why am I even getting those weird error messages? This is the first time I've ever had a problem with the Amber cli.

On Monday, 19 September 2016 03:30:45 UTC-4, Herby wrote:
Is this about reinstall / update in existing prohect? Because that is completely different thing. This was about how to start a project.

Dňa 18. septembra 2016 21:38:15 CEST používateľ Richard Eng <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i1sJLQtTAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">horrido...@...> napísal:

>I need to reinstall/update Amber. I followed your instruction, but I
>got
>this error message:
>
>Fatal error: Tried loading "amber/es6-promise" at
>./bower_components/es6-promise/promise.js then tried node's
>require("amber/es6-promise") and it failed with error: Error: Cannot
>find
>module 'amber/es6-promise'
>
>grunt exec error:
>
>3
>
>
>I can't uninstall, either. I get this message:
>
>
>npm WARN uninstall not installed in
>/Users/richardeng/npm/lib/node_modules:
>"amber"
>
>How do I recover from all this???
>
>On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
>>
>> Try now.
>>
>> As updated in README.md (on <a href="http://lolg.it/amber/amber" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;">lolg.it/amber/amber; most of Amber is
>> already moved out of github), install line should be:
>>
>>      npm install -g grunt-cli@0 grunt-init bower amber-cli
>>
>> to install grunt-init version 0. There were some problems with load
>> order making requirejs not work properly, at least for me it works
>now.
>>
>> Herby
>>
>> bowerandy wrote:
>> > Hi,
>> >
>> > I've been away for a year or so and have now come back to try and
>> > reawaken the project I was working on before. However, things have
>moved
>> > on while I was away and Amber seems to have become a whole bunch
>more
>> > complicated to install and a whole lot less well documented - which
>is a
>> > shame. It took me 10 minutes to follow the instructions on the
>website
>> > to install Amber from GitHub in 2014 and to get amber serve up and
>> > running. So far I have spent well over three hours today and still
>have
>> > nothing.
>> >
>> > Any advice on the following ...
>> >
>> > 1) I'm on a Mac. I deleted my old Node installation and installed
>Node
>> > 4.4.2 from the NodeJS.org website. I now have:
>> >
>> > node -v -> v4.4.2
>> > npm -v -> 2.15.0
>> >
>> > 2) Now I run:
>> >
>> > sudo npm install -g amber-cli
>> >
>> > I see a bunch of warnings:
>> >
>> > *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>> > included from amber-cli will no*
>> > *npm WARN peerDependencies longer be automatically installed to
>fulfill
>> > the peerDependency *
>> > *npm WARN peerDependencies in npm 3+. Your application will need to
>
>> > depend on it explicitly.*
>> > *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>> > included from amber-cli will no*
>> > *npm WARN peerDependencies longer be automatically installed to
>fulfill
>> > the peerDependency *
>> > *npm WARN peerDependencies in npm 3+. Your application will need to
>
>> > depend on it explicitly.*
>> >
>> > 3) This doesn't inspire confidence but, still, it seems to finish
>so I
>> > dare to continue:
>> >
>> > mkdir Rocket2016
>> > cd Rocket2016
>> > amber init
>> >
>> > Answer 1st question and default all others. Lots of whirring and
>then
>> > eventually:
>> >
>> > *Warning: Mismatched anonymous define() module: function (amber) {
>> > return amber; }*
>> > *<a href="http://requirejs.org/docs/errors.html#mismatch" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;">http://requirejs.org/docs/errors.html#mismatch Use --force to
>> continue.*
>> > *Aborted due to warnings.*
>> > *grunt exec error:*
>> > *3*
>> >
>> > 4) Amber serve does appear to run but I'm rather worried what has
>been
>> > left behind. Launching <a href="http://localhost:4000" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;">http://localhost:4000 shows the "Hello"
>buttons
>> > but clicking on them does nothing. In the Safari console I see:
>> >
>> >
>> >
>> > 5) If I run (grunt devel) things seem to start working but I still
>fear
>> > this is not a great new user experience.
>> >
>> > Best regards
>> >
>> > Andy Bower
>> >
>> >
>> > --
>> > 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 amber-lang+...@googlegroups.com <javascript:>
>> > <mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i1sJLQtTAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+unsubscribe@... <javascript:>>.
>> > For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
Hm. Shouldn't be. You can `npm -g ls` to see globally installed pkgs, uninstall them one by one until ls is empty, do `npm cache clean` abd start over.

Dňa 19. septembra 2016 13:53:15 CEST používateľ Richard Eng <[hidden email]> napísal:

>My problem is about how to start a project. I have previous projects
>but I
>don't care about them; I'm prepared to discard them.
>
>But my current Amber setup is somehow broken, so I can't even start a
>new
>project.
>
>Why am I even getting those weird error messages? This is the first
>time
>I've ever had a problem with the Amber cli.
>
>On Monday, 19 September 2016 03:30:45 UTC-4, Herby wrote:
>>
>> Is this about reinstall / update in existing prohect? Because that is
>
>> completely different thing. This was about how to start a project.
>>
>> Dňa 18. septembra 2016 21:38:15 CEST používateľ Richard Eng <
>> [hidden email] <javascript:>> napísal:
>> >I need to reinstall/update Amber. I followed your instruction, but I
>
>> >got
>> >this error message:
>> >
>> >Fatal error: Tried loading "amber/es6-promise" at
>> >./bower_components/es6-promise/promise.js then tried node's
>> >require("amber/es6-promise") and it failed with error: Error: Cannot
>
>> >find
>> >module 'amber/es6-promise'
>> >
>> >grunt exec error:
>> >
>> >3
>> >
>> >
>> >I can't uninstall, either. I get this message:
>> >
>> >
>> >npm WARN uninstall not installed in
>> >/Users/richardeng/npm/lib/node_modules:
>> >"amber"
>> >
>> >How do I recover from all this???
>> >
>> >On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
>> >>
>> >> Try now.
>> >>
>> >> As updated in README.md (on lolg.it/amber/amber; most of Amber is
>> >> already moved out of github), install line should be:
>> >>
>> >>      npm install -g grunt-cli@0 grunt-init bower amber-cli
>> >>
>> >> to install grunt-init version 0. There were some problems with
>load
>> >> order making requirejs not work properly, at least for me it works
>
>> >now.
>> >>
>> >> Herby
>> >>
>> >> bowerandy wrote:
>> >> > Hi,
>> >> >
>> >> > I've been away for a year or so and have now come back to try
>and
>> >> > reawaken the project I was working on before. However, things
>have
>> >moved
>> >> > on while I was away and Amber seems to have become a whole bunch
>
>> >more
>> >> > complicated to install and a whole lot less well documented -
>which
>> >is a
>> >> > shame. It took me 10 minutes to follow the instructions on the
>> >website
>> >> > to install Amber from GitHub in 2014 and to get amber serve up
>and
>> >> > running. So far I have spent well over three hours today and
>still
>> >have
>> >> > nothing.
>> >> >
>> >> > Any advice on the following ...
>> >> >
>> >> > 1) I'm on a Mac. I deleted my old Node installation and
>installed
>> >Node
>> >> > 4.4.2 from the NodeJS.org website. I now have:
>> >> >
>> >> > node -v -> v4.4.2
>> >> > npm -v -> 2.15.0
>> >> >
>> >> > 2) Now I run:
>> >> >
>> >> > sudo npm install -g amber-cli
>> >> >
>> >> > I see a bunch of warnings:
>> >> >
>> >> > *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>
>> >> > included from amber-cli will no*
>> >> > *npm WARN peerDependencies longer be automatically installed to
>> >fulfill
>> >> > the peerDependency *
>> >> > *npm WARN peerDependencies in npm 3+. Your application will need
>to
>> >
>> >> > depend on it explicitly.*
>> >> > *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>
>> >> > included from amber-cli will no*
>> >> > *npm WARN peerDependencies longer be automatically installed to
>> >fulfill
>> >> > the peerDependency *
>> >> > *npm WARN peerDependencies in npm 3+. Your application will need
>to
>> >
>> >> > depend on it explicitly.*
>> >> >
>> >> > 3) This doesn't inspire confidence but, still, it seems to
>finish
>> >so I
>> >> > dare to continue:
>> >> >
>> >> > mkdir Rocket2016
>> >> > cd Rocket2016
>> >> > amber init
>> >> >
>> >> > Answer 1st question and default all others. Lots of whirring and
>
>> >then
>> >> > eventually:
>> >> >
>> >> > *Warning: Mismatched anonymous define() module: function (amber)
>{
>> >> > return amber; }*
>> >> > *http://requirejs.org/docs/errors.html#mismatch Use --force to
>> >> continue.*
>> >> > *Aborted due to warnings.*
>> >> > *grunt exec error:*
>> >> > *3*
>> >> >
>> >> > 4) Amber serve does appear to run but I'm rather worried what
>has
>> >been
>> >> > left behind. Launching http://localhost:4000 shows the "Hello"
>> >buttons
>> >> > but clicking on them does nothing. In the Safari console I see:
>> >> >
>> >> >
>> >> >
>> >> > 5) If I run (grunt devel) things seem to start working but I
>still
>> >fear
>> >> > this is not a great new user experience.
>> >> >
>> >> > Best regards
>> >> >
>> >> > Andy Bower
>> >> >
>> >> >
>> >> > --
>> >> > 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] <javascript:>
>> >> > <mailto:[hidden email] <javascript:>
>> <javascript:>>.
>> >> > 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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
In reply to this post by horrido
Oh.

Great that you pointed out.

They started distributing es6-promise differently for bower and for npm
(different file placement).

So existing paths for es6-promise won't work any more.

Must fix amber-compat-es2015 to include the new path.

Herby

Richard Eng wrote:

> My problem is about how to start a project. I have previous projects but
> I don't care about them; I'm prepared to discard them.
>
> But my current Amber setup is somehow broken, so I can't even start a
> new project.
>
> Why am I even getting those weird error messages? This is the first time
> I've ever had a problem with the Amber cli.
>
> On Monday, 19 September 2016 03:30:45 UTC-4, Herby wrote:
>
>     Is this about reinstall / update in existing prohect? Because that
>     is completely different thing. This was about how to start a project.
>
>     Dňa 18. septembra 2016 21:38:15 CEST používateľ Richard Eng
>     <[hidden email] <javascript:>> napísal:
>      >I need to reinstall/update Amber. I followed your instruction, but I
>      >got
>      >this error message:
>      >
>      >Fatal error: Tried loading "amber/es6-promise" at
>      >./bower_components/es6-promise/promise.js then tried node's
>      >require("amber/es6-promise") and it failed with error: Error: Cannot
>      >find
>      >module 'amber/es6-promise'
>      >
>      >grunt exec error:
>      >
>      >3
>      >
>      >
>      >I can't uninstall, either. I get this message:
>      >
>      >
>      >npm WARN uninstall not installed in
>      >/Users/richardeng/npm/lib/node_modules:
>      >"amber"
>      >
>      >How do I recover from all this???
>      >
>      >On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
>      >>
>      >> Try now.
>      >>
>      >> As updated in README.md (on lolg.it/amber/amber
>     <http://lolg.it/amber/amber>; most of Amber is
>      >> already moved out of github), install line should be:
>      >>
>      >>      npm install -g grunt-cli@0 grunt-init bower amber-cli
>      >>
>      >> to install grunt-init version 0. There were some problems with load
>      >> order making requirejs not work properly, at least for me it works
>      >now.
>      >>
>      >> Herby
>      >>
>      >> bowerandy wrote:
>      >> > Hi,
>      >> >
>      >> > I've been away for a year or so and have now come back to try and
>      >> > reawaken the project I was working on before. However, things
>     have
>      >moved
>      >> > on while I was away and Amber seems to have become a whole bunch
>      >more
>      >> > complicated to install and a whole lot less well documented -
>     which
>      >is a
>      >> > shame. It took me 10 minutes to follow the instructions on the
>      >website
>      >> > to install Amber from GitHub in 2014 and to get amber serve up
>     and
>      >> > running. So far I have spent well over three hours today and
>     still
>      >have
>      >> > nothing.
>      >> >
>      >> > Any advice on the following ...
>      >> >
>      >> > 1) I'm on a Mac. I deleted my old Node installation and installed
>      >Node
>      >> > 4.4.2 from the NodeJS.org website. I now have:
>      >> >
>      >> > node -v -> v4.4.2
>      >> > npm -v -> 2.15.0
>      >> >
>      >> > 2) Now I run:
>      >> >
>      >> > sudo npm install -g amber-cli
>      >> >
>      >> > I see a bunch of warnings:
>      >> >
>      >> > *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>      >> > included from amber-cli will no*
>      >> > *npm WARN peerDependencies longer be automatically installed to
>      >fulfill
>      >> > the peerDependency *
>      >> > *npm WARN peerDependencies in npm 3+. Your application will
>     need to
>      >
>      >> > depend on it explicitly.*
>      >> > *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>      >> > included from amber-cli will no*
>      >> > *npm WARN peerDependencies longer be automatically installed to
>      >fulfill
>      >> > the peerDependency *
>      >> > *npm WARN peerDependencies in npm 3+. Your application will
>     need to
>      >
>      >> > depend on it explicitly.*
>      >> >
>      >> > 3) This doesn't inspire confidence but, still, it seems to finish
>      >so I
>      >> > dare to continue:
>      >> >
>      >> > mkdir Rocket2016
>      >> > cd Rocket2016
>      >> > amber init
>      >> >
>      >> > Answer 1st question and default all others. Lots of whirring and
>      >then
>      >> > eventually:
>      >> >
>      >> > *Warning: Mismatched anonymous define() module: function
>     (amber) {
>      >> > return amber; }*
>      >> > *http://requirejs.org/docs/errors.html#mismatch
>     <http://requirejs.org/docs/errors.html#mismatch> Use --force to
>      >> continue.*
>      >> > *Aborted due to warnings.*
>      >> > *grunt exec error:*
>      >> > *3*
>      >> >
>      >> > 4) Amber serve does appear to run but I'm rather worried what has
>      >been
>      >> > left behind. Launching http://localhost:4000 shows the "Hello"
>      >buttons
>      >> > but clicking on them does nothing. In the Safari console I see:
>      >> >
>      >> >
>      >> >
>      >> > 5) If I run (grunt devel) things seem to start working but I
>     still
>      >fear
>      >> > this is not a great new user experience.
>      >> >
>      >> > Best regards
>      >> >
>      >> > Andy Bower
>      >> >
>      >> >
>      >> > --
>      >> > 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] <javascript:>
>      >> > <mailto:[hidden email] <javascript:>
>     <javascript:>>.
>      >> > For more options, visit https://groups.google.com/d/optout
>     <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]
> <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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

Herby Vojčík
Should be fixed by now.

Herby

Herby Vojčík wrote:

> Oh.
>
> Great that you pointed out.
>
> They started distributing es6-promise differently for bower and for npm
> (different file placement).
>
> So existing paths for es6-promise won't work any more.
>
> Must fix amber-compat-es2015 to include the new path.
>
> Herby
>
> Richard Eng wrote:
>> My problem is about how to start a project. I have previous projects but
>> I don't care about them; I'm prepared to discard them.
>>
>> But my current Amber setup is somehow broken, so I can't even start a
>> new project.
>>
>> Why am I even getting those weird error messages? This is the first time
>> I've ever had a problem with the Amber cli.
>>
>> On Monday, 19 September 2016 03:30:45 UTC-4, Herby wrote:
>>
>> Is this about reinstall / update in existing prohect? Because that
>> is completely different thing. This was about how to start a project.
>>
>> Dňa 18. septembra 2016 21:38:15 CEST používateľ Richard Eng
>> <[hidden email] <javascript:>> napísal:
>> >I need to reinstall/update Amber. I followed your instruction, but I
>> >got
>> >this error message:
>> >
>> >Fatal error: Tried loading "amber/es6-promise" at
>> >./bower_components/es6-promise/promise.js then tried node's
>> >require("amber/es6-promise") and it failed with error: Error: Cannot
>> >find
>> >module 'amber/es6-promise'
>> >
>> >grunt exec error:
>> >
>> >3
>> >
>> >
>> >I can't uninstall, either. I get this message:
>> >
>> >
>> >npm WARN uninstall not installed in
>> >/Users/richardeng/npm/lib/node_modules:
>> >"amber"
>> >
>> >How do I recover from all this???
>> >
>> >On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
>> >>
>> >> Try now.
>> >>
>> >> As updated in README.md (on lolg.it/amber/amber
>> <http://lolg.it/amber/amber>; most of Amber is
>> >> already moved out of github), install line should be:
>> >>
>> >> npm install -g grunt-cli@0 grunt-init bower amber-cli
>> >>
>> >> to install grunt-init version 0. There were some problems with load
>> >> order making requirejs not work properly, at least for me it works
>> >now.
>> >>
>> >> Herby
>> >>
>> >> bowerandy wrote:
>> >> > Hi,
>> >> >
>> >> > I've been away for a year or so and have now come back to try and
>> >> > reawaken the project I was working on before. However, things
>> have
>> >moved
>> >> > on while I was away and Amber seems to have become a whole bunch
>> >more
>> >> > complicated to install and a whole lot less well documented -
>> which
>> >is a
>> >> > shame. It took me 10 minutes to follow the instructions on the
>> >website
>> >> > to install Amber from GitHub in 2014 and to get amber serve up
>> and
>> >> > running. So far I have spent well over three hours today and
>> still
>> >have
>> >> > nothing.
>> >> >
>> >> > Any advice on the following ...
>> >> >
>> >> > 1) I'm on a Mac. I deleted my old Node installation and installed
>> >Node
>> >> > 4.4.2 from the NodeJS.org website. I now have:
>> >> >
>> >> > node -v -> v4.4.2
>> >> > npm -v -> 2.15.0
>> >> >
>> >> > 2) Now I run:
>> >> >
>> >> > sudo npm install -g amber-cli
>> >> >
>> >> > I see a bunch of warnings:
>> >> >
>> >> > *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
>> >> > included from amber-cli will no*
>> >> > *npm WARN peerDependencies longer be automatically installed to
>> >fulfill
>> >> > the peerDependency *
>> >> > *npm WARN peerDependencies in npm 3+. Your application will
>> need to
>> >
>> >> > depend on it explicitly.*
>> >> > *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
>> >> > included from amber-cli will no*
>> >> > *npm WARN peerDependencies longer be automatically installed to
>> >fulfill
>> >> > the peerDependency *
>> >> > *npm WARN peerDependencies in npm 3+. Your application will
>> need to
>> >
>> >> > depend on it explicitly.*
>> >> >
>> >> > 3) This doesn't inspire confidence but, still, it seems to finish
>> >so I
>> >> > dare to continue:
>> >> >
>> >> > mkdir Rocket2016
>> >> > cd Rocket2016
>> >> > amber init
>> >> >
>> >> > Answer 1st question and default all others. Lots of whirring and
>> >then
>> >> > eventually:
>> >> >
>> >> > *Warning: Mismatched anonymous define() module: function
>> (amber) {
>> >> > return amber; }*
>> >> > *http://requirejs.org/docs/errors.html#mismatch
>> <http://requirejs.org/docs/errors.html#mismatch> Use --force to
>> >> continue.*
>> >> > *Aborted due to warnings.*
>> >> > *grunt exec error:*
>> >> > *3*
>> >> >
>> >> > 4) Amber serve does appear to run but I'm rather worried what has
>> >been
>> >> > left behind. Launching http://localhost:4000 shows the "Hello"
>> >buttons
>> >> > but clicking on them does nothing. In the Safari console I see:
>> >> >
>> >> >
>> >> >
>> >> > 5) If I run (grunt devel) things seem to start working but I
>> still
>> >fear
>> >> > this is not a great new user experience.
>> >> >
>> >> > Best regards
>> >> >
>> >> > Andy Bower
>> >> >
>> >> >
>> >> > --
>> >> > 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] <javascript:>
>> >> > <mailto:[hidden email] <javascript:>
>> <javascript:>>.
>> >> > For more options, visit https://groups.google.com/d/optout
>> <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]
>> <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.
Reply | Threaded
Open this post in threaded view
|

Re: Can't amber init

horrido
In reply to this post by Herby Vojčík
Thanks. Everything works now.


On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote:
Try now.

As updated in README.md (on <a href="http://lolg.it/amber/amber" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flolg.it%2Famber%2Famber\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGFI1xbNGZPemSWcmfn94nTSMfKA&#39;;return true;">lolg.it/amber/amber; most of Amber is
already moved out of github), install line should be:

     npm install -g grunt-cli@0 grunt-init bower amber-cli

to install grunt-init version 0. There were some problems with load
order making requirejs not work properly, at least for me it works now.

Herby

bowerandy wrote:

> Hi,
>
> I've been away for a year or so and have now come back to try and
> reawaken the project I was working on before. However, things have moved
> on while I was away and Amber seems to have become a whole bunch more
> complicated to install and a whole lot less well documented - which is a
> shame. It took me 10 minutes to follow the instructions on the website
> to install Amber from GitHub in 2014 and to get amber serve up and
> running. So far I have spent well over three hours today and still have
> nothing.
>
> Any advice on the following ...
>
> 1) I'm on a Mac. I deleted my old Node installation and installed Node
> 4.4.2 from the NodeJS.org website. I now have:
>
> node -v -> v4.4.2
> npm -v -> 2.15.0
>
> 2) Now I run:
>
> sudo npm install -g amber-cli
>
> I see a bunch of warnings:
>
> *npm WARN peerDependencies The peer dependency grunt-init@^0.3.1
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
> *npm WARN peerDependencies The peer dependency grunt-cli@^0.1.13
> included from amber-cli will no*
> *npm WARN peerDependencies longer be automatically installed to fulfill
> the peerDependency *
> *npm WARN peerDependencies in npm 3+. Your application will need to
> depend on it explicitly.*
>
> 3) This doesn't inspire confidence but, still, it seems to finish so I
> dare to continue:
>
> mkdir Rocket2016
> cd Rocket2016
> amber init
>
> Answer 1st question and default all others. Lots of whirring and then
> eventually:
>
> *Warning: Mismatched anonymous define() module: function (amber) {
> return amber; }*
> *<a href="http://requirejs.org/docs/errors.html#mismatch" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frequirejs.org%2Fdocs%2Ferrors.html%23mismatch\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFn9P5UtgmS5MQoXTwASI_pdepHbw&#39;;return true;">http://requirejs.org/docs/errors.html#mismatch Use --force to continue.*
> *Aborted due to warnings.*
> *grunt exec error:*
> *3*
>
> 4) Amber serve does appear to run but I'm rather worried what has been
> left behind. Launching <a href="http://localhost:4000" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flocalhost%3A4000\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw1rwSbgJyPk4FVS8bWpsMVtnENg&#39;;return true;">http://localhost:4000 shows the "Hello" buttons
> but clicking on them does nothing. In the Safari console I see:
>
>
>
> 5) If I run (grunt devel) things seem to start working but I still fear
> this is not a great new user experience.
>
> Best regards
>
> Andy Bower
>
>
> --
> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tgMLvyDRBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+...@googlegroups.com
> <mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tgMLvyDRBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">amber-lang+unsubscribe@...>.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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.