server file missing in git repository.

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

server file missing in git repository.

Eno
Hi,

I used to run the server with ``` ./bin/server --host 0.0.0.0 ```.

I downloaded the 0.12 repository from github and replaced it with my 0.11 amber but the server file disappeared.

How could I run it again? ( just via node command manually.... ) or someone will give me one in replace.

Best regards.

BTW, there are issues in recompiling all of my st files ( located 2 dirs down the amber main dir). via sh ../../../bin/amberc -l SUnit,Canvas -n TkNeuro -D ../js *.st

the error logs: Cannot find module 'amdefine'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.start (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:74:24)
    at Object.callback (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:409:11)
    at Object.Combo.check (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:116:18)
    at /Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:109:9
    at fs.js:266:14
    at Object.oncomplete (fs.js:107:15)

where is the module amdefine?

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

Re: server file missing in git repository.

Herby Vojčík
"server" was deprecated long ago, now it's gone.

User "bin/amber serve" wherever you used "bin/server" before.

EnoX1 wrote:

> Hi,
>
> I used to run the server with ``` ./bin/server --host 0.0.0.0 ```.
>
> I downloaded the 0.12 repository from github and replaced it with my
> 0.11 amber but the server file disappeared.
>
> How could I run it again? ( just via node command manually.... ) or
> someone will give me one in replace.
>
> Best regards.
>
> BTW, there are issues in recompiling all of my st files ( located 2
> dirs down the amber main dir). via sh ../../../bin/amberc -l
> SUnit,Canvas -n TkNeuro -D ../js *.st
>
> the error logs: Cannot find module 'amdefine'
> at Function.Module._resolveFilename (module.js:338:15)
> at Function.Module._load (module.js:280:25)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at Object.start
> (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:74:24)
> at Object.callback
> (/Applications
/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:409:11)

> at Object.Combo.check
> (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:116:18)
> at
> /Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:109:9
> at fs.js:266:14
> at Object.oncomplete (fs.js:107:15)
>
> where is the module amdefine?
>
> 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/groups/opt_out.

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

Re: server file missing in git repository.

Eno
In reply to this post by Eno
ok, ther server run with './bin/amber serve --host 0.0.0.0

EnoX1於 2013年11月12日星期二UTC+8下午8時37分08秒寫道:
Hi,

I used to run the server with ``` ./bin/server --host 0.0.0.0 ``` command as before and showed up the index.html in web browser.

However, all of my web pages/st could not be shown up, ( need to include requirejs.... and recomplie)

Trying hard in figuring out how to recompile all of them, what the namespace about, is it really needed and what the effect on my original st codes, and error logs issue....

Best regards.
 

I downloaded the 0.12 repository from github and replaced it with my 0.11 amber but the server file disappeared.

How could I run it again? ( just via node command manually.... ) or someone will give me one in replace.

Best regards.

BTW, there are issues in recompiling all of my st files ( located 2 dirs down the amber main dir). via sh ../../../bin/amberc -l SUnit,Canvas -n TkNeuro -D ../js *.st

the error logs: Cannot find module 'amdefine'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.start (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:74:24)
    at Object.callback (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:409:11)
    at Object.Combo.check (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:116:18)
    at /Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:109:9
    at fs.js:266:14
    at Object.oncomplete (fs.js:107:15)

where is the module amdefine?

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

Re: server file missing in git repository.

Herby Vojčík


EnoX1 wrote:

> ok, ther server run with './bin/amber serve --host 0.0.0.0
>
> EnoX1於 2013年11月12日星期二UTC+8下午8時37分08秒寫道:
>
>     Hi,
>
>     I used to run the server with ``` ./bin/server --host 0.0.0.0 ```
>     command as before and showed up the index.html in web browser.
>
>
> However, all of my web pages/st could not be shown up, ( need to include
> requirejs.... and recomplie)
>
> Trying hard in figuring out how to recompile all of them, what the
> namespace about, is it really needed and what the effect on my original

It just gets harder for you if you go this way; yes, it's needed. :-)

> st codes, and error logs issue....

To use the tools (amberc, for example; plus grunt tasks), you need to
run 'npm install' in amber dir. If you just use amber as-is, it is not
needed. But to complete the migration, you need them.

> Best regards.
>
>
>     I downloaded the 0.12 repository from github and replaced it with my
>     0.11 amber but the server file disappeared.
>
>     How could I run it again? ( just via node command manually.... ) or
>     someone will give me one in replace.
>
>     Best regards.
>
>     BTW, there are issues in recompiling all of my st files ( located 2
>     dirs down the amber main dir). via sh ../../../bin/amberc -l
>     SUnit,Canvas -n TkNeuro -D ../js *.st
>
>     the error logs: Cannot find module 'amdefine'
>     at Function.Module._resolveFilename (module.js:338:15)
>     at Function.Module._load (module.js:280:25)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at Object.start
>     (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:74:24)
>     at Object.callback
>     (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:409:11)
>     at Object.Combo.check
>     (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:116:18)
>     at
>     /Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:109:9
>     at fs.js:266:14
>     at Object.oncomplete (fs.js:107:15)
>
>     where is the module amdefine?
>
>     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/groups/opt_out.

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

Re: server file missing in git repository.

Nicolas Petton
In reply to this post by Eno
Don't hesitate to tell post here if you have any issue with
recompiling. The smalltalk syntax didn't change so it should be backward
compatible.

There are also a few API changes that you can check here:
https://github.com/amber-smalltalk/amber/blob/master/API-CHANGES.txt

Cheers,
Nico

EnoX1 writes:

> ok, ther server run with './bin/amber serve --host 0.0.0.0
>
> EnoX1於 2013年11月12日星期二UTC+8下午8時37分08秒寫道:
>>
>> Hi,
>>
>> I used to run the server with ``` ./bin/server --host 0.0.0.0 ``` command
>> as before and showed up the index.html in web browser.
>>
>
> However, all of my web pages/st could not be shown up, ( need to include
> requirejs.... and recomplie)
>
> Trying hard in figuring out how to recompile all of them, what the
> namespace about, is it really needed and what the effect on my original st
> codes, and error logs issue....
>
> Best regards.
>  
>
>>
>> I downloaded the 0.12 repository from github and replaced it with my 0.11
>> amber but the server file disappeared.
>>
>> How could I run it again? ( just via node command manually.... ) or
>> someone will give me one in replace.
>>
>> Best regards.
>>
>> BTW, there are issues in recompiling all of my st files ( located 2 dirs
>> down the amber main dir). via sh ../../../bin/amberc -l SUnit,Canvas -n
>> TkNeuro -D ../js *.st
>>
>> the error logs: Cannot find module 'amdefine'
>>     at Function.Module._resolveFilename (module.js:338:15)
>>     at Function.Module._load (module.js:280:25)
>>     at Module.require (module.js:364:17)
>>     at require (module.js:380:17)
>>     at Object.start
>> (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:74:24)
>>     at Object.callback
>> (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:409:11)
>>     at Object.Combo.check
>> (/Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:116:18)
>>     at
>> /Applications/Dropbox/web/AmberSmalltalk/amber/cli/support/amberc.js:109:9
>>     at fs.js:266:14
>>     at Object.oncomplete (fs.js:107:15)
>>
>> where is the module amdefine?
>>
>> Thanks.
>>


--
Nicolas Petton
http://nicolas-petton.fr

--
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/groups/opt_out.