How to contribute to Amber

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

How to contribute to Amber

kilon.alios
Hi I think the information about how to contribute to Amber is confusing. I tried the method of creating my own amber app with amber init and it works great but I dont know how I can contribute to Amber. 

I have contributed in the past to Amber with a fork and a pull request. The problem I am having is that I have my fork cloned in my hd but when I go to its directory and do amber serve it tells me to launch 127.0.0.1:4000 which I do but nothing happens. It displays a blank page. I also tried 127.0.0.1:4000/helios.html and it open a web page with text "Helios opening" but again nothing happens. 

Any clue what I am doing wrong ? 

--
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: How to contribute to Amber

Herby Vojčík


kilon alios wrote:

> Hi I think the information about how to contribute to Amber is
> confusing. I tried the method of creating my own amber app with amber
> init and it works great but I dont know how I can contribute to Amber.
>
> I have contributed in the past to Amber with a fork and a pull
> request. The problem I am having is that I have my fork cloned in my
> hd but when I go to its directory and do amber serve it tells me to
> launch 127.0.0.1:4000 <http://127.0.0.1:4000> which I do but nothing
> happens. It displays a blank page. I also tried
> 127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html> and it
> open a web page with text "Helios opening" but again nothing happens.
>
> Any clue what I am doing wrong ?

A few changes happened since last release. One of them is, you should browse http://localhost:4000/internal to start IDE(s) and change Amber code.

--
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: How to contribute to Amber

kilon.alios
Following your instructions it gives me this 

"404 Not found

Did you forget to put an index.html file into the directory which is served by "bin/amber serve"? To solve this you can:

  • create an index.html in the served directory.
  • can also specify the location of a page to be served whenever path does not resolve to a file with the "--fallback-page" option.
  • change the directory to be served with the "--base-path" option."
I am running "amber serve" from my ~/git/amber which is a fork of a amber that can be found here --> https://github.com/kilon/amber/tree/master/internal

This folder does not have an index.html but internal subfolder has. So I dont know what is wrong with this. 


On Sun, Jun 29, 2014 at 9:46 PM, Herby Vojčík <[hidden email]> wrote:


kilon alios wrote:
Hi I think the information about how to contribute to Amber is confusing. I tried the method of creating my own amber app with amber init and it works great but I dont know how I can contribute to Amber.

I have contributed in the past to Amber with a fork and a pull request. The problem I am having is that I have my fork cloned in my hd but when I go to its directory and do amber serve it tells me to launch 127.0.0.1:4000 <http://127.0.0.1:4000> which I do but nothing happens. It displays a blank page. I also tried 127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html> and it open a web page with text "Helios opening" but again nothing happens.


Any clue what I am doing wrong ?

A few changes happened since last release. One of them is, you should browse http://localhost:4000/internal to start IDE(s) and change Amber code.

--
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: How to contribute to Amber

Herby Vojčík
It should work... experiment a bit... maybe you should put additional slash at the end - you shou;d definitely be able to get /internal/index.html directly, since you say yourself that it is there.

kilon alios wrote:

> Following your instructions it gives me this
>
> "404 Not found
>
> Did you forget to put an index.html file into the directory which is
> served by "bin/amber serve"? To solve this you can:
>
>   * create an index.html in the served directory.
>   * can also specify the location of a page to be served whenever path
>     does not resolve to a file with the "--fallback-page" option.
>   * change the directory to be served with the "--base-path" option."
>
> I am running "amber serve" from my ~/git/amber which is a fork of a
> amber that can be found here -->
> https://github.com/kilon/amber/tree/master/internal
>
> This folder does not have an index.html but internal subfolder has. So
> I dont know what is wrong with this.
>
>
> On Sun, Jun 29, 2014 at 9:4
6 PM, Herby Vojčík <[hidden email]

> <mailto:[hidden email]>> wrote:
>
>
>
>     kilon alios wrote:
>
>         Hi I think the information about how to contribute to Amber is
>         confusing. I tried the method of creating my own amber app
>         with amber init and it works great but I dont know how I can
>         contribute to Amber.
>
>         I have contributed in the past to Amber with a fork and a pull
>         request. The problem I am having is that I have my fork cloned
>         in my hd but when I go to its directory and do amber serve it
>         tells me to launch 127.0.0.1:4000 <http://127.0.0.1:4000>
>         <http://127.0.0.1:4000> which I do but nothing happens. It
>         displays a blank page. I also tried 127.0.0.1:4000/helios.html
>         <http://127.0.0.1:4000/helios.html>
>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>> and it open a web page
>         with text "Helios opening" but aga
in nothing happens.

>
>
>         Any clue what I am doing wrong ?
>
>
>     A few changes happened since last release. One of them is, you
>     should browse http://localhost:4000/internal to start IDE(s) and
>     change Amber code.
>
>     --
>     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:amber-lang%[hidden email]>.
>     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: How to contribute to Amber

kilon.alios
Bare with me because I am a beginner when it comes to web development.

ok the page opens but none of the two pop up links work . 

I have put the repo in ~/git/amber I hope there is no problem with the path. 

I opened the Javascript console and it gives me a lot of errors

"
  1. Uncaught Error: Script error for: amber_lib/require-css/css http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1. i.onScriptErrorrequire.min.js:29
  1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-shim.min http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1. i.onScriptErrorrequire.min.js:29
  1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-sham.min http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1. i.onScriptErrorrequire.min.js:29
  1. Uncaught object require.min.js:8
    1. (anonymous function)
    2. "


clicking on either of the links gives me this error. I hope I am not doing anything stupid.  

"
  1. Uncaught Error: Module name "amber/helpers" has not been loaded yet for context: _. Use require([]) http://requirejs.org/docs/errors.html#notloaded require.min.js:8
    1. (anonymous function)"



On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík <[hidden email]> wrote:
It should work... experiment a bit... maybe you should put additional slash at the end - you shou;d definitely be able to get /internal/index.html directly, since you say yourself that it is there.

kilon alios wrote:
Following your instructions it gives me this

"404 Not found

Did you forget to put an index.html file into the directory which is served by "bin/amber serve"? To solve this you can:

  * create an index.html in the served directory.
  * can also specify the location of a page to be served whenever path

    does not resolve to a file with the "--fallback-page" option.
  * change the directory to be served with the "--base-path" option."


I am running "amber serve" from my ~/git/amber which is a fork of a amber that can be found here --> https://github.com/kilon/amber/tree/master/internal

This folder does not have an index.html but internal subfolder has. So I dont know what is wrong with this.


On Sun, Jun 29, 2014 at 9:4
6 PM, Herby Vojčík <[hidden email]
<mailto:[hidden email]>> wrote:



    kilon alios wrote:

        Hi I think the information about how to contribute to Amber is
        confusing. I tried the method of creating my own amber app
        with amber init and it works great but I dont know how I can
        contribute to Amber.

        I have contributed in the past to Amber with a fork and a pull
        request. The problem I am having is that I have my fork cloned
        in my hd but when I go to its directory and do amber serve it
        tells me to launch 127.0.0.1:4000 <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> which I do but nothing happens. It
        displays a blank page. I also tried 127.0.0.1:4000/helios.html
        <http://127.0.0.1:4000/helios.html>
        <http://127.0.0.1:4000/helios.__html

        <http://127.0.0.1:4000/helios.html>> and it open a web page
        with text "Helios opening" but aga
in nothing happens.


        Any clue what I am doing wrong ?


    A few changes happened since last release. One of them is, you
    should browse http://localhost:4000/internal to start IDE(s) and
    change Amber code.

    --     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+unsubscribe@__googlegroups.com
    <mailto:[hidden email]>.
    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.

--
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: How to contribute to Amber

Herby Vojčík
Well, Amber itself also has dependencies, so you must fetch them. Run 'npm install' and 'bower install' in your amber dir.

kilon alios wrote:

> Bare with me because I am a beginner when it comes to web development.
>
> ok the page opens but none of the two pop up links work .
>
> I have put the repo in ~/git/amber I hope there is no problem with the
> path.
>
> I opened the Javascript console and it gives me a lot of errors
>
> "
>
>  1. GET http://127.0.0.1:4000/bower_components/require-css/css.js 404
>     (Not Found) require.min.js:34
>     1.
>         h.loadrequire.min.js:34
>     2.
>         i.loadrequire.min.js:29
>     3.
>         $.loadrequire.min.js:18
>     4.
>         $.fetchrequire.min.js:17
>     5.
>         $.checkrequire.min.js:19
>     6.
>         $.enablerequire.min.js:23
>     7.
>         i.enablerequire.min.js:27
>     8.
>         $.callPluginrequire.min.js:22
>     9.
>         $.fetchrequire.min.js:17
>    10.
>         $.checkrequire.min.js:19

>    11.
>         $.enablerequire.min.js:23
>    12.
>         i.enablerequire.min.js:27
>    13.
>         (anonymous function)require.min.js:23
>    14.
>         (anonymous function)require.min.js:8
>    15.
>         vrequire.min.js:7
>    16.
>         $.enablerequire.min.js:22
>    17.
>         $.initrequire.min.js:17
>    18.
>         Erequire.min.js:14
>    19.
>         i.completeLoadrequire.min.js:28
>    20.
>         i.onScriptLoadrequire.min.js:29
>
>  1. Uncaught Error: Script error for: amber_lib/require-css/css
>     http://requirejs.org/docs/errors.html#scripterror require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         i.onScriptErrorrequire.min.js:29
>
>  1. GET http://127.0.0.1:4000/bower_components/jquery/jquery.min.js
>     404 (Not Found) require.min.js:34
>     1.
>         h.loadrequire.min.js:34
>     2.
>         i.loadrequire.min.js:29
>     3.
>         $.loadrequire.min.js:18
>     4.
>         $.fetchrequire.min.js:17
>     5
.

>         $.checkrequire.min.js:19
>     6.
>         $.enablerequire.min.js:23
>     7.
>         i.enablerequire.min.js:27
>     8.
>         (anonymous function)require.min.js:23
>     9.
>         (anonymous function)require.min.js:8
>    10.
>         vrequire.min.js:7
>    11.
>         $.enablerequire.min.js:22
>    12.
>         $.initrequire.min.js:17
>    13.
>         Erequire.min.js:14
>    14.
>         i.completeLoadrequire.min.js:28
>    15.
>         i.onScriptLoadrequire.min.js:29
>
>  1. Uncaught Error: Script error for: jquery
>     http://requirejs.org/docs/errors.html#scripterror require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         i.onScriptErrorrequire.min.js:29
>
>  1. GET
>     http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js
>     404 (Not Found) require.min.js:34
>     1.
>         h.loadrequire.min.js:34
>     2.
>         i.loadrequire.min.js:29
>     3.
>         $.loadrequire.min.js:18
>     4.
>         $.fe
tchrequire.min.js:17

>     5.
>         $.checkrequire.min.js:19
>     6.
>         $.enablerequire.min.js:23
>     7.
>         i.enablerequire.min.js:27
>     8.
>         (anonymous function)require.min.js:23
>     9.
>         (anonymous function)require.min.js:8
>    10.
>         vrequire.min.js:7
>    11.
>         $.enablerequire.min.js:22
>    12.
>         $.initrequire.min.js:17
>    13.
>         Erequire.min.js:14
>    14.
>         i.completeLoadrequire.min.js:28
>    15.
>         i.onScriptLoadrequire.min.js:29
>
>  1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-shim.min
>     http://requirejs.org/docs/errors.html#scripterror require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         i.onScriptErrorrequire.min.js:29
>
>  1. GET
>     http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js
>     404 (Not Found) require.min.js:34
>     1.
>         h.loadrequire.min.js:34
>     2.
>         i.loadrequire.min.js:29
>     3.
>  
      $.loadrequire.min.js:18

>     4.
>         $.fetchrequire.min.js:17
>     5.
>         $.checkrequire.min.js:19
>     6.
>         $.enablerequire.min.js:23
>     7.
>         i.enablerequire.min.js:27
>     8.
>         (anonymous function)require.min.js:23
>     9.
>         (anonymous function)require.min.js:8
>    10.
>         vrequire.min.js:7
>    11.
>         $.enablerequire.min.js:22
>    12.
>         $.initrequire.min.js:17
>    13.
>         Erequire.min.js:14
>    14.
>         i.completeLoadrequire.min.js:28
>    15.
>         i.onScriptLoadrequire.min.js:29
>
>  1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-sham.min
>     http://requirejs.org/docs/errors.html#scripterror require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         i.onScriptErrorrequire.min.js:29
>
>  1. Uncaught object require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         Drequire.min.js:13
>     3.
>         (anonymous function)
>     4.
>  
       "

>
>
>
> clicking on either of the links gives me this error. I hope I am not
> doing anything stupid.
>
> "
>
>  1. Uncaught Error: Module name "amber/helpers" has not been loaded
>     yet for context: _. Use require([])
>     http://requirejs.org/docs/errors.html#notloaded require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         grequire.min.js:26
>     3.
>         requirejsrequire.min.js:31
>     4.
>         (anonymous function)"
> 2.
>
>
>
> On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     It should work... experiment a bit... maybe you should put
>     additional slash at the end - you shou;d definitely be able to get
>     /internal/index.html directly, since you say yourself that it is
>     there.
>
>     kilon alios wrote:
>
>         Following your instructions it gives me this
>
>         "404 Not found
>
>         Did you forget to put an index.html file into the directory
>
         which is served by "bin/amber serve"? To solve this you can:

>
>           * create an index.html in the served directory.
>           * can also specify the location of a page to be served
>         whenever path
>
>             does not resolve to a file with the "--fallback-page" option.
>           * change the directory to be served with the "--base-path"
>         option."
>
>
>         I am running "amber serve" from my ~/git/amber which is a fork
>         of a amber that can be found here -->
>         https://github.com/kilon/__amber/tree/master/internal
>         <https://github.com/kilon/amber/tree/master/internal>
>
>         This folder does not have an index.html but internal subfolder
>         has. So I dont know what is wrong with this.
>
>
>         On Sun, Jun 29, 2014 at 9:4
>
>     6 PM, Herby Vojčík <[hidden email] <mailto:[hidden email]>
>
>         <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>
>
>             kilon ali
os wrote:

>
>                 Hi I think the information about how to contribute to
>         Amber is
>                 confusing. I tried the method of creating my own amber app
>                 with amber init and it works great but I dont know how
>         I can
>                 contribute to Amber.
>
>                 I have contributed in the past to Amber with a fork
>         and a pull
>                 request. The problem I am having is that I have my
>         fork cloned
>                 in my hd but when I go to its directory and do amber
>         serve it
>                 tells me to launch 127.0.0.1:4000
>         <http://127.0.0.1:4000> <http://127.0.0.1:4000>
>         <http://127.0.0.1:4000> which I do but nothing happens. It
>                 displays a blank page. I also tried
>         127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html>
>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>>
>      
  <http://127.0.0.1:4000/helios.____html

>         <http://127.0.0.1:4000/helios.__html>
>
>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>>> and it open a web page
>                 with text "Helios opening" but aga
>
>     in nothing happens.
>
>
>
>                 Any clue what I am doing wrong ?
>
>
>             A few changes happened since last release. One of them is, you
>             should browse http://localhost:4000/internal to start
>         IDE(s) and
>             change Amber code.
>
>             --     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]
>         <http://googlegroups.com>
>         <mailto:amber-lang%[hidden email]
>         <mailto:amber-la
ng%[hidden email]>__>.

>             For more options, visit
>         https://groups.google.com/d/____optout
>         <https://groups.google.com/d/__optout>
>         <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:amber-lang%[hidden email]>
>         <mailto:[hidden email]
>         <mailto:amber-lang%[hidden email]>>.
>
>         For more options, visit https://groups
>
>     .google.com/d/optout <http://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:amber-lang%[hidden email]>.
>     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: How to contribute to Amber

kilon.alios
Ok I knew I was missing something obvious. So I did npm install and bower install and it installed bunch of things. 

Now I am getting a new error. 


it looks like it tries to find a file that does not really exist. 


the file jquery-ui.min.js is not there . Maybe a bug in dependencies ? 

I try to get it also with bower with "bower install jquery-ui" but I see no fix to the problem. 



On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík <[hidden email]> wrote:
Well, Amber itself also has dependencies, so you must fetch them. Run 'npm install' and 'bower install' in your amber dir.

kilon alios wrote:
Bare with me because I am a beginner when it comes to web development.

ok the page opens but none of the two pop up links work .

I have put the repo in ~/git/amber I hope there is no problem with the path.

I opened the Javascript console and it gives me a lot of errors

"

 1. GET http://127.0.0.1:4000/bower_components/require-css/css.js 404
    (Not Found) require.min.js:34
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
        $.loadrequire.min.js:18
    4.
        $.fetchrequire.min.js:17
    5.
        $.checkrequire.min.js:19
    6.
        $.enablerequire.min.js:23
    7.
        i.enablerequire.min.js:27
    8.
        $.callPluginrequire.min.js:22
    9.
        $.fetchrequire.min.js:17
   10.
        $.checkrequire.min.js:19

   11.
        $.enablerequire.min.js:23
   12.
        i.enablerequire.min.js:27
   13.
        (anonymous function)require.min.js:23
   14.
        (anonymous function)require.min.js:8
   15.
        vrequire.min.js:7
   16.
        $.enablerequire.min.js:22
   17.
        $.initrequire.min.js:17
   18.
        Erequire.min.js:14
   19.
        i.completeLoadrequire.min.js:28
   20.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: amber_lib/require-css/css
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptErrorrequire.min.js:29

 1. GET http://127.0.0.1:4000/bower_components/jquery/jquery.min.js

    404 (Not Found) require.min.js:34
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
        $.loadrequire.min.js:18
    4.
        $.fetchrequire.min.js:17
    5
.
        $.checkrequire.min.js:19
    6.
        $.enablerequire.min.js:23
    7.
        i.enablerequire.min.js:27
    8.
        (anonymous function)require.min.js:23
    9.
        (anonymous function)require.min.js:8
   10.
        vrequire.min.js:7
   11.
        $.enablerequire.min.js:22
   12.
        $.initrequire.min.js:17
   13.
        Erequire.min.js:14
   14.
        i.completeLoadrequire.min.js:28
   15.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: jquery
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptErrorrequire.min.js:29

 1. GET

    http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js
    404 (Not Found) require.min.js:34
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
        $.loadrequire.min.js:18
    4.
        $.fe
tchrequire.min.js:17
    5.
        $.checkrequire.min.js:19
    6.
        $.enablerequire.min.js:23
    7.
        i.enablerequire.min.js:27
    8.
        (anonymous function)require.min.js:23
    9.
        (anonymous function)require.min.js:8
   10.
        vrequire.min.js:7
   11.
        $.enablerequire.min.js:22
   12.
        $.initrequire.min.js:17
   13.
        Erequire.min.js:14
   14.
        i.completeLoadrequire.min.js:28
   15.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-shim.min
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptErrorrequire.min.js:29

 1. GET

    http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js
    404 (Not Found) require.min.js:34
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
 
     $.loadrequire.min.js:18
    4.
        $.fetchrequire.min.js:17
    5.
        $.checkrequire.min.js:19
    6.
        $.enablerequire.min.js:23
    7.
        i.enablerequire.min.js:27
    8.
        (anonymous function)require.min.js:23
    9.
        (anonymous function)require.min.js:8
   10.
        vrequire.min.js:7
   11.
        $.enablerequire.min.js:22
   12.
        $.initrequire.min.js:17
   13.
        Erequire.min.js:14
   14.
        i.completeLoadrequire.min.js:28
   15.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: amber_lib/es5-shim/es5-sham.min
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptErrorrequire.min.js:29

 1. Uncaught object require.min.js:8
    1.
        Crequire.min.js:8
    2.
        Drequire.min.js:13
    3.
        (anonymous function)
    4.
 
      "



clicking on either of the links gives me this error. I hope I am not doing anything stupid.

"

 1. Uncaught Error: Module name "amber/helpers" has not been loaded
    yet for context: _. Use require([])
    http://requirejs.org/docs/errors.html#notloaded require.min.js:8
    1.
        Crequire.min.js:8
    2.
        grequire.min.js:26
    3.
        requirejsrequire.min.js:31
    4.
        (anonymous function)"
2.




On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík <[hidden email] <mailto:[hidden email]>> wrote:

    It should work... experiment a bit... maybe you should put
    additional slash at the end - you shou;d definitely be able to get
    /internal/index.html directly, since you say yourself that it is
    there.

    kilon alios wrote:

        Following your instructions it gives me this

        "404 Not found

        Did you forget to put an index.html file into the directory

        which is served by "bin/amber serve"? To solve this you can:

          * create an index.html in the served directory.
          * can also specify the location of a page to be served
        whenever path

            does not resolve to a file with the "--fallback-page" option.
          * change the directory to be served with the "--base-path"
        option."


        I am running "amber serve" from my ~/git/amber which is a fork
        of a amber that can be found here -->
        https://github.com/kilon/__amber/tree/master/internal

        <https://github.com/kilon/amber/tree/master/internal>

        This folder does not have an index.html but internal subfolder
        has. So I dont know what is wrong with this.


        On Sun, Jun 29, 2014 at 9:4

    6 PM, Herby Vojčík <[hidden email] <mailto:[hidden email]>

        <mailto:[hidden email] <mailto:[hidden email]>>> wrote:



            kilon ali
os wrote:

                Hi I think the information about how to contribute to
        Amber is
                confusing. I tried the method of creating my own amber app
                with amber init and it works great but I dont know how
        I can
                contribute to Amber.

                I have contributed in the past to Amber with a fork
        and a pull
                request. The problem I am having is that I have my
        fork cloned
                in my hd but when I go to its directory and do amber
        serve it
                tells me to launch 127.0.0.1:4000
        <http://127.0.0.1:4000> <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> which I do but nothing happens. It
                displays a blank page. I also tried
        127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html>
        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>
     
 <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>

        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>> and it open a web page
                with text "Helios opening" but aga

    in nothing happens.



                Any clue what I am doing wrong ?


            A few changes happened since last release. One of them is, you
            should browse http://localhost:4000/internal to start
        IDE(s) and
            change Amber code.

            --     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+unsubscribe@__googl__egroups.com
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]
[hidden email]>__>.
            For more options, visit
        https://groups.google.com/d/____optout
        <https://groups.google.com/d/__optout>

        <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 amber-lang+unsubscribe@__googlegroups.com
        <mailto:[hidden email]>
        <mailto:[hidden email]

        <mailto:[hidden email]>>.

        For more options, visit https://groups

    .google.com/d/optout <http://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 amber-lang+unsubscribe@__googlegroups.com
    <mailto:[hidden email]>.
    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.

--
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: How to contribute to Amber

Herby Vojčík
This is more serious issue, I myself don't know how to solve it without putting more stringent bounds of possible versions :-(

The place where file is put changed between versions of jquery-ui. In 1.10.x it was in ui/minified/jquery-ui.min.js, but with removing the upper bound on jquery-ui version, only the lower bound being there, you probably got some higher version there... and the file is in different position.

The easiest thing is to 'bower install jquery-ui#1.10.x' which rewrites the version installed with the highest one available from 1.10 family. OTOH, this may clash with jquery where bower probably installed 2.x.x family... ideally, you should 'bower uninstall jquery jquery-ui' and then 'bower install jquery#1.10.x jquery-ui#1.10.x', that should solve it.

It's hard to point to files' location when they move between versions... the versioning was more stringent but there were issues with that so I removed the higher bound.

kilon alios wrote:
> Ok I knew I was mis
sing something obvious. So I did npm install and

> bower install and it installed bunch of things.
>
> Now I am getting a new error.
>
>  1. GET
>     http://127.0.0.1:4000/bower_components/jquery-ui/ui/minified/jquery-ui.min.js
>     404 (Not Found) require.min.js:34
>     1.
>         h.loadrequire.min.js:34
>     2.
>         i.loadrequire.min.js:29
>     3.
>         $.loadrequire.min.js:18
>     4.
>         (anonymous function)require.min.js:17
>     5.
>         (anonymous function)require.min.js:8
>     6.
>         i.execCbrequire.min.js:29
>     7.
>         $.checkrequire.min.js:18
>     8.
>         (anonymous function)require.min.js:23
>     9.
>         (anonymous function)require.min.js:8
>    10.
>         (anonymous function)require.min.js:23
>    11.
>         vrequire.min.js:7
>    12.
>         $.emitrequire.min.js:23
>    13.
>         $.checkrequire.min.js:19
>    14.
>         $.enablerequire.min.js:23
>    15.
>         $.initrequire.min.js:17
>    16
.

>         Erequire.min.js:14
>    17.
>         i.completeLoadrequire.min.js:28
>    18.
>         i.onScriptLoadrequire.min.js:29
>
>  1. Uncaught Error: Script error for: jquery-ui
>     http://requirejs.org/docs/errors.html#scripterror require.min.js:8
>     1.
>         Crequire.min.js:8
>     2.
>         i.onScriptError
>     3.
>
>
> it looks like it tries to find a file that does not really exist.
>
> for example when I visit
> https://github.com/components/jqueryui/tree/master/ui/minified
>
> the file jquery-ui.min.js is not there . Maybe a bug in dependencies ?
>
> I try to get it also with bower with "bower install jquery-ui" but I
> see no fix to the problem.
>
> 1.
>
>
>
>
> On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Well, Amber itself also has dependencies, so you must fetch them.
>     Run 'npm install' and 'bower install' in your amber dir.
>
>     kilon alios wrote:
>
>         Bare with
 me because I am a beginner when it comes to web

>         development.
>
>         ok the page opens but none of the two pop up links work .
>
>         I have put the repo in ~/git/amber I hope there is no problem
>         with the path.
>
>         I opened the Javascript console and it gives me a lot of errors
>
>         "
>
>          1. GET
>         http://127.0.0.1:4000/bower___components/require-css/css.js
>         <http://127.0.0.1:4000/bower_components/require-css/css.js> 404
>             (Not Found) require.min.js:34
>             1.
>                 h.loadrequire.min.js:34
>             2.
>                 i.loadrequire.min.js:29
>             3.
>                 $.loadrequire.min.js:18
>             4.
>                 $.fetchrequire.min.js:17
>             5.
>                 $.checkrequire.min.js:19
>             6.
>                 $.enablerequire.min.js:23
>             7.
>                 i.enablerequire.min.js:27
>             8.
>              
   $.callPluginrequire.min.js:22

>             9.
>                 $.fetchrequire.min.js:17
>            10.
>                 $.checkrequire.min.js:19
>
>
>            11.
>                 $.enablerequire.min.js:23
>            12.
>                 i.enablerequire.min.js:27
>            13.
>                 (anonymous function)require.min.js:23
>            14.
>                 (anonymous function)require.min.js:8
>            15.
>                 vrequire.min.js:7
>            16.
>                 $.enablerequire.min.js:22
>            17.
>                 $.initrequire.min.js:17
>            18.
>                 Erequire.min.js:14
>            19.
>                 i.completeLoadrequire.min.js:__28
>            20.
>                 i.onScriptLoadrequire.min.js:__29
>
>          1. Uncaught Error: Script error for: amber_lib/require-css/css
>         http://requirejs.org/docs/__errors.html#scripterror
>         <http://requirejs.org/docs/errors.html#scripterror>
>
         require.min.js:8

>             1.
>                 Crequire.min.js:8
>             2.
>                 i.onScriptErrorrequire.min.js:__29
>
>          1. GET
>         http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js <http://127.0.0.1:4000/bower_components/jquery/jquery.min.js>
>
>             404 (Not Found) require.min.js:34
>             1.
>                 h.loadrequire.min.js:34
>             2.
>                 i.loadrequire.min.js:29
>             3.
>                 $.loadrequire.min.js:18
>             4.
>                 $.fetchrequire.min.js:17
>             5
>
>     .
>
>                 $.checkrequire.min.js:19
>             6.
>                 $.enablerequire.min.js:23
>             7.
>                 i.enablerequire.min.js:27
>             8.
>                 (anonymous function)require.min.js:23
>             9.
>                 (anonymous function)require.min.js:8
>            10.
>                 vrequire.min.js:7
>      
      11.

>                 $.enablerequire.min.js:22
>            12.
>                 $.initrequire.min.js:17
>            13.
>                 Erequire.min.js:14
>            14.
>                 i.completeLoadrequire.min.js:__28
>            15.
>                 i.onScriptLoadrequire.min.js:__29
>
>          1. Uncaught Error: Script error for: jquery
>         http://requirejs.org/docs/__errors.html#scripterror
>         <http://requirejs.org/docs/errors.html#scripterror>
>         require.min.js:8
>             1.
>                 Crequire.min.js:8
>             2.
>                 i.onScriptErrorrequire.min.js:__29
>
>          1. GET
>
>         http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js
>         <http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js>
>             404 (Not Found) require.min.js:34
>             1.
>                 h.loadrequire.min.js:34
>             2.
>                 i.loadrequire.min.js:29
>          
  3.

>                 $.loadrequire.min.js:18
>             4.
>                 $.fe
>
>     tchrequire.min.js:17
>
>             5.
>                 $.checkrequire.min.js:19
>             6.
>                 $.enablerequire.min.js:23
>             7.
>                 i.enablerequire.min.js:27
>             8.
>                 (anonymous function)require.min.js:23
>             9.
>                 (anonymous function)require.min.js:8
>            10.
>                 vrequire.min.js:7
>            11.
>                 $.enablerequire.min.js:22
>            12.
>                 $.initrequire.min.js:17
>            13.
>                 Erequire.min.js:14
>            14.
>                 i.completeLoadrequire.min.js:__28
>            15.
>                 i.onScriptLoadrequire.min.js:__29
>
>          1. Uncaught Error: Script error for:
>         amber_lib/es5-shim/es5-shim.__min
>         http://requirejs.org/docs/__errors.html#scripterror
>         <http://requir
ejs.org/docs/errors.html#scripterror>

>         require.min.js:8
>             1.
>                 Crequire.min.js:8
>             2.
>                 i.onScriptErrorrequire.min.js:__29
>
>          1. GET
>
>         http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js
>         <http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js>
>             404 (Not Found) require.min.js:34
>             1.
>                 h.loadrequire.min.js:34
>             2.
>                 i.loadrequire.min.js:29
>             3.
>
>          $.loadrequire.min.js:18
>
>             4.
>                 $.fetchrequire.min.js:17
>             5.
>                 $.checkrequire.min.js:19
>             6.
>                 $.enablerequire.min.js:23
>             7.
>                 i.enablerequire.min.js:27
>             8.
>                 (anonymous function)require.min.js:23
>             9.
>                 (anonymous function)require.min.js:8
>            10.

>                 vrequire.min.js:7
>            11.
>                 $.enablerequire.min.js:22
>            12.
>                 $.initrequire.min.js:17
>            13.
>                 Erequire.min.js:14
>            14.
>                 i.completeLoadrequire.min.js:__28
>            15.
>                 i.onScriptLoadrequire.min.js:__29
>
>          1. Uncaught Error: Script error for:
>         amber_lib/es5-shim/es5-sham.__min
>         http://requirejs.org/docs/__errors.html#scripterror
>         <http://requirejs.org/docs/errors.html#scripterror>
>         require.min.js:8
>             1.
>                 Crequire.min.js:8
>             2.
>                 i.onScriptErrorrequire.min.js:__29
>
>          1. Uncaught object require.min.js:8
>             1.
>                 Crequire.min.js:8
>             2.
>                 Drequire.min.js:13
>             3.
>                 (anonymous function)
>             4.
>
>     "
>
>
>
>
>         clicking on eithe
r of the links gives me this error. I hope I

>         am not doing anything stupid.
>
>         "
>
>          1. Uncaught Error: Module name "amber/helpers" has not been
>         loaded
>             yet for context: _. Use require([])
>         http://requirejs.org/docs/__errors.html#notloaded
>         <http://requirejs.org/docs/errors.html#notloaded> require.min.js:8
>             1.
>                 Crequire.min.js:8
>             2.
>                 grequire.min.js:26
>             3.
>                 requirejsrequire.min.js:31
>             4.
>                 (anonymous function)"
>         2.
>
>
>
>
>         On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>             It should work... experiment a bit... maybe you should put
>             additional slash at the end - you shou;d definitely be
>         able to get
>             /int
ernal/index.html directly, since you say yourself that

>         it is
>             there.
>
>             kilon alios wrote:
>
>                 Following your instructions it gives me this
>
>         "404 Not found
>
>                 Did you forget to put an index.html file into the
>         directory
>
>             which is served by "bin/amber serve"? To solve this you can:
>
>
>                   * create an index.html in the served directory.
>                   * can also specify the location of a page to be served
>                 whenever path
>
>                     does not resolve to a file with the
>         "--fallback-page" option.
>                   * change the directory to be served with the
>         "--base-path"
>                 option."
>
>
>                 I am running "amber serve" from my ~/git/amber which
>         is a fork
>                 of a amber that can be found here -->
>         https://github.com/kilon/____amber/tree/master/inter
nal

>         <https://github.com/kilon/__amber/tree/master/internal>
>
>         <https://github.com/kilon/__amber/tree/master/internal
>         <https://github.com/kilon/amber/tree/master/internal>>
>
>                 This folder does not have an index.html but internal
>         subfolder
>                 has. So I dont know what is wrong with this.
>
>
>                 On Sun, Jun 29, 2014 at 9:4
>
>             6 PM, Herby Vojčík <[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>
>         <mailto:[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:
>
>
>
>                     kilon ali
>
>     os wrote:
>
>
>                         Hi I think the information about how to
>         contribute to
>                 Amber is
>                         confusing. I tried the method of creating my
>         own amber app
>                      
   with amber init and it works great but I dont

>         know how
>                 I can
>                         contribute to Amber.
>
>                         I have contributed in the past to Amber with a
>         fork
>                 and a pull
>                         request. The problem I am having is that I have my
>                 fork cloned
>                         in my hd but when I go to its directory and do
>         amber
>                 serve it
>                         tells me to launch 127.0.0.1:4000
>         <http://127.0.0.1:4000>
>         <http://127.0.0.1:4000> <http://127.0.0.1:4000>
>         <http://127.0.0.1:4000> which I do but nothing happens. It
>                         displays a blank page. I also tried
>         127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html>
>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>>
>         <http://127.0.0.1:4000/helios.____html
>        
<http://127.0.0.1:4000/helios.__html>

>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>>>
>
>     <http://127.0.0.1:4000/helios.______html
>     <http://127.0.0.1:4000/helios.____html>
>
>         <http://127.0.0.1:4000/helios.____html
>         <http://127.0.0.1:4000/helios.__html>>
>
>         <http://127.0.0.1:4000/helios.____html
>         <http://127.0.0.1:4000/helios.__html>
>         <http://127.0.0.1:4000/helios.__html
>         <http://127.0.0.1:4000/helios.html>>>> and it open a web page
>                         with text "Helios opening" but aga
>
>             in nothing happens.
>
>
>
>                         Any clue what I am doing wrong ?
>
>
>                     A few changes happened since last release. One of
>         them is, you
>                     should browse http://localhost:4000/internal to start
>                 IDE(s) and
>                     change Amber code.
>
>                     --     You re
ceived 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]
>         <http://googl__egroups.com>
>         <http://googlegroups.com>
>         <mailto:amber-lang%[hidden email]
>         <mailto:amber-lang%[hidden email]>
>         <mailto:amber-la <mailto:amber-la>
>
>     ng%[hidden email]
>     <mailto:ng%[hidden email]>>__>.
>
>                     For more options, visit
>         https://groups.google.com/d/______optout
>         <https://groups.google.com/d/____optout>
>         <https://groups.google.com/d/____optout
>         <https://groups.google.com/d/__optout>>
>
>         <https://groups.google.com/d/
____optout

>         <https://groups.google.com/d/__optout>
>         <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]
>         <http://googlegroups.com>
>         <mailto:amber-lang%[hidden email]
>         <mailto:amber-lang%[hidden email]>__>
>         <mailto:[hidden email]
>         <mailto:amber-lang%[hidden email]>
>
>         <mailto:amber-lang%[hidden email]
>         <mailto:amber-lang%[hidden email]>__>>.
>
>                 For more options, visit https://groups
>
>        
    .google.com/d/optout <http://google.com/d/optout>

>         <http://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]
>         <http://googlegroups.com>
>         <mailto:amber-lang%[hidden email]
>         <mailto:amber-lang%[hidden email]>__>.
>             For more options, visit
>         https://groups.google.com/d/____optout
>         <https://groups.google.com/d/__optout>
>         <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 sto
p receiving emails from

>         it, send an email to [hidden email]
>         <mailto:amber-lang%[hidden email]>
>         <mailto:[hidden email]
>         <mailto:amber-lang%[hidden email]>>.
>         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:amber-lang%[hidden email]>.
>     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 ema
ils 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: How to contribute to Amber

kilon.alios
BINGO! it works now following your instructions. I would assume that Bower or require.js would have means to inform the deletion/movement of the file and update dependancies at will, but I guess thats easier said than done. They don't call it "dependency hell" for nothing :) 

With your help I learned npm and bower a bit more and now I can use the IDE to do my experimentations and hopefully contribute. Thanks again :) 


On Mon, Jun 30, 2014 at 11:57 PM, Herby Vojčík <[hidden email]> wrote:
This is more serious issue, I myself don't know how to solve it without putting more stringent bounds of possible versions :-(

The place where file is put changed between versions of jquery-ui. In 1.10.x it was in ui/minified/jquery-ui.min.js, but with removing the upper bound on jquery-ui version, only the lower bound being there, you probably got some higher version there... and the file is in different position.

The easiest thing is to 'bower install jquery-ui#1.10.x' which rewrites the version installed with the highest one available from 1.10 family. OTOH, this may clash with jquery where bower probably installed 2.x.x family... ideally, you should 'bower uninstall jquery jquery-ui' and then 'bower install jquery#1.10.x jquery-ui#1.10.x', that should solve it.

It's hard to point to files' location when they move between versions... the versioning was more stringent but there were issues with that so I removed the higher bound.


kilon alios wrote:
Ok I knew I was mis
sing something obvious. So I did npm install and
bower install and it installed bunch of things.

Now I am getting a new error.

 1. GET
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
        $.loadrequire.min.js:18
    4.
        (anonymous function)require.min.js:17
    5.
        (anonymous function)require.min.js:8
    6.
        i.execCbrequire.min.js:29
    7.
        $.checkrequire.min.js:18

    8.
        (anonymous function)require.min.js:23
    9.
        (anonymous function)require.min.js:8
   10.
        (anonymous function)require.min.js:23
   11.
        vrequire.min.js:7
   12.
        $.emitrequire.min.js:23
   13.
        $.checkrequire.min.js:19
   14.
        $.enablerequire.min.js:23
   15.
        $.initrequire.min.js:17
   16
.
        Erequire.min.js:14
   17.
        i.completeLoadrequire.min.js:28
   18.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: jquery-ui
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptError
    3.



it looks like it tries to find a file that does not really exist.

for example when I visit https://github.com/components/jqueryui/tree/master/ui/minified

the file jquery-ui.min.js is not there . Maybe a bug in dependencies ?

I try to get it also with bower with "bower install jquery-ui" but I see no fix to the problem.

1.





On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík <[hidden email] <mailto:[hidden email]>> wrote:

    Well, Amber itself also has dependencies, so you must fetch them.
    Run 'npm install' and 'bower install' in your amber dir.

    kilon alios wrote:

        Bare with
me because I am a beginner when it comes to web
        development.

        ok the page opens but none of the two pop up links work .

        I have put the repo in ~/git/amber I hope there is no problem
        with the path.

        I opened the Javascript console and it gives me a lot of errors

        "

         1. GET
        http://127.0.0.1:4000/bower___components/require-css/css.js

        <http://127.0.0.1:4000/bower_components/require-css/css.js> 404
            (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.
                $.loadrequire.min.js:18
            4.
                $.fetchrequire.min.js:17
            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
             
  $.callPluginrequire.min.js:22
            9.
                $.fetchrequire.min.js:17
           10.
                $.checkrequire.min.js:19


           11.
                $.enablerequire.min.js:23
           12.
                i.enablerequire.min.js:27
           13.
                (anonymous function)require.min.js:23
           14.
                (anonymous function)require.min.js:8
           15.
                vrequire.min.js:7
           16.
                $.enablerequire.min.js:22
           17.
                $.initrequire.min.js:17
           18.
                Erequire.min.js:14
           19.
                i.completeLoadrequire.min.js:__28
           20.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for: amber_lib/require-css/css
        http://requirejs.org/docs/__errors.html#scripterror
        <http://requirejs.org/docs/errors.html#scripterror>

        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET
        http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js <http://127.0.0.1:4000/bower_components/jquery/jquery.min.js>


            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.
                $.loadrequire.min.js:18
            4.
                $.fetchrequire.min.js:17
            5

    .

                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.
                vrequire.min.js:7
     
     11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for: jquery
        http://requirejs.org/docs/__errors.html#scripterror

        <http://requirejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET

        http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js

        <http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js>
            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
         
 3.
                $.loadrequire.min.js:18
            4.
                $.fe

    tchrequire.min.js:17

            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.
                vrequire.min.js:7
           11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for:
        amber_lib/es5-shim/es5-shim.__min
        http://requirejs.org/docs/__errors.html#scripterror
        <http://requir
ejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET

        http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js

        <http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js>
            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.

         $.loadrequire.min.js:18

            4.
                $.fetchrequire.min.js:17
            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.

                vrequire.min.js:7
           11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for:
        amber_lib/es5-shim/es5-sham.__min
        http://requirejs.org/docs/__errors.html#scripterror

        <http://requirejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29


         1. Uncaught object require.min.js:8
            1.
                Crequire.min.js:8
            2.
                Drequire.min.js:13
            3.
                (anonymous function)
            4.

    "




        clicking on eithe
r of the links gives me this error. I hope I
        am not doing anything stupid.

        "

         1. Uncaught Error: Module name "amber/helpers" has not been
        loaded
            yet for context: _. Use require([])
        http://requirejs.org/docs/__errors.html#notloaded

        <http://requirejs.org/docs/errors.html#notloaded> require.min.js:8
            1.
                Crequire.min.js:8
            2.
                grequire.min.js:26
            3.
                requirejsrequire.min.js:31
            4.
                (anonymous function)"
        2.




        On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík
        <[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>>> wrote:

            It should work... experiment a bit... maybe you should put
            additional slash at the end - you shou;d definitely be
        able to get
            /int
ernal/index.html directly, since you say yourself that
        it is
            there.

            kilon alios wrote:

                Following your instructions it gives me this

        "404 Not found

                Did you forget to put an index.html file into the
        directory

            which is served by "bin/amber serve"? To solve this you can:


                  * create an index.html in the served directory.
                  * can also specify the location of a page to be served
                whenever path

                    does not resolve to a file with the
        "--fallback-page" option.
                  * change the directory to be served with the
        "--base-path"
                option."


                I am running "amber serve" from my ~/git/amber which
        is a fork
                of a amber that can be found here -->
        https://github.com/kilon/____amber/tree/master/inter
nal
        <https://github.com/kilon/__amber/tree/master/internal>


        <https://github.com/kilon/__amber/tree/master/internal
        <https://github.com/kilon/amber/tree/master/internal>>

                This folder does not have an index.html but internal
        subfolder
                has. So I dont know what is wrong with this.


                On Sun, Jun 29, 2014 at 9:4

            6 PM, Herby Vojčík <[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>

        <mailto:[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:



                    kilon ali

    os wrote:


                        Hi I think the information about how to
        contribute to
                Amber is
                        confusing. I tried the method of creating my
        own amber app
                     
  with amber init and it works great but I dont
        know how
                I can
                        contribute to Amber.

                        I have contributed in the past to Amber with a
        fork
                and a pull
                        request. The problem I am having is that I have my
                fork cloned
                        in my hd but when I go to its directory and do
        amber
                serve it
                        tells me to launch 127.0.0.1:4000
        <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> which I do but nothing happens. It
                        displays a blank page. I also tried
        127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html>
        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>
        <http://127.0.0.1:4000/helios.____html
       
<http://127.0.0.1:4000/helios.__html>
    <http://127.0.0.1:4000/helios.______html

    <http://127.0.0.1:4000/helios.____html>

        <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>>

        <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>
        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>>> and it open a web page
                        with text "Helios opening" but aga

            in nothing happens.



                        Any clue what I am doing wrong ?


                    A few changes happened since last release. One of
        them is, you
                    should browse http://localhost:4000/internal to start
                IDE(s) and
                    change Amber code.

                    --     You re
ceived 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+unsubscribe@__googl____egroups.com
        <http://googl__egroups.com>
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>

    ng%252Bunsubscribe@__googlegroups.com
    <mailto:[hidden email]>>__>.

                    For more options, visit
        https://groups.google.com/d/______optout
        <https://groups.google.com/d/____optout>
____optout
        <https://groups.google.com/d/__optout>
        <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
        amber-lang+unsubscribe@__googl__egroups.com
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>__>
        <mailto:[hidden email]
        <mailto:[hidden email]>

        <mailto:[hidden email]
        <mailto:[hidden email]>__>>.


                For more options, visit https://groups

       
   .google.com/d/optout <http://google.com/d/optout>
        <http://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
        amber-lang+unsubscribe@__googl__egroups.com
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>__>.

            For more options, visit
        https://groups.google.com/d/____optout
        <https://groups.google.com/d/__optout>
        <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 sto
p receiving emails from
        it, send an email to amber-lang+unsubscribe@__googlegroups.com
        <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>.
        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 amber-lang+unsubscribe@__googlegroups.com
    <mailto:[hidden email]>.
    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 ema
ils 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.

--
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: How to contribute to Amber

kilon.alios
just for the record , though your approach work on my MACOS yesterday, today trying to do the same in Win7 did not work , apparently bower removed jquery 1.10 from its repo or cant find for some reason

I had to manually fetch the jquery-ui.min.js and put it where it expects to find it to make it work. I have attached an image with the error report

maybe create amber own bower package with all the dependencies , I know its not an ideal solution but it could be used as a fallback option to save time from this manual work . I could do this, once I figure out how bower works. 




On Tue, Jul 1, 2014 at 12:03 AM, kilon alios <[hidden email]> wrote:
BINGO! it works now following your instructions. I would assume that Bower or require.js would have means to inform the deletion/movement of the file and update dependancies at will, but I guess thats easier said than done. They don't call it "dependency hell" for nothing :) 

With your help I learned npm and bower a bit more and now I can use the IDE to do my experimentations and hopefully contribute. Thanks again :) 


On Mon, Jun 30, 2014 at 11:57 PM, Herby Vojčík <[hidden email]> wrote:
This is more serious issue, I myself don't know how to solve it without putting more stringent bounds of possible versions :-(

The place where file is put changed between versions of jquery-ui. In 1.10.x it was in ui/minified/jquery-ui.min.js, but with removing the upper bound on jquery-ui version, only the lower bound being there, you probably got some higher version there... and the file is in different position.

The easiest thing is to 'bower install jquery-ui#1.10.x' which rewrites the version installed with the highest one available from 1.10 family. OTOH, this may clash with jquery where bower probably installed 2.x.x family... ideally, you should 'bower uninstall jquery jquery-ui' and then 'bower install jquery#1.10.x jquery-ui#1.10.x', that should solve it.

It's hard to point to files' location when they move between versions... the versioning was more stringent but there were issues with that so I removed the higher bound.


kilon alios wrote:
Ok I knew I was mis
sing something obvious. So I did npm install and
bower install and it installed bunch of things.

Now I am getting a new error.

 1. GET
    1.
        h.loadrequire.min.js:34
    2.
        i.loadrequire.min.js:29
    3.
        $.loadrequire.min.js:18
    4.
        (anonymous function)require.min.js:17
    5.
        (anonymous function)require.min.js:8
    6.
        i.execCbrequire.min.js:29
    7.
        $.checkrequire.min.js:18

    8.
        (anonymous function)require.min.js:23
    9.
        (anonymous function)require.min.js:8
   10.
        (anonymous function)require.min.js:23
   11.
        vrequire.min.js:7
   12.
        $.emitrequire.min.js:23
   13.
        $.checkrequire.min.js:19
   14.
        $.enablerequire.min.js:23
   15.
        $.initrequire.min.js:17
   16
.
        Erequire.min.js:14
   17.
        i.completeLoadrequire.min.js:28
   18.
        i.onScriptLoadrequire.min.js:29

 1. Uncaught Error: Script error for: jquery-ui
    http://requirejs.org/docs/errors.html#scripterror require.min.js:8
    1.
        Crequire.min.js:8
    2.
        i.onScriptError
    3.



it looks like it tries to find a file that does not really exist.

for example when I visit https://github.com/components/jqueryui/tree/master/ui/minified

the file jquery-ui.min.js is not there . Maybe a bug in dependencies ?

I try to get it also with bower with "bower install jquery-ui" but I see no fix to the problem.

1.





On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík <[hidden email] <mailto:[hidden email]>> wrote:

    Well, Amber itself also has dependencies, so you must fetch them.
    Run 'npm install' and 'bower install' in your amber dir.

    kilon alios wrote:

        Bare with
me because I am a beginner when it comes to web
        development.

        ok the page opens but none of the two pop up links work .

        I have put the repo in ~/git/amber I hope there is no problem
        with the path.

        I opened the Javascript console and it gives me a lot of errors

        "

         1. GET
        http://127.0.0.1:4000/bower___components/require-css/css.js

        <http://127.0.0.1:4000/bower_components/require-css/css.js> 404
            (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.
                $.loadrequire.min.js:18
            4.
                $.fetchrequire.min.js:17
            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
             
  $.callPluginrequire.min.js:22
            9.
                $.fetchrequire.min.js:17
           10.
                $.checkrequire.min.js:19


           11.
                $.enablerequire.min.js:23
           12.
                i.enablerequire.min.js:27
           13.
                (anonymous function)require.min.js:23
           14.
                (anonymous function)require.min.js:8
           15.
                vrequire.min.js:7
           16.
                $.enablerequire.min.js:22
           17.
                $.initrequire.min.js:17
           18.
                Erequire.min.js:14
           19.
                i.completeLoadrequire.min.js:__28
           20.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for: amber_lib/require-css/css
        http://requirejs.org/docs/__errors.html#scripterror
        <http://requirejs.org/docs/errors.html#scripterror>

        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET
        http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js <http://127.0.0.1:4000/bower_components/jquery/jquery.min.js>


            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.
                $.loadrequire.min.js:18
            4.
                $.fetchrequire.min.js:17
            5

    .

                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.
                vrequire.min.js:7
     
     11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for: jquery
        http://requirejs.org/docs/__errors.html#scripterror

        <http://requirejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET

        http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js

        <http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js>
            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
         
 3.
                $.loadrequire.min.js:18
            4.
                $.fe

    tchrequire.min.js:17

            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.
                vrequire.min.js:7
           11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for:
        amber_lib/es5-shim/es5-shim.__min
        http://requirejs.org/docs/__errors.html#scripterror
        <http://requir
ejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29

         1. GET

        http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js

        <http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js>
            404 (Not Found) require.min.js:34
            1.
                h.loadrequire.min.js:34
            2.
                i.loadrequire.min.js:29
            3.

         $.loadrequire.min.js:18

            4.
                $.fetchrequire.min.js:17
            5.
                $.checkrequire.min.js:19
            6.
                $.enablerequire.min.js:23
            7.
                i.enablerequire.min.js:27
            8.
                (anonymous function)require.min.js:23
            9.
                (anonymous function)require.min.js:8
           10.

                vrequire.min.js:7
           11.
                $.enablerequire.min.js:22
           12.
                $.initrequire.min.js:17
           13.
                Erequire.min.js:14
           14.
                i.completeLoadrequire.min.js:__28
           15.
                i.onScriptLoadrequire.min.js:__29


         1. Uncaught Error: Script error for:
        amber_lib/es5-shim/es5-sham.__min
        http://requirejs.org/docs/__errors.html#scripterror

        <http://requirejs.org/docs/errors.html#scripterror>
        require.min.js:8
            1.
                Crequire.min.js:8
            2.
                i.onScriptErrorrequire.min.js:__29


         1. Uncaught object require.min.js:8
            1.
                Crequire.min.js:8
            2.
                Drequire.min.js:13
            3.
                (anonymous function)
            4.

    "




        clicking on eithe
r of the links gives me this error. I hope I
        am not doing anything stupid.

        "

         1. Uncaught Error: Module name "amber/helpers" has not been
        loaded
            yet for context: _. Use require([])
        http://requirejs.org/docs/__errors.html#notloaded

        <http://requirejs.org/docs/errors.html#notloaded> require.min.js:8
            1.
                Crequire.min.js:8
            2.
                grequire.min.js:26
            3.
                requirejsrequire.min.js:31
            4.
                (anonymous function)"
        2.




        On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík
        <[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>>> wrote:

            It should work... experiment a bit... maybe you should put
            additional slash at the end - you shou;d definitely be
        able to get
            /int
ernal/index.html directly, since you say yourself that
        it is
            there.

            kilon alios wrote:

                Following your instructions it gives me this

        "404 Not found

                Did you forget to put an index.html file into the
        directory

            which is served by "bin/amber serve"? To solve this you can:


                  * create an index.html in the served directory.
                  * can also specify the location of a page to be served
                whenever path

                    does not resolve to a file with the
        "--fallback-page" option.
                  * change the directory to be served with the
        "--base-path"
                option."


                I am running "amber serve" from my ~/git/amber which
        is a fork
                of a amber that can be found here -->
        https://github.com/kilon/____amber/tree/master/inter
nal
        <https://github.com/kilon/__amber/tree/master/internal>


        <https://github.com/kilon/__amber/tree/master/internal
        <https://github.com/kilon/amber/tree/master/internal>>

                This folder does not have an index.html but internal
        subfolder
                has. So I dont know what is wrong with this.


                On Sun, Jun 29, 2014 at 9:4

            6 PM, Herby Vojčík <[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>

        <mailto:[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:



                    kilon ali

    os wrote:


                        Hi I think the information about how to
        contribute to
                Amber is
                        confusing. I tried the method of creating my
        own amber app
                     
  with amber init and it works great but I dont
        know how
                I can
                        contribute to Amber.

                        I have contributed in the past to Amber with a
        fork
                and a pull
                        request. The problem I am having is that I have my
                fork cloned
                        in my hd but when I go to its directory and do
        amber
                serve it
                        tells me to launch 127.0.0.1:4000
        <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> <http://127.0.0.1:4000>
        <http://127.0.0.1:4000> which I do but nothing happens. It
                        displays a blank page. I also tried
        127.0.0.1:4000/helios.html <http://127.0.0.1:4000/helios.html>
        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>
        <http://127.0.0.1:4000/helios.____html
       
<http://127.0.0.1:4000/helios.__html>
    <http://127.0.0.1:4000/helios.______html

    <http://127.0.0.1:4000/helios.____html>

        <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>>

        <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>
        <http://127.0.0.1:4000/helios.__html
        <http://127.0.0.1:4000/helios.html>>>> and it open a web page
                        with text "Helios opening" but aga

            in nothing happens.



                        Any clue what I am doing wrong ?


                    A few changes happened since last release. One of
        them is, you
                    should browse http://localhost:4000/internal to start
                IDE(s) and
                    change Amber code.

                    --     You re
ceived 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+unsubscribe@__googl____egroups.com
        <http://googl__egroups.com>
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>
        <mailto:[hidden email] <mailto:[hidden email]>

    ng%252Bunsubscribe@__googlegroups.com
    <mailto:[hidden email]>>__>.

                    For more options, visit
        https://groups.google.com/d/______optout
        <https://groups.google.com/d/____optout>
____optout
        <https://groups.google.com/d/__optout>
        <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
        amber-lang+unsubscribe@__googl__egroups.com
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>__>
        <mailto:[hidden email]
        <mailto:[hidden email]>

        <mailto:[hidden email]
        <mailto:[hidden email]>__>>.


                For more options, visit https://groups

       
   .google.com/d/optout <http://google.com/d/optout>
        <http://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
        amber-lang+unsubscribe@__googl__egroups.com
        <http://googlegroups.com>
        <mailto:[hidden email]
        <mailto:[hidden email]>__>.

            For more options, visit
        https://groups.google.com/d/____optout
        <https://groups.google.com/d/__optout>
        <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 sto
p receiving emails from
        it, send an email to amber-lang+unsubscribe@__googlegroups.com
        <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>.
        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 amber-lang+unsubscribe@__googlegroups.com
    <mailto:[hidden email]>.
    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 ema
ils 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.


--
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.

problem with jquery-ui in win7.JPG (150K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to contribute to Amber

Herby Vojčík
As (nearly) always, problem is between the keyboard and the chair ;-).

You told bower to install jquery#1.10x, not jquery#1.10.x, as I advised
yesterday and what worked in your Mac. I bet it works nicely in Win7 as
well (I work in it)>

No, I would definitely vote against amber with all deps. Taking he fact
that I unlike it, it is not really possible to do. You would need to
explicitly select which version to blend in. What bower does, it checks
version requirements for all packages and resolves their constraints so
that all of them is content (or asks how to resolve when conflicts
occur). Amber should be able to play nice with others = that also means
it should have its deps only mentioned in bower.json and its constraints
should be as little restrictive as possible (the issue I mentioned was
that it was not possible to use bootstrap 3 in amber project, as amber
had jquery >=1.10.3 <1.11.0, and bootstrap 3 wanted >=2.0.0. If you
embedded dependencies, other parts would bring their own ones and clash
could occur. Letting them negotiate via bower is good thing, I think.

That fact that files has moved inside jquery is a bit unfortunate, OTOH,
they had the right to do it, especially between major versions 1.x.x and
2.x.x.

But since this is a practical problem, I would lean to creating two
distributions of amber - the main one being more on the bleeding edge,
having jquery & jquery-ui >=2.0.0, and one, named for example
amber+jquery1, which would have its jquery&jquery-ui still at versions
1.x.x.

Herby

kilon alios wrote:

> just for the record , though your approach work on my MACOS yesterday,
> today trying to do the same in Win7 did not work , apparently bower
> removed jquery 1.10 from its repo or cant find for some reason
>
> I had to manually fetch the jquery-ui.min.js and put it where it expects
> to find it to make it work. I have attached an image with the error report
>
> maybe create amber own bower package with all the dependencies , I know
> its not an ideal solution but it could be used as a fallback option to
> save time from this manual work . I could do this, once I figure out how
> bower works.
>
>
>
>
> On Tue, Jul 1, 2014 at 12:03 AM, kilon alios <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     BINGO! it works now following your instructions. I would assume that
>     Bower or require.js would have means to inform the deletion/movement
>     of the file and update dependancies at will, but I guess thats
>     easier said than done. They don't call it "dependency hell" for
>     nothing :)
>
>     With your help I learned npm and bower a bit more and now I can use
>     the IDE to do my experimentations and hopefully contribute. Thanks
>     again :)
>
>
>     On Mon, Jun 30, 2014 at 11:57 PM, Herby Vojčík <[hidden email]
>     <mailto:[hidden email]>> wrote:
>
>         This is more serious issue, I myself don't know how to solve it
>         without putting more stringent bounds of possible versions :-(
>
>         The place where file is put changed between versions of
>         jquery-ui. In 1.10.x it was in ui/minified/jquery-ui.min.js, but
>         with removing the upper bound on jquery-ui version, only the
>         lower bound being there, you probably got some higher version
>         there... and the file is in different position.
>
>         The easiest thing is to 'bower install jquery-ui#1.10.x' which
>         rewrites the version installed with the highest one available
>         from 1.10 family. OTOH, this may clash with jquery where bower
>         probably installed 2.x.x family... ideally, you should 'bower
>         uninstall jquery jquery-ui' and then 'bower install
>         jquery#1.10.x jquery-ui#1.10.x', that should solve it.
>
>         It's hard to point to files' location when they move between
>         versions... the versioning was more stringent but there were
>         issues with that so I removed the higher bound.
>
>
>         kilon alios wrote:
>
>             Ok I knew I was mis
>
>         sing something obvious. So I did npm install and
>
>             bower install and it installed bunch of things.
>
>             Now I am getting a new error.
>
>               1. GET
>
>             http://127.0.0.1:4000/bower___components/jquery-ui/ui/__minified/jquery-ui.min.js
>             <http://127.0.0.1:4000/bower_components/jquery-ui/ui/minified/jquery-ui.min.js>
>                  404 (Not Found) require.min.js:34
>                  1.
>                      h.loadrequire.min.js:34
>                  2.
>                      i.loadrequire.min.js:29
>                  3.
>                      $.loadrequire.min.js:18
>                  4.
>                      (anonymous function)require.min.js:17
>                  5.
>                      (anonymous function)require.min.js:8
>                  6.
>                      i.execCbrequire.min.js:29
>                  7.
>                      $.checkrequire.min.js:18
>
>                  8.
>                      (anonymous function)require.min.js:23
>                  9.
>                      (anonymous function)require.min.js:8
>                 10.
>                      (anonymous function)require.min.js:23
>                 11.
>                      vrequire.min.js:7
>                 12.
>                      $.emitrequire.min.js:23
>                 13.
>                      $.checkrequire.min.js:19
>                 14.
>                      $.enablerequire.min.js:23
>                 15.
>                      $.initrequire.min.js:17
>                 16
>
>         .
>
>                      Erequire.min.js:14
>                 17.
>                      i.completeLoadrequire.min.js:__28
>                 18.
>                      i.onScriptLoadrequire.min.js:__29
>
>               1. Uncaught Error: Script error for: jquery-ui
>             http://requirejs.org/docs/__errors.html#scripterror
>             <http://requirejs.org/docs/errors.html#scripterror>
>             require.min.js:8
>                  1.
>                      Crequire.min.js:8
>                  2.
>                      i.onScriptError
>                  3.
>
>
>
>             it looks like it tries to find a file that does not really
>             exist.
>
>             for example when I visit
>             https://github.com/components/__jqueryui/tree/master/ui/__minified
>             <https://github.com/components/jqueryui/tree/master/ui/minified>
>
>             the file jquery-ui.min.js is not there . Maybe a bug in
>             dependencies ?
>
>             I try to get it also with bower with "bower install
>             jquery-ui" but I see no fix to the problem.
>
>             1.
>
>
>
>
>
>             On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík
>             <[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>> wrote:
>
>                  Well, Amber itself also has dependencies, so you must
>             fetch them.
>                  Run 'npm install' and 'bower install' in your amber dir.
>
>                  kilon alios wrote:
>
>                      Bare with
>
>         me because I am a beginner when it comes to web
>
>                      development.
>
>                      ok the page opens but none of the two pop up links
>             work .
>
>                      I have put the repo in ~/git/amber I hope there is
>             no problem
>                      with the path.
>
>                      I opened the Javascript console and it gives me a
>             lot of errors
>
>             "
>
>                       1. GET
>             http://127.0.0.1:4000/bower_____components/require-css/css.js <http://127.0.0.1:4000/bower___components/require-css/css.js>
>
>             <http://127.0.0.1:4000/bower___components/require-css/css.js
>             <http://127.0.0.1:4000/bower_components/require-css/css.js>> 404
>                          (Not Found) require.min.js:34
>                          1.
>                              h.loadrequire.min.js:34
>                          2.
>                              i.loadrequire.min.js:29
>                          3.
>                              $.loadrequire.min.js:18
>                          4.
>                              $.fetchrequire.min.js:17
>                          5.
>                              $.checkrequire.min.js:19
>                          6.
>                              $.enablerequire.min.js:23
>                          7.
>                              i.enablerequire.min.js:27
>                          8.
>
>            $.callPluginrequire.min.js:22
>
>                          9.
>                              $.fetchrequire.min.js:17
>                         10.
>                              $.checkrequire.min.js:19
>
>
>                         11.
>                              $.enablerequire.min.js:23
>                         12.
>                              i.enablerequire.min.js:27
>                         13.
>                              (anonymous function)require.min.js:23
>                         14.
>                              (anonymous function)require.min.js:8
>                         15.
>                              vrequire.min.js:7
>                         16.
>                              $.enablerequire.min.js:22
>                         17.
>                              $.initrequire.min.js:17
>                         18.
>                              Erequire.min.js:14
>                         19.
>                              i.completeLoadrequire.min.js:____28
>                         20.
>                              i.onScriptLoadrequire.min.js:____29
>
>
>                       1. Uncaught Error: Script error for:
>             amber_lib/require-css/css
>             http://requirejs.org/docs/____errors.html#scripterror
>             <http://requirejs.org/docs/__errors.html#scripterror>
>             <http://requirejs.org/docs/__errors.html#scripterror
>             <http://requirejs.org/docs/errors.html#scripterror>>
>
>                  require.min.js:8
>
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              i.onScriptErrorrequire.min.js:____29
>
>                       1. GET
>             http://127.0.0.1:4000/bower_____components/jquery/jquery.min.____js
>             <http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js>
>             <http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js
>             <http://127.0.0.1:4000/bower_components/jquery/jquery.min.js>>
>
>
>                          404 (Not Found) require.min.js:34
>                          1.
>                              h.loadrequire.min.js:34
>                          2.
>                              i.loadrequire.min.js:29
>                          3.
>                              $.loadrequire.min.js:18
>                          4.
>                              $.fetchrequire.min.js:17
>                          5
>
>                  .
>
>                              $.checkrequire.min.js:19
>                          6.
>                              $.enablerequire.min.js:23
>                          7.
>                              i.enablerequire.min.js:27
>                          8.
>                              (anonymous function)require.min.js:23
>                          9.
>                              (anonymous function)require.min.js:8
>                         10.
>                              vrequire.min.js:7
>
>               11.
>
>                              $.enablerequire.min.js:22
>                         12.
>                              $.initrequire.min.js:17
>                         13.
>                              Erequire.min.js:14
>                         14.
>                              i.completeLoadrequire.min.js:____28
>                         15.
>                              i.onScriptLoadrequire.min.js:____29
>
>
>                       1. Uncaught Error: Script error for: jquery
>             http://requirejs.org/docs/____errors.html#scripterror
>             <http://requirejs.org/docs/__errors.html#scripterror>
>
>             <http://requirejs.org/docs/__errors.html#scripterror
>             <http://requirejs.org/docs/errors.html#scripterror>>
>                      require.min.js:8
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              i.onScriptErrorrequire.min.js:____29
>
>                       1. GET
>
>             http://127.0.0.1:4000/bower_____components/es5-shim/es5-shim.____min.js
>             <http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js>
>
>             <http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js
>             <http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js>>
>                          404 (Not Found) require.min.js:34
>                          1.
>                              h.loadrequire.min.js:34
>                          2.
>                              i.loadrequire.min.js:29
>
>           3.
>
>                              $.loadrequire.min.js:18
>                          4.
>                              $.fe
>
>                  tchrequire.min.js:17
>
>                          5.
>                              $.checkrequire.min.js:19
>                          6.
>                              $.enablerequire.min.js:23
>                          7.
>                              i.enablerequire.min.js:27
>                          8.
>                              (anonymous function)require.min.js:23
>                          9.
>                              (anonymous function)require.min.js:8
>                         10.
>                              vrequire.min.js:7
>                         11.
>                              $.enablerequire.min.js:22
>                         12.
>                              $.initrequire.min.js:17
>                         13.
>                              Erequire.min.js:14
>                         14.
>                              i.completeLoadrequire.min.js:____28
>                         15.
>                              i.onScriptLoadrequire.min.js:____29
>
>
>                       1. Uncaught Error: Script error for:
>                      amber_lib/es5-shim/es5-shim.____min
>             http://requirejs.org/docs/____errors.html#scripterror
>             <http://requirejs.org/docs/__errors.html#scripterror>
>             <http://requir
>
>         ejs.org/docs/errors.html#__scripterror
>         <http://ejs.org/docs/errors.html#scripterror>>
>
>                      require.min.js:8
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              i.onScriptErrorrequire.min.js:____29
>
>                       1. GET
>
>             http://127.0.0.1:4000/bower_____components/es5-shim/es5-sham.____min.js
>             <http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js>
>
>             <http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js
>             <http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js>>
>                          404 (Not Found) require.min.js:34
>                          1.
>                              h.loadrequire.min.js:34
>                          2.
>                              i.loadrequire.min.js:29
>                          3.
>
>                       $.loadrequire.min.js:18
>
>                          4.
>                              $.fetchrequire.min.js:17
>                          5.
>                              $.checkrequire.min.js:19
>                          6.
>                              $.enablerequire.min.js:23
>                          7.
>                              i.enablerequire.min.js:27
>                          8.
>                              (anonymous function)require.min.js:23
>                          9.
>                              (anonymous function)require.min.js:8
>                         10.
>
>
>                              vrequire.min.js:7
>                         11.
>                              $.enablerequire.min.js:22
>                         12.
>                              $.initrequire.min.js:17
>                         13.
>                              Erequire.min.js:14
>                         14.
>                              i.completeLoadrequire.min.js:____28
>                         15.
>                              i.onScriptLoadrequire.min.js:____29
>
>
>                       1. Uncaught Error: Script error for:
>                      amber_lib/es5-shim/es5-sham.____min
>             http://requirejs.org/docs/____errors.html#scripterror
>             <http://requirejs.org/docs/__errors.html#scripterror>
>
>             <http://requirejs.org/docs/__errors.html#scripterror
>             <http://requirejs.org/docs/errors.html#scripterror>>
>                      require.min.js:8
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              i.onScriptErrorrequire.min.js:____29
>
>
>                       1. Uncaught object require.min.js:8
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              Drequire.min.js:13
>                          3.
>                              (anonymous function)
>                          4.
>
>             "
>
>
>
>
>                      clicking on eithe
>
>         r of the links gives me this error. I hope I
>
>                      am not doing anything stupid.
>
>             "
>
>                       1. Uncaught Error: Module name "amber/helpers" has
>             not been
>                      loaded
>                          yet for context: _. Use require([])
>             http://requirejs.org/docs/____errors.html#notloaded
>             <http://requirejs.org/docs/__errors.html#notloaded>
>
>             <http://requirejs.org/docs/__errors.html#notloaded
>             <http://requirejs.org/docs/errors.html#notloaded>>
>             require.min.js:8
>                          1.
>                              Crequire.min.js:8
>                          2.
>                              grequire.min.js:26
>                          3.
>                              requirejsrequire.min.js:31
>                          4.
>                              (anonymous function)"
>                      2.
>
>
>
>
>                      On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík
>             <[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:
>
>                          It should work... experiment a bit... maybe you
>             should put
>                          additional slash at the end - you shou;d
>             definitely be
>                      able to get
>                          /int
>
>         ernal/index.html directly, since you say yourself that
>
>                      it is
>                          there.
>
>                          kilon alios wrote:
>
>                              Following your instructions it gives me this
>
>             "404 Not found
>
>                              Did you forget to put an index.html file
>             into the
>                      directory
>
>                          which is served by "bin/amber serve"? To solve
>             this you can:
>
>
>                                * create an index.html in the served
>             directory.
>                                * can also specify the location of a page
>             to be served
>                              whenever path
>
>                                  does not resolve to a file with the
>             "--fallback-page" option.
>                                * change the directory to be served with the
>             "--base-path"
>                              option."
>
>
>                              I am running "amber serve" from my
>             ~/git/amber which
>                      is a fork
>                              of a amber that can be found here -->
>             https://github.com/kilon/______amber/tree/master/inter
>             <https://github.com/kilon/____amber/tree/master/inter>
>
>         nal
>
>             <https://github.com/kilon/____amber/tree/master/internal
>             <https://github.com/kilon/__amber/tree/master/internal>>
>
>
>             <https://github.com/kilon/____amber/tree/master/internal
>             <https://github.com/kilon/__amber/tree/master/internal>
>             <https://github.com/kilon/__amber/tree/master/internal
>             <https://github.com/kilon/amber/tree/master/internal>>>
>
>                              This folder does not have an index.html but
>             internal
>                      subfolder
>                              has. So I dont know what is wrong with this.
>
>
>                              On Sun, Jun 29, 2014 at 9:4
>
>                          6 PM, Herby Vojčík <[hidden email]
>             <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>>
>
>             <mailto:[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>>>> wrote:
>
>
>
>                                  kilon ali
>
>                  os wrote:
>
>
>                                      Hi I think the information about how to
>                      contribute to
>                              Amber is
>                                      confusing. I tried the method of
>             creating my
>                      own amber app
>
>            with amber init and it works great but I dont
>
>                      know how
>                              I can
>                                      contribute to Amber.
>
>                                      I have contributed in the past to
>             Amber with a
>                      fork
>                              and a pull
>                                      request. The problem I am having is
>             that I have my
>                              fork cloned
>                                      in my hd but when I go to its
>             directory and do
>                      amber
>                              serve it
>                                      tells me to launch 127.0.0.1:4000
>             <http://127.0.0.1:4000>
>             <http://127.0.0.1:4000>
>             <http://127.0.0.1:4000> <http://127.0.0.1:4000>
>             <http://127.0.0.1:4000> which I do but nothing happens. It
>                                      displays a blank page. I also tried
>             127.0.0.1:4000/helios.html
>             <http://127.0.0.1:4000/helios.html>
>             <http://127.0.0.1:4000/helios.__html
>             <http://127.0.0.1:4000/helios.html>>
>             <http://127.0.0.1:4000/helios.____html
>             <http://127.0.0.1:4000/helios.__html>
>             <http://127.0.0.1:4000/helios.__html
>             <http://127.0.0.1:4000/helios.html>>>
>             <http://127.0.0.1:4000/helios.______html
>             <http://127.0.0.1:4000/helios.____html>
>
>         <http://127.0.0.1:4000/helios.____html
>         <http://127.0.0.1:4000/helios.__html>>
>
>             <http://127.0.0.1:4000/helios.____html
>             <http://127.0.0.1:4000/helios.__html>
>             <http://127.0.0.1:4000/helios.__html
>             <http://127.0.0.1:4000/helios.html>>>>
>
>             <http://127.0.0.1:4000/helios.________html
>             <http://127.0.0.1:4000/helios.______html>
>
>             <http://127.0.0.1:4000/helios.______html
>             <http://127.0.0.1:4000/helios.____html>>
>
>             <http://127.0.0.1:4000/helios.______html
>             <http://127.0.0.1:4000/helios.____html>
>             <http://127.0.0.1:4000/helios.____html
>             <http://127.0.0.1:4000/helios.__html>>>
>
>             <http://127.0.0.1:4000/helios.______html
>             <http://127.0.0.1:4000/helios.____html>
>             <http://127.0.0.1:4000/helios.____html
>             <http://127.0.0.1:4000/helios.__html>>
>             <http://127.0.0.1:4000/helios.____html
>             <http://127.0.0.1:4000/helios.__html>
>             <http://127.0.0.1:4000/helios.__html
>             <http://127.0.0.1:4000/helios.html>>>>> and it open a web page
>                                      with text "Helios opening" but aga
>
>                          in nothing happens.
>
>
>
>                                      Any clue what I am doing wrong ?
>
>
>                                  A few changes happened since last
>             release. One of
>                      them is, you
>                                  should browse
>             http://localhost:4000/internal to start
>                              IDE(s) and
>                                  change Amber code.
>
>                                  --     You re
>
>         ceived 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]
>             <http://googl____egroups.com>
>             <http://googl__egroups.com>
>             <http://googlegroups.com>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>__>
>             <mailto:amber-la <mailto:amber-la> <mailto:amber-la
>             <mailto:amber-la>>
>
>                  ng%[hidden email]
>             <http://googlegroups.com>
>             <mailto:ng%[hidden email]
>             <mailto:ng%[hidden email]>>>__>.
>
>                                  For more options, visit
>             https://groups.google.com/d/________optout
>             <https://groups.google.com/d/______optout>
>             <https://groups.google.com/d/______optout
>             <https://groups.google.com/d/____optout>>
>
>             <https://groups.google.com/d/______optout
>             <https://groups.google.com/d/____optout>
>             <https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>>>
>
>             <https://groups.google.com/d/
>
>         ____optout
>
>             <https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>>
>             <https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>
>             <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]
>             <http://googl__egroups.com>
>             <http://googlegroups.com>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%__252Bunsubscribe@googlegroups.__com
>             <mailto:amber-lang%[hidden email]>>__>
>             <mailto:[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>>
>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%__252Bunsubscribe@googlegroups.__com
>             <mailto:amber-lang%[hidden email]>>__>>.
>
>
>                              For more options, visit https://groups
>
>
>             .google.com/d/optout <http://google.com/d/optout>
>         <http://google.com/d/optout>
>
>             <http://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]
>             <http://googl__egroups.com>
>             <http://googlegroups.com>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%__252Bunsubscribe@googlegroups.__com
>             <mailto:amber-lang%[hidden email]>>__>.
>
>                          For more options, visit
>             https://groups.google.com/d/______optout
>             <https://groups.google.com/d/____optout>
>             <https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>>
>             <https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>
>             <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 sto
>
>         p receiving emails from
>
>                      it, send an email to
>             [hidden email]
>             <http://googlegroups.com>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>__>
>             <mailto:[hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>__>>.
>                      For more options, visit
>             https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>
>
>             <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]
>             <http://googlegroups.com>
>             <mailto:amber-lang%[hidden email]
>             <mailto:amber-lang%[hidden email]>__>.
>                  For more options, visit
>             https://groups.google.com/d/____optout
>             <https://groups.google.com/d/__optout>
>             <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 ema
>
>         ils from it, send
>
>             an email to [hidden email]
>             <mailto:amber-lang%[hidden email]>
>             <mailto:[hidden email]
>             <mailto:amber-lang%[hidden email]>>.
>             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:amber-lang%[hidden email]>.
>         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: How to contribute to Amber

kilon.alios
Yeap as always my lack of experience and my weakness of missing important details shows. I trust your judgement obviously you have the experience to back it up. 

Overall the installation of amber has been quite easy if I exclude this minor issue with jquery-ui minified. 

I tried also with my Ubuntu but I had issues with installing bower, so I gave up. But I am fine with Win7, afterall my main platform is MacOS.  


On Tue, Jul 1, 2014 at 12:31 PM, Herby Vojčík <[hidden email]> wrote:
As (nearly) always, problem is between the keyboard and the chair ;-).

You told bower to install jquery#1.10x, not jquery#1.10.x, as I advised yesterday and what worked in your Mac. I bet it works nicely in Win7 as well (I work in it)>

No, I would definitely vote against amber with all deps. Taking he fact that I unlike it, it is not really possible to do. You would need to explicitly select which version to blend in. What bower does, it checks version requirements for all packages and resolves their constraints so that all of them is content (or asks how to resolve when conflicts occur). Amber should be able to play nice with others = that also means it should have its deps only mentioned in bower.json and its constraints should be as little restrictive as possible (the issue I mentioned was that it was not possible to use bootstrap 3 in amber project, as amber had jquery >=1.10.3 <1.11.0, and bootstrap 3 wanted >=2.0.0. If you embedded dependencies, other parts would bring their own ones and clash could occur. Letting them negotiate via bower is good thing, I think.

That fact that files has moved inside jquery is a bit unfortunate, OTOH, they had the right to do it, especially between major versions 1.x.x and 2.x.x.

But since this is a practical problem, I would lean to creating two distributions of amber - the main one being more on the bleeding edge, having jquery & jquery-ui >=2.0.0, and one, named for example amber+jquery1, which would have its jquery&jquery-ui still at versions 1.x.x.

Herby

kilon alios wrote:
just for the record , though your approach work on my MACOS yesterday,
today trying to do the same in Win7 did not work , apparently bower
removed jquery 1.10 from its repo or cant find for some reason

I had to manually fetch the jquery-ui.min.js and put it where it expects
to find it to make it work. I have attached an image with the error report

maybe create amber own bower package with all the dependencies , I know
its not an ideal solution but it could be used as a fallback option to
save time from this manual work . I could do this, once I figure out how
bower works.




On Tue, Jul 1, 2014 at 12:03 AM, kilon alios <[hidden email]
<mailto:[hidden email]>> wrote:

    BINGO! it works now following your instructions. I would assume that
    Bower or require.js would have means to inform the deletion/movement
    of the file and update dependancies at will, but I guess thats
    easier said than done. They don't call it "dependency hell" for
    nothing :)

    With your help I learned npm and bower a bit more and now I can use
    the IDE to do my experimentations and hopefully contribute. Thanks
    again :)


    On Mon, Jun 30, 2014 at 11:57 PM, Herby Vojčík <[hidden email]
    <mailto:[hidden email]>> wrote:

        This is more serious issue, I myself don't know how to solve it
        without putting more stringent bounds of possible versions :-(

        The place where file is put changed between versions of
        jquery-ui. In 1.10.x it was in ui/minified/jquery-ui.min.js, but
        with removing the upper bound on jquery-ui version, only the
        lower bound being there, you probably got some higher version
        there... and the file is in different position.

        The easiest thing is to 'bower install jquery-ui#1.10.x' which
        rewrites the version installed with the highest one available
        from 1.10 family. OTOH, this may clash with jquery where bower
        probably installed 2.x.x family... ideally, you should 'bower
        uninstall jquery jquery-ui' and then 'bower install
        jquery#1.10.x jquery-ui#1.10.x', that should solve it.

        It's hard to point to files' location when they move between
        versions... the versioning was more stringent but there were
        issues with that so I removed the higher bound.


        kilon alios wrote:

            Ok I knew I was mis

        sing something obvious. So I did npm install and

            bower install and it installed bunch of things.

            Now I am getting a new error.

              1. GET

            http://127.0.0.1:4000/bower___components/jquery-ui/ui/__minified/jquery-ui.min.js

            <http://127.0.0.1:4000/bower_components/jquery-ui/ui/minified/jquery-ui.min.js>
                 404 (Not Found) require.min.js:34
                 1.
                     h.loadrequire.min.js:34
                 2.
                     i.loadrequire.min.js:29
                 3.
                     $.loadrequire.min.js:18
                 4.
                     (anonymous function)require.min.js:17
                 5.
                     (anonymous function)require.min.js:8
                 6.
                     i.execCbrequire.min.js:29
                 7.
                     $.checkrequire.min.js:18

                 8.
                     (anonymous function)require.min.js:23
                 9.
                     (anonymous function)require.min.js:8
                10.
                     (anonymous function)require.min.js:23
                11.
                     vrequire.min.js:7
                12.
                     $.emitrequire.min.js:23
                13.
                     $.checkrequire.min.js:19
                14.
                     $.enablerequire.min.js:23
                15.
                     $.initrequire.min.js:17
                16

        .

                     Erequire.min.js:14
                17.
                     i.completeLoadrequire.min.js:__28
                18.
                     i.onScriptLoadrequire.min.js:__29

              1. Uncaught Error: Script error for: jquery-ui

            http://requirejs.org/docs/__errors.html#scripterror
            <http://requirejs.org/docs/errors.html#scripterror>
            require.min.js:8
                 1.
                     Crequire.min.js:8
                 2.
                     i.onScriptError
                 3.



            it looks like it tries to find a file that does not really
            exist.

            for example when I visit
            https://github.com/components/__jqueryui/tree/master/ui/__minified

            <https://github.com/components/jqueryui/tree/master/ui/minified>

            the file jquery-ui.min.js is not there . Maybe a bug in
            dependencies ?

            I try to get it also with bower with "bower install
            jquery-ui" but I see no fix to the problem.

            1.





            On Mon, Jun 30, 2014 at 11:18 PM, Herby Vojčík
            <[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>> wrote:

                 Well, Amber itself also has dependencies, so you must
            fetch them.
                 Run 'npm install' and 'bower install' in your amber dir.

                 kilon alios wrote:

                     Bare with

        me because I am a beginner when it comes to web

                     development.

                     ok the page opens but none of the two pop up links
            work .

                     I have put the repo in ~/git/amber I hope there is
            no problem
                     with the path.

                     I opened the Javascript console and it gives me a
            lot of errors

            "

                      1. GET
            http://127.0.0.1:4000/bower_____components/require-css/css.js <http://127.0.0.1:4000/bower___components/require-css/css.js>


            <http://127.0.0.1:4000/bower___components/require-css/css.js
            <http://127.0.0.1:4000/bower_components/require-css/css.js>> 404
                         (Not Found) require.min.js:34
                         1.
                             h.loadrequire.min.js:34
                         2.
                             i.loadrequire.min.js:29
                         3.
                             $.loadrequire.min.js:18
                         4.
                             $.fetchrequire.min.js:17
                         5.
                             $.checkrequire.min.js:19
                         6.
                             $.enablerequire.min.js:23
                         7.
                             i.enablerequire.min.js:27
                         8.

           $.callPluginrequire.min.js:22

                         9.
                             $.fetchrequire.min.js:17
                        10.
                             $.checkrequire.min.js:19


                        11.
                             $.enablerequire.min.js:23
                        12.
                             i.enablerequire.min.js:27
                        13.
                             (anonymous function)require.min.js:23
                        14.
                             (anonymous function)require.min.js:8
                        15.
                             vrequire.min.js:7
                        16.
                             $.enablerequire.min.js:22
                        17.
                             $.initrequire.min.js:17
                        18.
                             Erequire.min.js:14
                        19.
                             i.completeLoadrequire.min.js:____28
                        20.
                             i.onScriptLoadrequire.min.js:____29



                      1. Uncaught Error: Script error for:
            amber_lib/require-css/css
            http://requirejs.org/docs/____errors.html#scripterror
            <http://requirejs.org/docs/__errors.html#scripterror>

            <http://requirejs.org/docs/__errors.html#scripterror
            <http://requirejs.org/docs/errors.html#scripterror>>

                 require.min.js:8

                         1.
                             Crequire.min.js:8
                         2.
                             i.onScriptErrorrequire.min.js:____29

                      1. GET
            http://127.0.0.1:4000/bower_____components/jquery/jquery.min.____js

            <http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js>
            <http://127.0.0.1:4000/bower___components/jquery/jquery.min.__js
            <http://127.0.0.1:4000/bower_components/jquery/jquery.min.js>>


                         404 (Not Found) require.min.js:34
                         1.
                             h.loadrequire.min.js:34
                         2.
                             i.loadrequire.min.js:29
                         3.
                             $.loadrequire.min.js:18
                         4.
                             $.fetchrequire.min.js:17
                         5

                 .

                             $.checkrequire.min.js:19
                         6.
                             $.enablerequire.min.js:23
                         7.
                             i.enablerequire.min.js:27
                         8.
                             (anonymous function)require.min.js:23
                         9.
                             (anonymous function)require.min.js:8
                        10.
                             vrequire.min.js:7

              11.

                             $.enablerequire.min.js:22
                        12.
                             $.initrequire.min.js:17
                        13.
                             Erequire.min.js:14
                        14.
                             i.completeLoadrequire.min.js:____28
                        15.
                             i.onScriptLoadrequire.min.js:____29



                      1. Uncaught Error: Script error for: jquery
            http://requirejs.org/docs/____errors.html#scripterror
            <http://requirejs.org/docs/__errors.html#scripterror>


            <http://requirejs.org/docs/__errors.html#scripterror
            <http://requirejs.org/docs/errors.html#scripterror>>
                     require.min.js:8
                         1.
                             Crequire.min.js:8
                         2.
                             i.onScriptErrorrequire.min.js:____29

                      1. GET

            http://127.0.0.1:4000/bower_____components/es5-shim/es5-shim.____min.js

            <http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js>

            <http://127.0.0.1:4000/bower___components/es5-shim/es5-shim.__min.js
            <http://127.0.0.1:4000/bower_components/es5-shim/es5-shim.min.js>>
                         404 (Not Found) require.min.js:34
                         1.
                             h.loadrequire.min.js:34
                         2.
                             i.loadrequire.min.js:29

          3.

                             $.loadrequire.min.js:18
                         4.
                             $.fe

                 tchrequire.min.js:17

                         5.
                             $.checkrequire.min.js:19
                         6.
                             $.enablerequire.min.js:23
                         7.
                             i.enablerequire.min.js:27
                         8.
                             (anonymous function)require.min.js:23
                         9.
                             (anonymous function)require.min.js:8
                        10.
                             vrequire.min.js:7
                        11.
                             $.enablerequire.min.js:22
                        12.
                             $.initrequire.min.js:17
                        13.
                             Erequire.min.js:14
                        14.
                             i.completeLoadrequire.min.js:____28
                        15.
                             i.onScriptLoadrequire.min.js:____29



                      1. Uncaught Error: Script error for:
                     amber_lib/es5-shim/es5-shim.____min
            http://requirejs.org/docs/____errors.html#scripterror
            <http://requirejs.org/docs/__errors.html#scripterror>
            <http://requir

        ejs.org/docs/errors.html#__scripterror
        <http://ejs.org/docs/errors.html#scripterror>>


                     require.min.js:8
                         1.
                             Crequire.min.js:8
                         2.
                             i.onScriptErrorrequire.min.js:____29

                      1. GET

            http://127.0.0.1:4000/bower_____components/es5-shim/es5-sham.____min.js

            <http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js>

            <http://127.0.0.1:4000/bower___components/es5-shim/es5-sham.__min.js
            <http://127.0.0.1:4000/bower_components/es5-shim/es5-sham.min.js>>
                         404 (Not Found) require.min.js:34
                         1.
                             h.loadrequire.min.js:34
                         2.
                             i.loadrequire.min.js:29
                         3.

                      $.loadrequire.min.js:18

                         4.
                             $.fetchrequire.min.js:17
                         5.
                             $.checkrequire.min.js:19
                         6.
                             $.enablerequire.min.js:23
                         7.
                             i.enablerequire.min.js:27
                         8.
                             (anonymous function)require.min.js:23
                         9.
                             (anonymous function)require.min.js:8
                        10.


                             vrequire.min.js:7
                        11.
                             $.enablerequire.min.js:22
                        12.
                             $.initrequire.min.js:17
                        13.
                             Erequire.min.js:14
                        14.
                             i.completeLoadrequire.min.js:____28
                        15.
                             i.onScriptLoadrequire.min.js:____29



                      1. Uncaught Error: Script error for:
                     amber_lib/es5-shim/es5-sham.____min
            http://requirejs.org/docs/____errors.html#scripterror
            <http://requirejs.org/docs/__errors.html#scripterror>


            <http://requirejs.org/docs/__errors.html#scripterror
            <http://requirejs.org/docs/errors.html#scripterror>>
                     require.min.js:8
                         1.
                             Crequire.min.js:8
                         2.
                             i.onScriptErrorrequire.min.js:____29



                      1. Uncaught object require.min.js:8
                         1.
                             Crequire.min.js:8
                         2.
                             Drequire.min.js:13
                         3.
                             (anonymous function)
                         4.

            "




                     clicking on eithe

        r of the links gives me this error. I hope I

                     am not doing anything stupid.

            "

                      1. Uncaught Error: Module name "amber/helpers" has
            not been
                     loaded
                         yet for context: _. Use require([])
            http://requirejs.org/docs/____errors.html#notloaded
            <http://requirejs.org/docs/__errors.html#notloaded>


            <http://requirejs.org/docs/__errors.html#notloaded
            <http://requirejs.org/docs/errors.html#notloaded>>
            require.min.js:8
                         1.
                             Crequire.min.js:8
                         2.
                             grequire.min.js:26
                         3.
                             requirejsrequire.min.js:31
                         4.
                             (anonymous function)"
                     2.




                     On Mon, Jun 30, 2014 at 10:57 PM, Herby Vojčík
            <[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>>> wrote:

                         It should work... experiment a bit... maybe you
            should put
                         additional slash at the end - you shou;d
            definitely be
                     able to get
                         /int

        ernal/index.html directly, since you say yourself that

                     it is
                         there.

                         kilon alios wrote:

                             Following your instructions it gives me this

            "404 Not found

                             Did you forget to put an index.html file
            into the
                     directory

                         which is served by "bin/amber serve"? To solve
            this you can:


                               * create an index.html in the served
            directory.
                               * can also specify the location of a page
            to be served
                             whenever path

                                 does not resolve to a file with the
            "--fallback-page" option.
                               * change the directory to be served with the
            "--base-path"
                             option."


                             I am running "amber serve" from my
            ~/git/amber which
                     is a fork
                             of a amber that can be found here -->
            https://github.com/kilon/______amber/tree/master/inter
            <https://github.com/kilon/____amber/tree/master/inter>

        nal

            <https://github.com/kilon/____amber/tree/master/internal
            <https://github.com/kilon/__amber/tree/master/internal>>


            <https://github.com/kilon/____amber/tree/master/internal

            <https://github.com/kilon/__amber/tree/master/internal>
            <https://github.com/kilon/__amber/tree/master/internal
            <https://github.com/kilon/amber/tree/master/internal>>>

                             This folder does not have an index.html but
            internal
                     subfolder
                             has. So I dont know what is wrong with this.


                             On Sun, Jun 29, 2014 at 9:4

                         6 PM, Herby Vojčík <[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>>

            <mailto:[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>>>> wrote:



                                 kilon ali

                 os wrote:


                                     Hi I think the information about how to
                     contribute to
                             Amber is
                                     confusing. I tried the method of
            creating my
                     own amber app

           with amber init and it works great but I dont

                     know how
                             I can
                                     contribute to Amber.

                                     I have contributed in the past to
            Amber with a
                     fork
                             and a pull
                                     request. The problem I am having is
            that I have my
                             fork cloned
                                     in my hd but when I go to its
            directory and do
                     amber
                             serve it
                                     tells me to launch 127.0.0.1:4000
            <http://127.0.0.1:4000>
            <http://127.0.0.1:4000>
            <http://127.0.0.1:4000> <http://127.0.0.1:4000>
            <http://127.0.0.1:4000> which I do but nothing happens. It
                                     displays a blank page. I also tried
            127.0.0.1:4000/helios.html
            <http://127.0.0.1:4000/helios.html>
            <http://127.0.0.1:4000/helios.__html
            <http://127.0.0.1:4000/helios.html>>
            <http://127.0.0.1:4000/helios.____html
            <http://127.0.0.1:4000/helios.__html>
            <http://127.0.0.1:4000/helios.__html
            <http://127.0.0.1:4000/helios.html>>>
            <http://127.0.0.1:4000/helios.______html
            <http://127.0.0.1:4000/helios.____html>

        <http://127.0.0.1:4000/helios.____html
        <http://127.0.0.1:4000/helios.__html>>

            <http://127.0.0.1:4000/helios.____html
            <http://127.0.0.1:4000/helios.__html>
            <http://127.0.0.1:4000/helios.__html
            <http://127.0.0.1:4000/helios.html>>>>

            <http://127.0.0.1:4000/helios.________html

            <http://127.0.0.1:4000/helios.______html>

            <http://127.0.0.1:4000/helios.______html
            <http://127.0.0.1:4000/helios.____html>>

            <http://127.0.0.1:4000/helios.______html
            <http://127.0.0.1:4000/helios.____html>
            <http://127.0.0.1:4000/helios.____html
            <http://127.0.0.1:4000/helios.__html>>>

            <http://127.0.0.1:4000/helios.______html
            <http://127.0.0.1:4000/helios.____html>
            <http://127.0.0.1:4000/helios.____html
            <http://127.0.0.1:4000/helios.__html>>
            <http://127.0.0.1:4000/helios.____html
            <http://127.0.0.1:4000/helios.__html>
            <http://127.0.0.1:4000/helios.__html
            <http://127.0.0.1:4000/helios.html>>>>> and it open a web page
                                     with text "Helios opening" but aga

                         in nothing happens.



                                     Any clue what I am doing wrong ?


                                 A few changes happened since last
            release. One of
                     them is, you
                                 should browse
            http://localhost:4000/internal to start
                             IDE(s) and
                                 change Amber code.

                                 --     You re

        ceived 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+unsubscribe@__googl______egroups.com
            <http://googl____egroups.com>
            <http://googl__egroups.com>
            <http://googlegroups.com>
            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>__>
            <mailto:[hidden email] <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>

                 ng%252Bunsubscribe@__googlegro__ups.com
            <http://googlegroups.com>
            <mailto:[hidden email]__googlegroups.com
            <mailto:[hidden email]>>>__>.

                                 For more options, visit
            https://groups.google.com/d/________optout
            <https://groups.google.com/d/______optout>             <https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>>

            <https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>
            <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
                     amber-lang+unsubscribe@__googl____egroups.com
            <http://googl__egroups.com>
            <http://googlegroups.com>
            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]__com
            <mailto:[hidden email]>>__>
            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>

            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]__com
            <mailto:[hidden email]>>__>>.



                             For more options, visit https://groups


            .google.com/d/optout <http://google.com/d/optout>
        <http://google.com/d/optout>

            <http://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
                     amber-lang+unsubscribe@__googl____egroups.com
            <http://googl__egroups.com>
            <http://googlegroups.com>
            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]__com
            <mailto:[hidden email]>>__>.


                         For more options, visit
            https://groups.google.com/d/______optout
            <https://groups.google.com/d/____optout>
            <https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>>
            <https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>
            <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 sto

        p receiving emails from

                     it, send an email to
            amber-lang+unsubscribe@__googl__egroups.com
            <http://googlegroups.com>
            <mailto:[hidden email]
            <mailto:[hidden email]>__>
            <mailto:[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>__>>.
                     For more options, visit
            https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>

            <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
            amber-lang+unsubscribe@__googl__egroups.com
            <http://googlegroups.com>
            <mailto:[hidden email]
            <mailto:[hidden email]>__>.
                 For more options, visit
            https://groups.google.com/d/____optout
            <https://groups.google.com/d/__optout>
            <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 ema

        ils from it, send

            an email to amber-lang+unsubscribe@__googlegroups.com
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>.
            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 amber-lang+unsubscribe@__googlegroups.com
        <mailto:[hidden email]>.
        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.

--
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: How to contribute to Amber

Herby Vojčík


kilon alios wrote:
> Yeap as always my lack of experience and my weakness of missing

Lack of experience is something which is a constant in this field. It
goes so fast (only biontechnology is faster, probably), that being
inexperienced with x is just the way how it works. Just use it a while,
and you're not inexprienced anymore.

That lack of detail is true... Lots of web things now use semantic
versioning (look up semver, it's also the name of package they (bower,
npm) use), it is good to look at their patterns (~1.10.1, ^1.10.1,
1.10.x, 1.x.x, >=1.10.1, <1.11.0 etc.) so that they are no black magic
anymore and you feel less lost.

> important details shows. I trust your judgement obviously you have the
> experience to back it up.
>
> Overall the installation of amber has been quite easy if I exclude this
> minor issue with jquery-ui minified.
>
> I tried also with my Ubuntu but I had issues with installing bower, so I

Strange. Whatever.

> gave up. But I am fine with Win7, afterall my main platform is MacOS.
>
>
> On Tue, Jul 1, 2014 at 12:31 PM, Herby Vojčík <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     As (nearly) always, problem is between the keyboard and the chair ;-).
>
>     You told bower to install jquery#1.10x, not jquery#1.10.x, as I
>     advised yesterday and what worked in your Mac. I bet it works nicely
>     in Win7 as well (I work in it)>


>     But since this is a practical problem, I would lean to creating two
>     distributions of amber - the main one being more on the bleeding
>     edge, having jquery & jquery-ui >=2.0.0, and one, named for example
>     amber+jquery1, which would have its jquery&jquery-ui still at
>     versions 1.x.x.

I am more interested in this part, and how would Nico and others look at
this idea. It would help things. Moving helios to bootstrap3 and ambber
to jquery2 only is also the way, but there are still people / packages
who want to use jquery1, so I would not haste this transition.

>     Herby

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to contribute to Amber

kilon.alios
What you describe is normal behavior and common practice to me. There is definitely a need to work on older releases when depending on older libraries , I am coming from python and though Python 3 has been around for almost 6 years now and still a lot of python coders use python 2. 

Another question is that Pharo has jenkins and its tests to automate testing of releases that can catch these kind of problems immediately, can amber utilize something similar ? 


On Tue, Jul 1, 2014 at 1:00 PM, Herby Vojčík <[hidden email]> wrote:


kilon alios wrote:
Yeap as always my lack of experience and my weakness of missing

Lack of experience is something which is a constant in this field. It goes so fast (only biontechnology is faster, probably), that being inexperienced with x is just the way how it works. Just use it a while, and you're not inexprienced anymore.

That lack of detail is true... Lots of web things now use semantic versioning (look up semver, it's also the name of package they (bower, npm) use), it is good to look at their patterns (~1.10.1, ^1.10.1, 1.10.x, 1.x.x, >=1.10.1, <1.11.0 etc.) so that they are no black magic anymore and you feel less lost.


important details shows. I trust your judgement obviously you have the
experience to back it up.

Overall the installation of amber has been quite easy if I exclude this
minor issue with jquery-ui minified.

I tried also with my Ubuntu but I had issues with installing bower, so I

Strange. Whatever.

gave up. But I am fine with Win7, afterall my main platform is MacOS.


On Tue, Jul 1, 2014 at 12:31 PM, Herby Vojčík <[hidden email]
<mailto:[hidden email]>> wrote:

    As (nearly) always, problem is between the keyboard and the chair ;-).

    You told bower to install jquery#1.10x, not jquery#1.10.x, as I
    advised yesterday and what worked in your Mac. I bet it works nicely
    in Win7 as well (I work in it)>


    But since this is a practical problem, I would lean to creating two
    distributions of amber - the main one being more on the bleeding
    edge, having jquery & jquery-ui >=2.0.0, and one, named for example
    amber+jquery1, which would have its jquery&jquery-ui still at
    versions 1.x.x.

I am more interested in this part, and how would Nico and others look at this idea. It would help things. Moving helios to bootstrap3 and ambber to jquery2 only is also the way, but there are still people / packages who want to use jquery1, so I would not haste this transition.

    Herby

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
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.