Problem following getting started guide

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

Problem following getting started guide

Christ Taylor
Hello Group,
I was following the "getting started guide" and after I ran "amber serve", I opened the webbrowser and got greeted with:

"This is a sample app. It contains some batteries included and should be cleaned up once you start developing your own app / lib."

Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from jQuery append

Did I miss a step? I was expecting to be able to open the IDE by that point.
Thanks.

--
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: Problem following getting started guide

Herby Vojčík
Christ Taylor wrote:

> Hello Group,
> I was following the "getting started guide" and after I ran "amber
> serve", I opened the webbrowser and got greeted with:
>
> "This is a sample app. It contains some batteries included
> <http://127.0.0.1:4000/parts.html> and should be cleaned up
> <http://127.0.0.1:4000/uninstall.html> once you start developing your
> own app / lib."
>
> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from
> jQuery append
>
> Did I miss a step? I was expecting to be able to open the IDE by that
> point.
> Thanks.

Still an issue? Tried to reload / generate again / try different browser if your actual one has problems?

A lightbox allowing you to open IDE(s) should appear automatically.

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: Problem following getting started guide

Christ Taylor
I gave up trying....
Was excited about amber and smalltalk but it seems the project is not actively maintained anymore
Am I correct?

On Saturday, April 1, 2017 at 2:38:10 PM UTC+2, Herby wrote:
Christ Taylor wrote:

> Hello Group,
> I was following the "getting started guide" and after I ran "amber
> serve", I opened the webbrowser and got greeted with:
>
> "This is a sample app. It contains some batteries included
> <<a href="http://127.0.0.1:4000/parts.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;">http://127.0.0.1:4000/parts.html> and should be cleaned up
> <<a href="http://127.0.0.1:4000/uninstall.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;">http://127.0.0.1:4000/uninstall.html> once you start developing your
> own app / lib."
>
> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from
> jQuery append
>
> Did I miss a step? I was expecting to be able to open the IDE by that
> point.
> Thanks.

Still an issue? Tried to reload / generate again / try different browser if your actual one has problems?

A lightbox allowing you to open IDE(s) should appear automatically.

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: Problem following getting started guide

Herby Vojčík


On April 14, 2017 10:28:43 AM GMT+02:00, Christ Taylor <[hidden email]> wrote:
>I gave up trying....
>Was excited about amber and smalltalk but it seems the project is not
>actively maintained anymore
>Am I correct?

No.

>
>On Saturday, April 1, 2017 at 2:38:10 PM UTC+2, Herby wrote:
>>
>> Christ Taylor wrote:
>> > Hello Group,
>> > I was following the "getting started guide" and after I ran "amber
>> > serve", I opened the webbrowser and got greeted with:
>> >
>> > "This is a sample app. It contains some batteries included
>> > <http://127.0.0.1:4000/parts.html> and should be cleaned up
>> > <http://127.0.0.1:4000/uninstall.html> once you start developing
>your
>> > own app / lib."
>> >
>> > Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello
>from
>> > jQuery append
>> >
>> > Did I miss a step? I was expecting to be able to open the IDE by
>that
>> > point.
>> > Thanks.
>>
>> Still an issue? Tried to reload / generate again / try different
>browser
>> if your actual one has problems?
>>
>> A lightbox allowing you to open IDE(s) should appear automatically.
>>
>> 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: Problem following getting started guide

Christ Taylor
Gave it another try after I uninstalled everything.....
This is what I get when I try to install amber-cli

| `-- grunt-init-amber@0.18.6
+-- UNMET PEER DEPENDENCY grunt-cli@^1.2.0
`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1


with that, I cannot start a new project with amber.

Any Idea?
node -v 6.10.2
npm -v 3.10.10
On Friday, April 14, 2017 at 10:31:47 AM UTC+2, Herby wrote:


On April 14, 2017 10:28:43 AM GMT+02:00, Christ Taylor <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="4Z1kNyFhEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mysare...@...> wrote:
>I gave up trying....
>Was excited about amber and smalltalk but it seems the project is not
>actively maintained anymore
>Am I correct?

No.

>
>On Saturday, April 1, 2017 at 2:38:10 PM UTC+2, Herby wrote:
>>
>> Christ Taylor wrote:
>> > Hello Group,
>> > I was following the "getting started guide" and after I ran "amber
>> > serve", I opened the webbrowser and got greeted with:
>> >
>> > "This is a sample app. It contains some batteries included
>> > <<a href="http://127.0.0.1:4000/parts.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;">http://127.0.0.1:4000/parts.html> and should be cleaned up
>> > <<a href="http://127.0.0.1:4000/uninstall.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;">http://127.0.0.1:4000/uninstall.html> once you start developing
>your
>> > own app / lib."
>> >
>> > Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello
>from
>> > jQuery append
>> >
>> > Did I miss a step? I was expecting to be able to open the IDE by
>that
>> > point.
>> > Thanks.
>>
>> Still an issue? Tried to reload / generate again / try different
>browser
>> if your actual one has problems?
>>
>> A lightbox allowing you to open IDE(s) should appear automatically.
>>
>> 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: Problem following getting started guide

Christ Taylor
In reply to this post by Christ Taylor
Just saw your other post in the list and retried with
npm install -g amber-cli grunt-cli

but

`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1



On Friday, March 31, 2017 at 2:23:32 AM UTC+2, Christ Taylor wrote:
Hello Group,
I was following the "getting started guide" and after I ran "amber serve", I opened the webbrowser and got greeted with:

"This is a sample app. It contains some <a href="http://127.0.0.1:4000/parts.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;">batteries included and should be <a href="http://127.0.0.1:4000/uninstall.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;">cleaned up once you start developing your own app / lib."

Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from jQuery append

Did I miss a step? I was expecting to be able to open the IDE by that point.
Thanks.

--
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: Problem following getting started guide

Herby Vojčík
In reply to this post by Christ Taylor
You should not follow startup guide (docs are in bad shape, there are little resources to keep them current).

Correct up to date instructions are always in git README (lolg.it/amber/amber).

Maybe that was the problem from the start.

Git README says clearly to install other side-deps along amber-cli.

Herby

On April 14, 2017 6:32:37 PM GMT+02:00, Christ Taylor <[hidden email]> wrote:

>Gave it another try after I uninstalled everything.....
>This is what I get when I try to install amber-cli
>
>
>
>*| `-- grunt-init-amber@0.18.6+-- UNMET PEER DEPENDENCY
>grunt-cli@^1.2.0`--
>UNMET PEER DEPENDENCY grunt-init@^0.3.1*
>
>with that, I cannot start a new project with amber.
>
>Any Idea?
>node -v 6.10.2
>npm -v 3.10.10
>On Friday, April 14, 2017 at 10:31:47 AM UTC+2, Herby wrote:
>>
>>
>>
>> On April 14, 2017 10:28:43 AM GMT+02:00, Christ Taylor <
>> [hidden email] <javascript:>> wrote:
>> >I gave up trying....
>> >Was excited about amber and smalltalk but it seems the project is
>not
>> >actively maintained anymore
>> >Am I correct?
>>
>> No.
>>
>> >
>> >On Saturday, April 1, 2017 at 2:38:10 PM UTC+2, Herby wrote:
>> >>
>> >> Christ Taylor wrote:
>> >> > Hello Group,
>> >> > I was following the "getting started guide" and after I ran
>"amber
>> >> > serve", I opened the webbrowser and got greeted with:
>> >> >
>> >> > "This is a sample app. It contains some batteries included
>> >> > <http://127.0.0.1:4000/parts.html> and should be cleaned up
>> >> > <http://127.0.0.1:4000/uninstall.html> once you start developing
>
>> >your
>> >> > own app / lib."
>> >> >
>> >> > Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello
>> >from
>> >> > jQuery append
>> >> >
>> >> > Did I miss a step? I was expecting to be able to open the IDE by
>
>> >that
>> >> > point.
>> >> > Thanks.
>> >>
>> >> Still an issue? Tried to reload / generate again / try different
>> >browser
>> >> if your actual one has problems?
>> >>
>> >> A lightbox allowing you to open IDE(s) should appear
>automatically.
>> >>
>> >> 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: Problem following getting started guide

Herby Vojčík
In reply to this post by Christ Taylor


On April 14, 2017 6:37:20 PM GMT+02:00, Christ Taylor <[hidden email]> wrote:
>Just saw your other post in the list and retried with
>npm install -g amber-cli grunt-cli

This is just to update existing installation.

Full install see README.

>
>but
>
>*`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1*
>
>
>On Friday, March 31, 2017 at 2:23:32 AM UTC+2, Christ Taylor wrote:
>>
>> Hello Group,
>> I was following the "getting started guide" and after I ran "amber
>serve",
>> I opened the webbrowser and got greeted with:
>>
>> "This is a sample app. It contains some batteries included
>> <http://127.0.0.1:4000/parts.html> and should be cleaned up
>> <http://127.0.0.1:4000/uninstall.html> once you start developing your
>own
>> app / lib."
>>
>> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from
>> jQuery append
>>
>> Did I miss a step? I was expecting to be able to open the IDE by that
>
>> point.
>> Thanks.
>>

--
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: Problem following getting started guide

Christ Taylor
Was able to install and then
amber serve

Still no IDE.

open javascript console and saw this error:

ReferenceError: require is not defined  127.0.0.1:4000:24:7
    <anonymous>


Basically, it is not seeing    

require(['app'], function (amber)


On Friday, April 14, 2017 at 6:41:25 PM UTC+2, Herby wrote:


On April 14, 2017 6:37:20 PM GMT+02:00, Christ Taylor <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="kxXUUNl7EAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mysare...@...> wrote:
>Just saw your other post in the list and retried with
>npm install -g amber-cli grunt-cli

This is just to update existing installation.

Full install see README.

>
>but
>
>*`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1*
>
>
>On Friday, March 31, 2017 at 2:23:32 AM UTC+2, Christ Taylor wrote:
>>
>> Hello Group,
>> I was following the "getting started guide" and after I ran "amber
>serve",
>> I opened the webbrowser and got greeted with:
>>
>> "This is a sample app. It contains some batteries included
>> <<a href="http://127.0.0.1:4000/parts.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Fparts.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzhb9m7UihLinQjdYcX1xZkS8zLw&#39;;return true;">http://127.0.0.1:4000/parts.html> and should be cleaned up
>> <<a href="http://127.0.0.1:4000/uninstall.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A4000%2Funinstall.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEIwE8HFZTq1dFIy_LilbEMa0sgPA&#39;;return true;">http://127.0.0.1:4000/uninstall.html> once you start developing your
>own
>> app / lib."
>>
>> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello from
>> jQuery append
>>
>> Did I miss a step? I was expecting to be able to open the IDE by that
>
>> point.
>> Thanks.
>>

--
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: Problem following getting started guide

Herby Vojčík
Well you seem to have bad luck, as it works fine for me (tried today with both bower and npm caches purged) as well as others it seems (no one reports this error).

Did you run amber init in empty directory? Wasn't there any error during it running (maybe if the last step failed require is not mapped)?

You may try to run

  npm install
  bower install
  grunt devel

in a project directory to try to replicate what amber init should have done.

Herby

On April 14, 2017 7:03:07 PM GMT+02:00, Christ Taylor <[hidden email]> wrote:

>Was able to install and then
>amber serve
>
>Still no IDE.
>
>open javascript console and saw this error:
>
>
>*ReferenceError: require is not defined  127.0.0.1:4000:24:7  
><anonymous>*
>
>Basically, it is not seeing    
>
>*require*(['app'], function (amber)
>
>
>On Friday, April 14, 2017 at 6:41:25 PM UTC+2, Herby wrote:
>>
>>
>>
>> On April 14, 2017 6:37:20 PM GMT+02:00, Christ Taylor
><[hidden email]
>> <javascript:>> wrote:
>> >Just saw your other post in the list and retried with
>> >npm install -g amber-cli grunt-cli
>>
>> This is just to update existing installation.
>>
>> Full install see README.
>>
>> >
>> >but
>> >
>> >*`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1*
>> >
>> >
>> >On Friday, March 31, 2017 at 2:23:32 AM UTC+2, Christ Taylor wrote:
>> >>
>> >> Hello Group,
>> >> I was following the "getting started guide" and after I ran "amber
>
>> >serve",
>> >> I opened the webbrowser and got greeted with:
>> >>
>> >> "This is a sample app. It contains some batteries included
>> >> <http://127.0.0.1:4000/parts.html> and should be cleaned up
>> >> <http://127.0.0.1:4000/uninstall.html> once you start developing
>your
>> >own
>> >> app / lib."
>> >>
>> >> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello
>from
>> >> jQuery append
>> >>
>> >> Did I miss a step? I was expecting to be able to open the IDE by
>that
>> >
>> >> point.
>> >> Thanks.
>> >>
>>

--
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: Problem following getting started guide

Herby Vojčík
Christ Taylor wrote:

> Gave it another try after becoming frustrated with other
> compile-to-javascript tools out there and did what you suggested.
> But:
>
> bond@LAPTOP-Q3VMUUC0:~/smalltalk$ grunt devel
> Running "amdconfig:app" (amdconfig) task
>
> Running "requirejs:devel" (requirejs) task
> Error: ENOENT: no such file or directory, open
> '/home/bond/smalltalk/amber/deploy.js'

That make me really puzzled.
How can deploy.js not be present when amdconfig succeeded?

You have really strange thing there.

`amber init` does grunt-init to initialize the project, then npm install, bower install, grunt and grunt devel.

Of course, grunt-init fails if it is not in empty directory. Or it may have failed for different reasons, leaving the skeletion in half-finished state. Then, even bower install, npm install, grunt and grunt devel do not help.

OTOH, if skeleton is generated well, those should help.

This outcome of yours is really strange, though.

You should just repeat all t
he thing from the beginning (npm -g install ...., make _empty_ dir, go there, amber init and log the console all the way so I can understand what is wrong here.

It must have failed somewhere in the process of generating the project, I'd say.


> In module tree:
>     app
>       devel
>         testing
>           deploy
>
> { Error: Error: ENOENT: no such file or directory, open
> '/home/bond/smalltalk/amber/deploy.js'
> In module tree:
>     app
>       devel
>         testing
>           deploy
>
>     at Error (native)
>
>     at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:30099:19
>     at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3081:39
>     at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3021:25
>     at Function.prim.nextTick
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:
29929:9)

>     at Object.errback
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3020:26)
>     at Object.callback
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3006:23)
>     at Object.then
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3060:23)
>     at build
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:30056:12)
>     at runBuild
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:32006:17)
>     at Object.execCb
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:1941:33)
>   originalError:
>    { Error: ENOENT: no such file or directory, open
> '/home/bond/smalltalk/amber/deploy.js'
>        at Error (native)
>        at Object.fs.openSync (fs.js:641:18)
>        at Object.fs.readFileSync (fs.js:509:3
3)

>        at Object.readFile
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3760:27)
>        at Object.readFileAsync
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3774:32)
>        at Function.require._cacheReadAsync
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:29948:25)
>        at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:29506:48
>        at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3063:37
>        at
> /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:3011:25
>        at Function.prim.nextTick
> (/home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:29929:9)
>      errno: -2,
>      code: 'ENOENT',
>      syscall: 'open',
>      path: '/home/bond/sma
lltalk/amber/deploy.js',
>      fileName: '/home/bond/smalltalk/amber/deploy.js',
>      moduleTree: [ 'deploy', 'testing', 'devel', 'app' ] } }

Ah. Something wrong's here.

Compare
  /home/bond/smalltalk/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:29929:9
and
  /home/bond/smalltalk/amber/deploy.js

The prefixes should be the same, but they are not. It seems npm install was run in smalltalk directory, but project seems to be in amber directory.

That looks like pretty failed setup.

What are directiories /home/bond/smalltalk/ and /home/bond/smalltalk/amber/ for?

Only one should be root of your project. Involvement of the other one is incorrect, either way.

It seems the clearest way would be indeed to reinstall global part though npm -g install, and running amber init in a clean directory that is aimed to contain the project.

>
>
> On Friday, April 14, 2017 at 7:12:06 PM UTC+2, Herby wrote:
>
>     Well you seem to have bad luck, as it works fine f
or me (tried

>     today with both bower and npm caches purged) as well as others it
>     seems (no one reports this error).
>
>     Did you run amber init in empty directory? Wasn't there any error
>     during it running (maybe if the last step failed require is not
>     mapped)?
>
>     You may try to run
>
>       npm install
>       bower install
>       grunt devel
>
>     in a project directory to try to replicate what amber init should
>     have done.
>
>     Herby
>
>     On April 14, 2017 7:03:07 PM GMT+02:00, Christ Taylor
>     <[hidden email] <javascript:>> wrote:
>     >Was able to install and then
>     >amber serve
>     >
>     >Still no IDE.
>     >
>     >open javascript console and saw this error:
>     >
>     >
>     >*ReferenceError: require is not defined  127.0.0.1:4000:24:7
>     ><anonymous>*
>     >
>     >Basically, it is not seeing
>     >
>     >*require*(['app'], function (amber)
>     >
>     >
>     >On Friday, April 14, 2017 at 6:41:
25 PM UTC+2, Herby wrote:

>     >>
>     >>
>     >>
>     >> On April 14, 2017 6:37:20 PM GMT+02:00, Christ Taylor
>     ><[hidden email]
>     >> <javascript:>> wrote:
>     >> >Just saw your other post in the list and retried with
>     >> >npm install -g amber-cli grunt-cli
>     >>
>     >> This is just to update existing installation.
>     >>
>     >> Full install see README.
>     >>
>     >> >
>     >> >but
>     >> >
>     >> >*`-- UNMET PEER DEPENDENCY grunt-init@^0.3.1*
>     >> >
>     >> >
>     >> >On Friday, March 31, 2017 at 2:23:32 AM UTC+2, Christ Taylor
>     wrote:
>     >> >>
>     >> >> Hello Group,
>     >> >> I was following the "getting started guide" and after I ran
>     "amber
>     >
>     >> >serve",
>     >> >> I opened the webbrowser and got greeted with:
>     >> >>
>     >> >> "This is a sample app. It contains some batteries included
>     >> >> <http://127.0.0.1:4000/parts.html
>     <http://127.0.0.1:4000/parts.html>> and should be c
leaned up

>     >> >> <http://127.0.0.1:4000/uninstall.html
>     <http://127.0.0.1:4000/uninstall.html>> once you start developing
>     >your
>     >> >own
>     >> >> app / lib."
>     >> >>
>     >> >> Hello from TagBrush >> with:   Hello from Silk >> TAG:    Hello
>     >from
>     >> >> jQuery append
>     >> >>
>     >> >> Did I miss a step? I was expecting to be able to open the
>     IDE by
>     >that
>     >> >
>     >> >> point.
>     >> >> Thanks.
>     >> >>
>     >>
>
> --
> 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: Problem following getting started guide

Dave Mason-3
In reply to this post by Herby Vojčík
On Fri, Apr 28, 2017 at 4:37 PM, Christ Taylor <[hidden email]> wrote:
Gave it another try after becoming frustrated with other compile-to-javascript tools out there and did what you suggested.
But:

You *might* find PharoJS a better fit for you, but our documentation is in even worse shape.  We also (like amber-lang) have a Slack channel which we monitor pretty well, and are usually quick to respond to questions - email me if you want to connect.

../Dave

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