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. |
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. |
Herby,
-- README.md actually tell to do this: 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. |
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. |
Hi Herby, 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! 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. |
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. |
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 >> 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 >> 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. |
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:
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. |
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. |
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" On Sunday, 8 May 2016 19:16:02 UTC-4, Herby wrote: Try now. 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. |
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. |
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. 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. |
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 >> >> > 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. |
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 > >> > 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. |
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 >> >> > 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. |
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. 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 |