amber init, working

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

amber init, working

Herby Vojčík
Hello!

There is 'amber init' command, which seems to be working.
I would be glad if you tried it out.

First, uninstall the global amber cli you have installed now:

     (sudo) npm -g uninstall amber

Then, install the one from the branch where this command is defined:

     (sudo) npm -g install
git://github.com/amber-smalltalk/amber.git#amber-create

(after the branch gets merged to master, it will probably not exist
anymore, so try #master instead)

Then, just create any empty directory where you want the project to
reside, cd to it and run:

     amber init

Thanks, Herby

p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm
uninstall -g amber and reinstall the stable one with (sudo) npm install
-g amber.

--
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: amber init, working

sebastianconcept
can’t wait to put my teeth into it

Will do soon

Let you know how it goes

Thanks for your push!!!

On Apr 13, 2014, at 1:23 PM, Herby Vojčík <[hidden email]> wrote:

> Hello!
>
> There is 'amber init' command, which seems to be working.
> I would be glad if you tried it out.
>
> First, uninstall the global amber cli you have installed now:
>
>    (sudo) npm -g uninstall amber
>
> Then, install the one from the branch where this command is defined:
>
>    (sudo) npm -g install git://github.com/amber-smalltalk/amber.git#amber-create
>
> (after the branch gets merged to master, it will probably not exist anymore, so try #master instead)
>
> Then, just create any empty directory where you want the project to reside, cd to it and run:
>
>    amber init
>
> Thanks, Herby
>
> p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm uninstall -g amber and reinstall the stable one with (sudo) npm install -g amber.
>
> --
> 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: amber init, working

Hannes Hirzel
Just do it. It is simple.   :-)   Currently installing....

On 4/13/14, sebastian <[hidden email]> wrote:

> can’t wait to put my teeth into it
>
> Will do soon
>
> Let you know how it goes
>
> Thanks for your push!!!
>
> On Apr 13, 2014, at 1:23 PM, Herby Vojčík <[hidden email]> wrote:
>
>> Hello!
>>
>> There is 'amber init' command, which seems to be working.
>> I would be glad if you tried it out.
>>
>> First, uninstall the global amber cli you have installed now:
>>
>>    (sudo) npm -g uninstall amber
>>
>> Then, install the one from the branch where this command is defined:
>>
>>    (sudo) npm -g install
>> git://github.com/amber-smalltalk/amber.git#amber-create
>>
>> (after the branch gets merged to master, it will probably not exist
>> anymore, so try #master instead)
>>
>> Then, just create any empty directory where you want the project to
>> reside, cd to it and run:
>>
>>    amber init
>>
>> Thanks, Herby
>>
>> p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm
>> uninstall -g amber and reinstall the stable one with (sudo) npm install -g
>> amber.
>>
>> --
>> 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.
>

--
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: amber init, working

Hannes Hirzel
Herby

This looks very promising but further tests are needed.

The command amber init creates a project.

But the project as such has a problem.
Maybe it is due to the fact that I did  not do this on a clean installation.
I had done work with grunt-init amber before. That amber template in
the grunt-init directory was not working.

I did

hhzl@hhzl-Latitude ~ $sudo npm -g uninstall amber

hhzl@hhzl-Latitude ~ $ sudo  npm -g install
git://github.com/amber-smalltalk/amber.git#amber-create

hhzl@hhzl-Latitude ~ $mkdir hhzlAmberProject
hhzl@hhzl-Latitude ~ $cd hhzlAmberProject
hhzl@hhzl-Latitude ~/hhzlAmberProject $ amber init

Then I pointed the browser to http://localhost:4000/

The button to bring up the class browser did not work. The load log in
the web browser is included below.

May I ask that somebody else does the same test.

--Hannes

---------------------------------------------

The full log



hhzl@hhzl-Latitude ~ $sudo npm -g uninstall amber

hhzl@hhzl-Latitude ~ $ sudo  npm -g install
git://github.com/amber-smalltalk/amber.git#amber-create


npm http GET https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/es6-promise
npm http GET https://registry.npmjs.org/amdefine/0.0.8
npm http GET https://registry.npmjs.org/grunt-init
npm http 304 https://registry.npmjs.org/amdefine/0.0.8
npm http 200 https://registry.npmjs.org/grunt-init
npm http 304 https://registry.npmjs.org/es6-promise
npm http 200 https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/bower/-/bower-1.3.2.tgz
npm http 200 https://registry.npmjs.org/bower/-/bower-1.3.2.tgz
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/archy/0.0.2
npm http GET https://registry.npmjs.org/bower-json
npm http GET https://registry.npmjs.org/bower-logger
npm http GET https://registry.npmjs.org/lockfile
npm http GET https://registry.npmjs.org/bower-config
npm http GET https://registry.npmjs.org/bower-endpoint-parser
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/bower-registry-client
npm http GET https://registry.npmjs.org/chmodr
npm http GET https://registry.npmjs.org/cardinal
npm http GET https://registry.npmjs.org/decompress-zip
npm http GET https://registry.npmjs.org/fstream-ignore
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/handlebars
npm http GET https://registry.npmjs.org/inquirer
npm http GET https://registry.npmjs.org/junk
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mout
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/open
npm http GET https://registry.npmjs.org/promptly
npm http GET https://registry.npmjs.org/osenv
npm http GET https://registry.npmjs.org/request-progress
npm http GET https://registry.npmjs.org/retry
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/stringify-object
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/tmp
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/insight
npm http GET https://registry.npmjs.org/update-notifier
npm http GET https://registry.npmjs.org/p-throttler
npm http GET https://registry.npmjs.org/is-root
npm http GET https://registry.npmjs.org/shell-quote
npm http GET https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/lodash
npm http 200 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/grunt
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/hooker
npm http 200 https://registry.npmjs.org/prompt
npm http 200 https://registry.npmjs.org/archy/0.0.2
npm http 200 https://registry.npmjs.org/bower-json
npm http 200 https://registry.npmjs.org/bower-logger
npm http GET https://registry.npmjs.org/archy/-/archy-0.0.2.tgz
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/bower-endpoint-parser
npm http 200 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/bower-config
npm http 200 https://registry.npmjs.org/lockfile
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/lockfile/-/lockfile-0.4.2.tgz
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/eventemitter2
npm http 200 https://registry.npmjs.org/bower-registry-client
npm http 200 https://registry.npmjs.org/chmodr
npm http 200 https://registry.npmjs.org/fstream-ignore
npm http 200 https://registry.npmjs.org/decompress-zip
npm http GET https://registry.npmjs.org/decompress-zip/-/decompress-zip-0.0.6.tgz
npm http 200 https://registry.npmjs.org/cardinal
npm http 200 https://registry.npmjs.org/junk
npm http 200 https://registry.npmjs.org/handlebars
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/fstream
npm http 200 https://registry.npmjs.org/archy/-/archy-0.0.2.tgz
npm http 200 https://registry.npmjs.org/inquirer
npm http 200 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/mout
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz
npm http GET https://registry.npmjs.org/mout/-/mout-0.9.1.tgz
npm http 200 https://registry.npmjs.org/open
npm http GET https://registry.npmjs.org/open/-/open-0.0.5.tgz
npm http 200 https://registry.npmjs.org/promptly
npm http 200 https://registry.npmjs.org/retry
npm http 200 https://registry.npmjs.org/request-progress
npm http 200 https://registry.npmjs.org/osenv
npm http 200 https://registry.npmjs.org/lockfile/-/lockfile-0.4.2.tgz
npm http 200 https://registry.npmjs.org/decompress-zip/-/decompress-zip-0.0.6.tgz
npm http 200 https://registry.npmjs.org/stringify-object
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/tmp
npm http 200 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/which
npm http 200 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/insight
npm http 200 https://registry.npmjs.org/update-notifier
npm http 200 https://registry.npmjs.org/p-throttler
npm http GET https://registry.npmjs.org/update-notifier/-/update-notifier-0.1.8.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz
npm http 200 https://registry.npmjs.org/mout/-/mout-0.9.1.tgz
npm http 200 https://registry.npmjs.org/request
npm http 200 https://registry.npmjs.org/open/-/open-0.0.5.tgz
npm http 200 https://registry.npmjs.org/is-root
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/nopt
npm http 200 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/iconv-lite
npm http 304 https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/shell-quote
npm http 304 https://registry.npmjs.org/findup-sync
npm http 304 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/exit
npm http 304 https://registry.npmjs.org/getobject
npm http 304 https://registry.npmjs.org/grunt-legacy-util
npm http 200 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/js-yaml
npm http 200 https://registry.npmjs.org/update-notifier/-/update-notifier-0.1.8.tgz
npm http 304 https://registry.npmjs.org/eventemitter2
npm http 200 https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/loggly
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansi-styles
npm http 200 https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/lodash.debounce
npm http GET https://registry.npmjs.org/configstore
npm http GET https://registry.npmjs.org/configstore
npm http GET https://registry.npmjs.org/object-assign
npm http GET https://registry.npmjs.org/throttleit
npm http GET https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/array-reduce
npm http 200 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/array-map
npm http GET https://registry.npmjs.org/array-filter
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/deep-extend
npm http GET https://registry.npmjs.org/intersect
npm http GET https://registry.npmjs.org/mkpath
npm http GET https://registry.npmjs.org/binary
npm http GET https://registry.npmjs.org/touch/0.0.2
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/through
npm http GET https://registry.npmjs.org/readline2
npm http GET https://registry.npmjs.org/cli-color
npm http 200 https://registry.npmjs.org/loggly
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/mute-stream/0.0.4
npm http 304 https://registry.npmjs.org/argparse
npm http 200 https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/bower-config
npm http GET https://registry.npmjs.org/request-replay
npm http GET https://registry.npmjs.org/redeyed
npm http 200 https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansicolors
npm http GET https://registry.npmjs.org/has-color/-/has-color-0.1.6.tgz
npm http GET https://registry.npmjs.org/block-stream
npm http 200 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/configstore
npm http 200 https://registry.npmjs.org/lodash.debounce
npm http 200 https://registry.npmjs.org/configstore
npm http GET https://registry.npmjs.org/configstore/-/configstore-0.2.3.tgz
npm http 200 https://registry.npmjs.org/object-assign
npm http 200 https://registry.npmjs.org/throttleit
npm http 304 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/array-reduce
npm http 200 https://registry.npmjs.org/jsonify
npm http 200 https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/mute-stream
npm http 200 https://registry.npmjs.org/array-filter
npm http 200 https://registry.npmjs.org/array-map
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/deep-extend
npm http 200 https://registry.npmjs.org/intersect
npm http 200 https://registry.npmjs.org/has-color/-/has-color-0.1.6.tgz
npm http 304 https://registry.npmjs.org/touch/0.0.2
npm http 200 https://registry.npmjs.org/mkpath
npm http 304 https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/binary
npm http 200 https://registry.npmjs.org/forever-agent
npm http 200 https://registry.npmjs.org/configstore/-/configstore-0.2.3.tgz
npm http 200 https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/uuid
npm http GET https://registry.npmjs.org/lodash.now
npm http GET https://registry.npmjs.org/lodash.isfunction
npm http 200 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/lodash.isobject
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/chainsaw
npm http GET https://registry.npmjs.org/buffers
npm http GET https://registry.npmjs.org/aws-sign
npm http 200 https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/cookie-jar
npm http 200 https://registry.npmjs.org/form-data
npm http 200 https://registry.npmjs.org/http-signature
npm http 200 https://registry.npmjs.org/aws-sign2
npm http 200 https://registry.npmjs.org/node-uuid
npm http 200 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/qs
npm http 200 https://registry.npmjs.org/through
npm http 200 https://registry.npmjs.org/readline2
npm http 200 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/bower-config
npm http 200 https://registry.npmjs.org/mute-stream/0.0.4
npm http GET https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/ansicolors
npm http 200 https://registry.npmjs.org/redeyed
npm http 200 https://registry.npmjs.org/request-replay
npm http GET https://registry.npmjs.org/mout
npm http 200 https://registry.npmjs.org/block-stream
npm http 200 https://registry.npmjs.org/timespan
npm http 304 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/cli-color
npm http 200 https://registry.npmjs.org/mute-stream
npm http 200 https://registry.npmjs.org/tough-cookie
npm http 200 https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/punycode
npm http 200 https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/uuid
npm http 200 https://registry.npmjs.org/lodash.isfunction
npm http 200 https://registry.npmjs.org/lodash.now
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/isarray/0.0.1
npm http 200 https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/lodash.isobject
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/lodash._isnative
npm http GET https://registry.npmjs.org/lodash._objecttypes
npm http 200 https://registry.npmjs.org/chainsaw
npm http 200 https://registry.npmjs.org/buffers
npm http 304 https://registry.npmjs.org/mout
npm http 200 https://registry.npmjs.org/combined-stream
npm http 200 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/assert-plus/0.1.2
npm http 200 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/asn1/0.1.11
npm http 200 https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http GET https://registry.npmjs.org/traverse
npm http 200 https://registry.npmjs.org/cryptiles
npm http 200 https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 200 https://registry.npmjs.org/hoek
npm http 200 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/lodash._isnative
npm http 200 https://registry.npmjs.org/source-map
npm http 200 https://registry.npmjs.org/lodash._objecttypes
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http 200 https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/traverse
npm http GET https://registry.npmjs.org/memoizee
npm http GET https://registry.npmjs.org/es5-ext
npm http 200 https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
npm http 200 https://registry.npmjs.org/es5-ext
npm http 200 https://registry.npmjs.org/memoizee
npm http GET https://registry.npmjs.org/event-emitter
npm http GET https://registry.npmjs.org/next-tick
npm http 200 https://registry.npmjs.org/next-tick
npm http 200 https://registry.npmjs.org/event-emitter
/usr/local/bin/amber ->
/usr/local/lib/node_modules/amber/cli/support/amber-cli.js
/usr/local/bin/amberc ->
/usr/local/lib/node_modules/amber/cli/support/amberc-cli.js
amber@0.13.0-pre /usr/local/lib/node_modules/amber
├── grunt-init-amber@0.0.1
├── amdefine@0.0.8
├── es6-promise@0.1.1
├── grunt-init@0.3.1 (colors@0.6.2, semver@1.0.14, hooker@0.2.3,
async@0.2.10, lodash@2.4.1, prompt@0.1.12, grunt@0.4.4)
└── bower@1.3.2 (junk@0.2.2, is-root@0.1.0, stringify-object@0.2.0,
abbrev@1.0.4, which@1.0.5, chmodr@0.1.0, osenv@0.0.3, archy@0.0.2,
graceful-fs@2.0.3, lockfile@0.4.2, rimraf@2.2.6, open@0.0.5,
bower-logger@0.2.2, bower-endpoint-parser@0.2.1, lru-cache@2.5.0,
nopt@2.1.2, retry@0.6.0, mkdirp@0.3.5, tmp@0.0.23, q@1.0.1,
semver@2.2.1, fstream@0.1.25, p-throttler@0.0.1,
request-progress@0.3.1, mout@0.9.1, fstream-ignore@0.0.7, glob@3.2.9,
shell-quote@1.4.1, bower-json@0.4.0, chalk@0.4.0, cardinal@0.4.4,
tar@0.1.19, bower-config@0.5.0, handlebars@1.3.0, promptly@0.2.0,
decompress-zip@0.0.6, request@2.33.0, update-notifier@0.1.8,
bower-registry-client@0.1.6, insight@0.3.1, inquirer@0.4.1)
hhzl@hhzl-Latitude ~ $
hhzl@hhzl-Latitude ~ $mkdir hhzlAmberProject
hhzl@hhzl-Latitude ~ $cd hhzlAmberProject
hhzl@hhzl-Latitude ~ $


hhzl@hhzl-Latitude ~/hhzlAmberProject $ amber init
Welcome to Amber version 0.13.0-pre (NodeJS 0.10.22).
Running "init:/usr/local/lib/node_modules/amber/node_modules/grunt-init-amber"
(init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.

"grunt-init-amber" template notes:
 Project title should be a human-readable title.

Please answer the following:
[?] Project name (AmberApplication)
[?] Project title (Amberapplication)
[?] Description (Amber Application.)
[?] The namespace used to store your Amber Packages.
[?] The version of Amber to use. Must be >= 0.12.4 (>= 0.12.4)
[?] Version (0.1.0)
[?] Project git repository (git://github.com/hhzl/hhzlAmberProject.git)
[?] Project homepage (https://github.com/hhzl/hhzlAmberProject)
[?] Project issues tracker (https://github.com/hhzl/hhzlAmberProject/issues)
[?] Licenses (MIT)
[?] Author name (hhzl)
[?] Author email ([hidden email])
[?] Author url (none)
[?] Do you need to make any changes to the above before continuing? (y/N) N

Writing .npmignore...OK
Writing Gruntfile.js...OK
Writing README.md...OK
Writing index.html...OK
Writing js/AmberApplication.js...OK
Writing st/AmberApplication.st...OK
Writing LICENSE-MIT...OK

Initialized from template "grunt-init-amber".
You should now install project dependencies with bower install. Afterwards,
start the development server with ./bower_components/amber/bin/amber serve.
Your application is then accessible via http://localhost:4000/

Done, without errors.
bower amber#~>= 0.12.4          cached
git://github.com/amber-smalltalk/amber.git#0.12.4
bower amber#~>= 0.12.4        validate 0.12.4 against
git://github.com/amber-smalltalk/amber.git#~>= 0.12.4
bower bootstrap#*               cached
http://getbootstrap.com/2.3.2/assets/bootstrap.zip
bower bootstrap#*             validate
http://getbootstrap.com/2.3.2/assets/bootstrap.zip#*
bower codemirror#~3.20.0        cached
git://github.com/marijnh/CodeMirror.git#3.20.0
bower codemirror#~3.20.0      validate 3.20.0 against
git://github.com/marijnh/CodeMirror.git#~3.20.0
bower jquery#~1.10.2            cached git://github.com/jquery/jquery.git#1.10.2
bower jquery#~1.10.2          validate 1.10.2 against
git://github.com/jquery/jquery.git#~1.10.2
bower showdown#~0.3.1           cached
git://github.com/coreyti/showdown.git#0.3.1
bower showdown#~0.3.1         validate 0.3.1 against
git://github.com/coreyti/showdown.git#~0.3.1
bower require-css#~0.0.8        cached
git://github.com/guybedford/require-css.git#0.0.8
bower require-css#~0.0.8      validate 0.0.8 against
git://github.com/guybedford/require-css.git#~0.0.8
bower jquery-ui#~1.10.3         cached
git://github.com/components/jqueryui.git#1.10.4
bower jquery-ui#~1.10.3       validate 1.10.4 against
git://github.com/components/jqueryui.git#~1.10.3
bower es5-shim#~2.1.0           cached
git://github.com/es-shims/es5-shim.git#2.1.0
bower es5-shim#~2.1.0         validate 2.1.0 against
git://github.com/es-shims/es5-shim.git#~2.1.0
bower jquery-tabby#*            cached
git://github.com/alanhogan/Tabby.git#925c5a416a
bower jquery-tabby#*          validate 925c5a416a against
git://github.com/alanhogan/Tabby.git#*
bower jquery#>=1.6              cached git://github.com/jquery/jquery.git#2.1.0
bower jquery#>=1.6            validate 2.1.0 against
git://github.com/jquery/jquery.git#>=1.6
bower amber#~>= 0.12.4         install amber#0.12.4
bower require-css#~0.0.8       install require-css#0.0.8
bower showdown#~0.3.1          install showdown#0.3.1
bower jquery-ui#~1.10.3        install jquery-ui#1.10.4
bower jquery-tabby#*           install jquery-tabby#925c5a416a
bower es5-shim#~2.1.0          install es5-shim#2.1.0
bower codemirror#~3.20.0       install codemirror#3.20.0
bower jquery#~1.10.2           install jquery#1.10.2
bower bootstrap#*              install bootstrap

amber#0.12.4 bower_components/amber
├── bootstrap
├── codemirror#3.20.0
├── es5-shim#2.1.0
├── jquery#1.10.2
├── jquery-tabby#925c5a416a
├── jquery-ui#1.10.4
├── require-css#0.0.8
└── showdown#0.3.1

require-css#0.0.8 bower_components/require-css

showdown#0.3.1 bower_components/showdown

jquery-ui#1.10.4 bower_components/jquery-ui
└── jquery#1.10.2

jquery-tabby#925c5a416a bower_components/jquery-tabby

es5-shim#2.1.0 bower_components/es5-shim

codemirror#3.20.0 bower_components/codemirror

jquery#1.10.2 bower_components/jquery

bootstrap bower_components/bootstrap
hhzl@hhzl-Latitude ~/hhzlAmberProject $ amber serve
Welcome to Amber version 0.13.0-pre (NodeJS 0.10.22).
Starting file server on http://127.0.0.1:4000



LOG in the Web browser
-----------------------

17:20:07.913 GET http://localhost:4000/ [HTTP/1.1 200 OK 7ms]
17:20:07.914 GET
http://localhost:4000/bower_components/amber/support/requirejs/require.min.js
[HTTP/1.1 200 OK 1ms]
17:20:08.045 GET
http://localhost:4000/bower_components/amber/support/amber.js
[HTTP/1.1 200 OK 37ms]
17:20:08.126 GET
http://localhost:4000/bower_components/amber/support/devel.js
[HTTP/1.1 200 OK 3ms]
17:20:08.127 GET http://localhost:4000/AmberApplication [HTTP/1.1 404
Not Found 2ms]
17:20:08.058 Error: Script error for: /AmberApplication
http://requirejs.org/docs/errors.html#scripterror require.min.js:8
17:20:08.128 GET
http://localhost:4000/bower_components/amber/support/helpers.js
[HTTP/1.1 200 OK 40ms]
17:20:08.129 GET
http://localhost:4000/bower_components/amber/support/deploy.js
[HTTP/1.1 200 OK 42ms]
17:20:08.130 GET
http://localhost:4000/bower_components/amber/support/lang.js [HTTP/1.1
200 OK 1ms]
17:20:08.130 GET
http://localhost:4000/bower_components/amber/support/codemirror.js
[HTTP/1.1 200 OK 39ms]
17:20:08.131 GET
http://localhost:4000/bower_components/amber/support/devel-inner.js
[HTTP/1.1 200 OK 1ms]
17:20:08.132 GET
http://localhost:4000/bower_components/require-css/css.js [HTTP/1.1
200 OK 38ms]
17:20:08.480 GET
http://localhost:4000/bower_components/amber/src/IDE.js [HTTP/1.1 200
OK 4ms]
17:20:08.481 GET
http://localhost:4000/bower_components/amber/src/Examples.js [HTTP/1.1
200 OK 4ms]
17:20:08.481 GET
http://localhost:4000/bower_components/amber/src/Benchfib.js [HTTP/1.1
200 OK 39ms]
17:20:08.482 GET
http://localhost:4000/bower_components/jquery/jquery.min.js [HTTP/1.1
200 OK 43ms]
17:20:08.483 GET
http://localhost:4000/bower_components/amber/support/parser.js
[HTTP/1.1 200 OK 2ms]
17:20:08.483 GET
http://localhost:4000/bower_components/amber/src/Kernel-ImportExport.js
[HTTP/1.1 200 OK 1ms]
17:20:08.484 GET
http://localhost:4000/bower_components/amber/src/Compiler-Exceptions.js
[HTTP/1.1 200 OK 43ms]
17:20:08.485 GET
http://localhost:4000/bower_components/amber/src/Compiler-Core.js
[HTTP/1.1 200 OK 43ms]
17:20:08.485 GET
http://localhost:4000/bower_components/amber/src/Compiler-AST.js
[HTTP/1.1 200 OK 4ms]
17:20:08.486 GET
http://localhost:4000/bower_components/amber/src/Compiler-Semantic.js
[HTTP/1.1 200 OK 4ms]
17:20:08.486 GET
http://localhost:4000/bower_components/amber/src/Compiler-IR.js
[HTTP/1.1 200 OK 7ms]
17:20:08.487 GET
http://localhost:4000/bower_components/amber/src/Compiler-Inlining.js
[HTTP/1.1 200 OK 8ms]
17:20:08.488 GET
http://localhost:4000/bower_components/amber/src/Compiler-Interpreter.js
[HTTP/1.1 200 OK 12ms]
17:20:08.488 GET
http://localhost:4000/bower_components/amber/src/SUnit.js [HTTP/1.1
200 OK 47ms]
17:20:08.489 GET
http://localhost:4000/bower_components/amber/src/Compiler-Tests.js
[HTTP/1.1 200 OK 11ms]
17:20:08.490 GET
http://localhost:4000/bower_components/amber/src/Kernel-Tests.js
[HTTP/1.1 200 OK 15ms]
17:20:08.490 GET
http://localhost:4000/bower_components/amber/src/SUnit-Tests.js
[HTTP/1.1 200 OK 45ms]
17:20:08.238 SyntaxError: Using //@ to indicate sourceMappingURL
pragmas is deprecated. Use //# instead jquery.min.js:1
17:20:08.244 Error:
http://localhost:4000/bower_components/jquery/jquery.min.js is being
assigned a //# sourceMappingURL, but already has one
17:20:08.308 Unknown property 'box-sizing'.  Declaration dropped. localhost:4000
17:20:08.979 GET
http://localhost:4000/bower_components/amber/src/Kernel-Objects.js
[HTTP/1.1 200 OK 4ms]
17:20:08.980 GET
http://localhost:4000/bower_components/amber/src/Kernel-Classes.js
[HTTP/1.1 200 OK 3ms]
17:20:08.980 GET
http://localhost:4000/bower_components/amber/src/Kernel-Methods.js
[HTTP/1.1 200 OK 39ms]
17:20:08.981 GET
http://localhost:4000/bower_components/amber/src/Kernel-Collections.js
[HTTP/1.1 200 OK 3ms]
17:20:08.982 GET
http://localhost:4000/bower_components/amber/src/Kernel-Infrastructure.js
[HTTP/1.1 200 OK 3ms]
17:20:08.983 GET
http://localhost:4000/bower_components/amber/src/Kernel-Exceptions.js
[HTTP/1.1 200 OK 40ms]
17:20:08.983 GET
http://localhost:4000/bower_components/amber/src/Kernel-Transcript.js
[HTTP/1.1 200 OK 2ms]
17:20:08.984 GET
http://localhost:4000/bower_components/amber/src/Kernel-Announcements.js
[HTTP/1.1 200 OK 43ms]
17:20:08.985 GET
http://localhost:4000/bower_components/amber/src/Web.js [HTTP/1.1 200
OK 7ms]
17:20:08.985 GET
http://localhost:4000/bower_components/amber/support/codemirror-inner.js
[HTTP/1.1 200 OK 6ms]
17:20:08.986 GET
http://localhost:4000/bower_components/amber/support/smalltalk.js
[HTTP/1.1 200 OK 41ms]
17:20:08.987 GET
http://localhost:4000/bower_components/amber/support/nil.js [HTTP/1.1
200 OK 40ms]
17:20:08.987 GET
http://localhost:4000/bower_components/amber/support/_st.js [HTTP/1.1
200 OK 24ms]
17:20:08.988 GET
http://localhost:4000/bower_components/amber/support/globals.js
[HTTP/1.1 200 OK 57ms]
17:20:08.989 GET
http://localhost:4000/bower_components/require-css/normalize.js
[HTTP/1.1 200 OK 42ms]
17:20:08.989 GET
http://localhost:4000/bower_components/jquery-ui/ui/minified/jquery-ui.min.js
[HTTP/1.1 200 OK 2ms]
17:20:08.990 GET
http://localhost:4000/bower_components/jquery-tabby/jquery.textarea.js
[HTTP/1.1 200 OK 39ms]
17:20:09.308 GET
http://localhost:4000/bower_components/amber/support/boot.js [HTTP/1.1
200 OK 2ms]
17:20:09.309 GET
http://localhost:4000/bower_components/amber/css/amber.css [HTTP/1.1
200 OK 2ms]
17:20:09.310 GET
http://localhost:4000/bower_components/codemirror/theme/ambiance.css
[HTTP/1.1 200 OK 2ms]
17:20:09.310 GET
http://localhost:4000/bower_components/codemirror/lib/codemirror.css
[HTTP/1.1 200 OK 39ms]
17:20:09.319 GET
http://localhost:4000/bower_components/codemirror/addon/hint/show-hint.css
[HTTP/1.1 200 OK 38ms]
17:20:09.139 Unknown property '-moz-box-shadow'.  Declaration dropped.
ambiance.css:48
17:20:09.209 Unknown property 'box-sizing'.  Declaration dropped.
codemirror.css:122
17:20:09.210 Unknown property 'box-sizing'.  Declaration dropped.
codemirror.css:162
17:20:09.210 Expected declaration but found '*'.  Skipped to next
declaration. codemirror.css:167
17:20:09.210 Expected declaration but found '*'.  Skipped to next
declaration. codemirror.css:168
17:20:09.210 Unknown property '-moz-border-radius'.  Declaration
dropped. codemirror.css:181
17:20:09.210 Error in parsing value for 'width'.  Declaration dropped.
codemirror.css:202
17:20:09.210 Error in parsing value for 'width'.  Declaration dropped.
codemirror.css:204
17:20:09.210 Expected declaration but found '*'.  Skipped to next
declaration. codemirror.css:256
17:20:09.212 Unknown property '-moz-box-shadow'.  Declaration dropped.
show-hint.css:11
17:20:09.547 GET
http://localhost:4000/bower_components/amber/support/browser-compatibility.js
[HTTP/1.1 200 OK 2ms]
17:20:09.547 GET
http://localhost:4000/bower_components/codemirror/lib/codemirror.js
[HTTP/1.1 200 OK 2ms]
17:20:10.171 GET
http://localhost:4000/bower_components/codemirror/mode/smalltalk/smalltalk.js
[HTTP/1.1 200 OK 2ms]
17:20:10.172 GET
http://localhost:4000/bower_components/codemirror/addon/hint/show-hint.js
[HTTP/1.1 200 OK 2ms]
17:20:10.172 GET
http://localhost:4000/bower_components/amber/support/ensure-console.js
[HTTP/1.1 200 OK 3ms]
17:20:10.173 GET
http://localhost:4000/bower_components/es5-shim/es5-shim.min.js
[HTTP/1.1 200 OK 3ms]
17:20:10.174 GET
http://localhost:4000/bower_components/es5-shim/es5-sham.min.js
[HTTP/1.1 200 OK 5ms]
17:20:09.646 SyntaxError: Using //@ to indicate sourceMappingURL
pragmas is deprecated. Use //# instead es5-shim.min.js:2
17:20:09.646 Error:
http://localhost:4000/bower_components/es5-shim/es5-shim.min.js is
being assigned a //# sourceMappingURL, but already has one
17:20:09.651 SyntaxError: Using //@ to indicate sourceMappingURL
pragmas is deprecated. Use //# instead es5-sham.min.js:2
17:20:09.651 Error:
http://localhost:4000/bower_components/es5-shim/es5-sham.min.js is
being assigned a //# sourceMappingURL, but already has one




On 4/13/14, H. Hirzel <[hidden email]> wrote:

> Just do it. It is simple.   :-)   Currently installing....
>
> On 4/13/14, sebastian <[hidden email]> wrote:
>> can’t wait to put my teeth into it
>>
>> Will do soon
>>
>> Let you know how it goes
>>
>> Thanks for your push!!!
>>
>> On Apr 13, 2014, at 1:23 PM, Herby Vojčík <[hidden email]> wrote:
>>
>>> Hello!
>>>
>>> There is 'amber init' command, which seems to be working.
>>> I would be glad if you tried it out.
>>>
>>> First, uninstall the global amber cli you have installed now:
>>>
>>>    (sudo) npm -g uninstall amber
>>>
>>> Then, install the one from the branch where this command is defined:
>>>
>>>    (sudo) npm -g install
>>> git://github.com/amber-smalltalk/amber.git#amber-create
>>>
>>> (after the branch gets merged to master, it will probably not exist
>>> anymore, so try #master instead)
>>>
>>> Then, just create any empty directory where you want the project to
>>> reside, cd to it and run:
>>>
>>>    amber init
>>>
>>> Thanks, Herby
>>>
>>> p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm
>>> uninstall -g amber and reinstall the stable one with (sudo) npm install
>>> -g
>>> amber.
>>>
>>> --
>>> 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.
>>
>

--
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: amber init, working

Herby Vojčík


H. Hirzel wrote:
> Herby
>
> This looks very promising but further tests are needed.
>
> The command amber init creates a project.
>
> But the project as such has a problem.

The project as such is installed from grunt-init-amber template.
If something is wrong in the project itself, point your effort there ;-)

ambrer init just packages and runs grunt-init and bower install for you behind the scenes, so you need not to know (at the beginning ... you will need to know anyway later when upgrading or so);

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: amber init, working

sebastianconcept
In reply to this post by Hannes Hirzel

On Apr 13, 2014, at 2:09 PM, H. Hirzel <[hidden email]> wrote:

Just do it. It is simple.   :-)   Currently installing....


Man.. this shit is fantastic.

You should be proud!

It feels so right.

Thanks a lot for your effort!

Let’s work on removing the warnings…

--
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: amber init, working

Hannes Hirzel
NOW WORKS!
As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber

I did the following  on Linux Mint (based Ubuntu 12.04 LTS)

Manually remove the existing amber directory in ~/.grunt-init/amber as
I had used grunt-init before.



git clone git://github.com/amber-smalltalk/grunt-init-amber.git
~/.grunt-init/amber

sudo  npm -g install git://github.com/amber-smalltalk/amber.git#amber-create

mkdir myAmberProject

cd myAmberProject

amber init

amber serve

open http://localhost:4000/

Add a method to class #AmberApplication

save and commit

check file /home/hhzl/myAmberProject/src/AmberApplication.st

if the method has been added.

--Hannes

On 4/13/14, sebastian <[hidden email]> wrote:

>
> On Apr 13, 2014, at 2:09 PM, H. Hirzel <[hidden email]> wrote:
>
>> Just do it. It is simple.   :-)   Currently installing....
>
>
> Man.. this shit is fantastic.
>
> You should be proud!
>
> It feels so right.
>
> Thanks a lot for your effort!
>
> Let's work on removing the warnings...
>
> sebastian
>
> o/
>
> --
> 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: amber init, working

Herby Vojčík


H. Hirzel wrote:

> NOW WORKS!
> As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber
>
> I did the following  on Linux Mint (based Ubuntu 12.04 LTS)
>
> Manually remove the existing amber directory in ~/.grunt-init/amber as
> I had used grunt-init before.
>
>
>
> git clone git://github.com/amber-smalltalk/grunt-init-amber.git
> ~/.grunt-init/amber

This is not needed... or I misunderstood something?

> sudo  npm -g install git://github.com/amber-smalltalk/amber.git#amber-create

And hopefully not too long until this plain good old (sudo) npm -g install amber... the 0.12.5 release is planned to be a quick one, not waiting 3 months but just a week or a few.

> mkdir myAmberProject
>
> cd myAmberProject
>
> amber init
>
> amber serve
>
> open http://localhost:4000/
>
> Add a method to class #AmberApplication
>
> save and commit
>
> check file /home/hhzl/myAmberProject/src/AmberApplication.st
>
> if the method has been added.
>
> --Hannes

--
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: amber init, working

Hannes Hirzel
On 4/13/14, Herby Vojčík <[hidden email]> wrote:

>
>
> H. Hirzel wrote:
>> NOW WORKS!
>> As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber
>>
>> I did the following  on Linux Mint (based Ubuntu 12.04 LTS)
>>
>> Manually remove the existing amber directory in ~/.grunt-init/amber as
>> I had used grunt-init before.
>>
>>
>>
>> git clone git://github.com/amber-smalltalk/grunt-init-amber.git
>> ~/.grunt-init/amber
>
> This is not needed... or I misunderstood something?

I do not know. I will redo the installation test with a fresh
installation which never had grunt-init.

>
>> sudo  npm -g install
>> git://github.com/amber-smalltalk/amber.git#amber-create
>
> And hopefully not too long until this plain good old (sudo) npm -g install
> amber... the 0.12.5 release is planned to be a quick one, not waiting 3
> months but just a week or a few.

Yes, that would be very fine. This sole

    amber init

is worth a 0.12.5 release
as this brings down the installation complexity considerably. Let's now test it!




>> mkdir myAmberProject
>>
>> cd myAmberProject
>>
>> amber init
>>
>> amber serve
>>
>> open http://localhost:4000/
>>
>> Add a method to class #AmberApplication
>>
>> save and commit
>>
>> check file /home/hhzl/myAmberProject/src/AmberApplication.st
>>
>> if the method has been added.
>>
>> --Hannes
>
> --
> 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: amber init, working

philippeback
In reply to this post by Herby Vojčík
Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

So, need to copy it by hand.

Then grunt-init amber works nicely.

The README.md says: npm install

Well, no, that is not working.

No problem, let's amber serve

That's going ok, I se a "class browser" button.

Clicking on it does nothing.

Looking at source:

head>

<title>Amberapplication</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<meta name="author" content="Philippe Back" />

<script type='text/javascript' src='bower_components/amber/support/requirejs/require.min.js'></script>

<script type='text/javascript' src='bower_components/amber/support/amber.js'></script>

</head>


Mmmg, bower_components

Let's try bower install

Things are getting in.

amber serve

reload

But no luck.

Javascript console in Firefox:

GET http://localhost:4000/ [HTTP/1.1 200 OK 1ms]
GET http://localhost:4000/bower_components/amber/support/requirejs/require.min.js [HTTP/1.1 200 OK 1ms]
GET http://localhost:4000/bower_components/amber/support/amber.js [HTTP/1.1 200 OK 2ms]
GET http://localhost:4000/bower_components/amber/support/devel.js [HTTP/1.1 200 OK 2ms]
GET http://localhost:4000/AmberApplication [HTTP/1.1 404 Not Found 1ms]
Error: Script error for: /AmberApplication
http://requirejs.org/docs/errors.html#scripterror require.min.js:8
GET http://localhost:4000/bower_components/amber/support/helpers.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/support/deploy.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/support/lang.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/support/codemirror.js [HTTP/1.1 200 OK 5ms]
GET http://localhost:4000/bower_components/amber/support/devel-inner.js [HTTP/1.1 200 OK 5ms]
GET http://localhost:4000/bower_components/require-css/css.js [HTTP/1.1 200 OK 6ms]
GET http://localhost:4000/bower_components/jquery/jquery.min.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Objects.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Classes.js [HTTP/1.1 200 OK 5ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Methods.js [HTTP/1.1 200 OK 8ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Collections.js [HTTP/1.1 200 OK 7ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Infrastructure.js [HTTP/1.1 200 OK 7ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Exceptions.js [HTTP/1.1 200 OK 12ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Transcript.js [HTTP/1.1 200 OK 11ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Announcements.js [HTTP/1.1 200 OK 11ms]
GET http://localhost:4000/bower_components/amber/src/Web.js [HTTP/1.1 200 OK 14ms]
GET http://localhost:4000/bower_components/amber/support/parser.js [HTTP/1.1 200 OK 13ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-ImportExport.js [HTTP/1.1 200 OK 15ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Exceptions.js [HTTP/1.1 200 OK 18ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Core.js [HTTP/1.1 200 OK 19ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-AST.js [HTTP/1.1 200 OK 19ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Semantic.js [HTTP/1.1 200 OK 20ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-IR.js [HTTP/1.1 200 OK 21ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Inlining.js [HTTP/1.1 200 OK 23ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Interpreter.js [HTTP/1.1 200 OK 24ms]
GET http://localhost:4000/bower_components/amber/src/SUnit.js [HTTP/1.1 200 OK 25ms]
GET http://localhost:4000/bower_components/amber/src/Compiler-Tests.js [HTTP/1.1 200 OK 26ms]
GET http://localhost:4000/bower_components/amber/src/Kernel-Tests.js [HTTP/1.1 200 OK 27ms]
GET http://localhost:4000/bower_components/amber/src/SUnit-Tests.js [HTTP/1.1 200 OK 29ms]
GET http://localhost:4000/bower_components/amber/support/codemirror-inner.js [HTTP/1.1 200 OK 32ms]
GET http://localhost:4000/bower_components/amber/src/IDE.js [HTTP/1.1 200 OK 34ms]
GET http://localhost:4000/bower_components/amber/src/Examples.js [HTTP/1.1 200 OK 34ms]
GET http://localhost:4000/bower_components/amber/src/Benchfib.js [HTTP/1.1 200 OK 35ms]
GET http://localhost:4000/bower_components/amber/support/smalltalk.js [HTTP/1.1 200 OK 34ms]
GET http://localhost:4000/bower_components/amber/support/globals.js [HTTP/1.1 200 OK 34ms]
GET http://localhost:4000/bower_components/require-css/normalize.js [HTTP/1.1 200 OK 13ms]
SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.min.js:1
GET http://localhost:4000/bower_components/jquery-ui/ui/minified/jquery-ui.min.js [HTTP/1.1 200 OK 5ms]
GET http://localhost:4000/bower_components/jquery-tabby/jquery.textarea.js [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/amber/support/nil.js [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/amber/support/_st.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/support/boot.js [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/css/amber.css [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/codemirror/theme/ambiance.css [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/codemirror/lib/codemirror.css [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/codemirror/addon/hint/show-hint.css [HTTP/1.1 200 OK 4ms]
GET http://localhost:4000/bower_components/amber/support/browser-compatibility.js [HTTP/1.1 200 OK 1ms]
GET http://localhost:4000/bower_components/codemirror/lib/codemirror.js [HTTP/1.1 200 OK 3ms]
GET http://localhost:4000/bower_components/amber/support/ensure-console.js [HTTP/1.1 200 OK 2ms]
GET http://localhost:4000/bower_components/es5-shim/es5-shim.min.js [HTTP/1.1 200 OK 2ms]
GET http://localhost:4000/bower_components/es5-shim/es5-sham.min.js [HTTP/1.1 200 OK 3ms]
SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-shim.min.js:2
SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead es5-sham.min.js:2
GET http://localhost:4000/bower_components/codemirror/mode/smalltalk/smalltalk.js [HTTP/1.1 200 OK 2ms]
GET http://localhost:4000/bower_components/codemirror/addon/hint/show-hint.js [HTTP/1.1 200 OK 2ms]
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery.min.js:5
TypeError: smalltalk.withContext is not a function IDE.js:3981


Phil














On Sun, Apr 13, 2014 at 10:20 PM, Herby Vojčík <[hidden email]> wrote:


H. Hirzel wrote:
NOW WORKS!
As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber

I did the following  on Linux Mint (based Ubuntu 12.04 LTS)

Manually remove the existing amber directory in ~/.grunt-init/amber as
I had used grunt-init before.



git clone git://github.com/amber-smalltalk/grunt-init-amber.git
~/.grunt-init/amber

This is not needed... or I misunderstood something?

sudo  npm -g install git://github.com/amber-smalltalk/amber.git#amber-create

And hopefully not too long until this plain good old (sudo) npm -g install amber... the 0.12.5 release is planned to be a quick one, not waiting 3 months but just a week or a few.

mkdir myAmberProject

cd myAmberProject

amber init

amber serve

open http://localhost:4000/

Add a method to class #AmberApplication

save and commit

check file /home/hhzl/myAmberProject/src/AmberApplication.st

if the method has been added.

--Hannes

--
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: amber init, working

Herby Vojčík


[hidden email] wrote:
> Well, Windows with Mingw/Msys isn't behaving as nicely.
>
> First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

???
No one needs .grunt-init here.

> So, need to copy it by hand.
>
> Then grunt-init amber works nicely.

But this thread is about 'amber init', not 'grunt-init amber'...

--
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: amber init, working

philippeback
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:


[hidden email] wrote:
Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

???
No one needs .grunt-init here.
Or... am I on the wrong GH project?
 

So, need to copy it by hand.

Then grunt-init amber works nicely.

But this thread is about 'amber init', not 'grunt-init amber'...

--
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: amber init, working

Manfred Kröhnert
In reply to this post by Herby Vojčík
Hi,


On Sun, Apr 13, 2014 at 10:20 PM, Herby Vojčík <[hidden email]> wrote:


H. Hirzel wrote:
NOW WORKS!
As Herby as updated https://github.com/amber-smalltalk/grunt-init-amber

I did the following  on Linux Mint (based Ubuntu 12.04 LTS)

Manually remove the existing amber directory in ~/.grunt-init/amber as
I had used grunt-init before.



git clone git://github.com/amber-smalltalk/grunt-init-amber.git
~/.grunt-init/amber

This is not needed... or I misunderstood something?


No, cloning the repo is not required.
Only if you want to run grunt-init manually from the console.

Best,
Manfred

 
And hopefully not too long until this plain good old (sudo) npm -g install amber... the 0.12.5 release is planned to be a quick one, not waiting 3 months but just a week or a few.


mkdir myAmberProject

cd myAmberProject

amber init

amber serve

open http://localhost:4000/

Add a method to class #AmberApplication

save and commit

check file /home/hhzl/myAmberProject/src/AmberApplication.st

if the method has been added.

--Hannes

--
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: amber init, working

philippeback
In reply to this post by Herby Vojčík
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:


[hidden email] wrote:
Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

???
No one needs .grunt-init here.

So, need to copy it by hand.

Then grunt-init amber works nicely.

But this thread is about 'amber init', not 'grunt-init amber'...

I also tried: 
npm -g install git://github.com/amber-smalltalk/amber.git#amber-create

npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/amber-smalltalk/amber.git)

and the thing is frozen.

Phil
 

--
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: amber init, working

philippeback
In reply to this post by Herby Vojčík
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:


[hidden email] wrote:
Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

???
No one needs .grunt-init here.

So, need to copy it by hand.

Then grunt-init amber works nicely.

But this thread is about 'amber init', not 'grunt-init amber'...

Switching git:// with https:// gives:

$   npm -g install https://github.com/amber-smalltalk/amber.git#amber-create
npm http GET https://github.com/amber-smalltalk/amber.git#amber-create
npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create
npm ERR! not a package C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz
npm ERR! Error: ENOENT, open 'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\MinGW\\nodejs\\node.exe" "c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "https://github.com/amber-smalltalk/amber.git#amber-create"
npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log
npm ERR! not ok code 0

--
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: amber init, working

Manfred Kröhnert
In reply to this post by Herby Vojčík
Thanks a lot Herby for integrating the grunt-init-amber project into the 'amber init' command.

Best,
Manfred


On Sun, Apr 13, 2014 at 6:23 PM, Herby Vojčík <[hidden email]> wrote:
Hello!

There is 'amber init' command, which seems to be working.
I would be glad if you tried it out.

First, uninstall the global amber cli you have installed now:

    (sudo) npm -g uninstall amber

Then, install the one from the branch where this command is defined:

    (sudo) npm -g install git://github.com/amber-smalltalk/amber.git#amber-create

(after the branch gets merged to master, it will probably not exist anymore, so try #master instead)

Then, just create any empty directory where you want the project to reside, cd to it and run:

    amber init

Thanks, Herby

p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm uninstall -g amber and reinstall the stable one with (sudo) npm install -g amber.

--
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: amber init, working

Manfred Kröhnert
In reply to this post by philippeback
Hi,


On Sun, Apr 13, 2014 at 11:10 PM, [hidden email] <[hidden email]> wrote:
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:


[hidden email] wrote:
Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in C:\Users\User\

???
No one needs .grunt-init here.

So, need to copy it by hand.

Then grunt-init amber works nicely.

But this thread is about 'amber init', not 'grunt-init amber'...

Switching git:// with https:// gives:

$   npm -g install https://github.com/amber-smalltalk/amber.git#amber-create
npm http GET https://github.com/amber-smalltalk/amber.git#amber-create
npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create
npm ERR! not a package C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz
npm ERR! Error: ENOENT, open 'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\MinGW\\nodejs\\node.exe" "c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "https://github.com/amber-smalltalk/amber.git#amber-create"
npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log
npm ERR! not ok code 0 

This looks more like an NPM on Windows issue.
Unfortunately I can not help in that case.

Best,
Manfred 

--
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: amber init, working

Nicolas Petton
In reply to this post by Herby Vojčík
Hi guys,

I'm not done reading the code yet, but it looks awesome Herby!

Let's talk about it tomorrow. This may deserve a release (once
documented and tested) :)

Cheers!
Nico

Herby Vojčík writes:

> Hello!
>
> There is 'amber init' command, which seems to be working.
> I would be glad if you tried it out.
>
> First, uninstall the global amber cli you have installed now:
>
>      (sudo) npm -g uninstall amber
>
> Then, install the one from the branch where this command is defined:
>
>      (sudo) npm -g install
> git://github.com/amber-smalltalk/amber.git#amber-create
>
> (after the branch gets merged to master, it will probably not exist
> anymore, so try #master instead)
>
> Then, just create any empty directory where you want the project to
> reside, cd to it and run:
>
>      amber init
>
> Thanks, Herby
>
> p.s.: Then you can uninstall this bleeding-edge amber cli by (sudo) npm
> uninstall -g amber and reinstall the stable one with (sudo) npm install
> -g amber.


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

Re: amber init, working

Hannes Hirzel
In reply to this post by philippeback
Retest: Amber installation on platform: Linux Mint (Ubuntu 12.04LTS)
=========================================================

Situation before test
------------------------------

Clean setup

Node was installed

$ node --version
v0.10.26

The JavaScript TaskRunner tool called 'grunt' is not installed.

No amber installation


Test installation of the most recent Amber
------------------------------------------------------------

To install the current branch 'amber-create' most recent commit.

    sudo npm -g install git://github.com/amber-smalltalk/amber.git#amber-create


This now gives us a new command

    amber init


So we create a project like this

    mkdir myAmberProject
    cd myAmberProject/
    amber init

Answer questions and _wait_


    amber serve


Welcome to Amber version 0.13.0-pre (NodeJS 0.10.26).
Starting file server on http://127.0.0.1:4000


Result
----------

We only need a working 'node' installation to install Amber and create
an initial project to start with Amber web development.

To achieve this only two amber specific commands are needed.

No manual installation of grunt or grunt-init was needed.

Work with Amber IDE OK

VERY GOOD

On 4/13/14, [hidden email] <[hidden email]> wrote:

> On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:
>
>>
>>
>> [hidden email] wrote:
>>
>>> Well, Windows with Mingw/Msys isn't behaving as nicely.
>>>
>>> First, .grunt-init goes in /home/User/ and npm wants it in
>>> C:\Users\User\
>>>
>>
>> ???
>> No one needs .grunt-init here.
>>
>>  So, need to copy it by hand.
>>>
>>> Then grunt-init amber works nicely.
>>>
>>
>> But this thread is about 'amber init', not 'grunt-init amber'...
>>
>
> Switching git:// with https:// gives:
>
> $   npm -g install
> https://github.com/amber-smalltalk/amber.git#amber-create
> npm http GET https://github.com/amber-smalltalk/amber.git#amber-create
> npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create
> npm ERR! not a package
> C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz
> npm ERR! Error: ENOENT, open
> 'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json'
> npm ERR! If you need help, you may report this *entire* log,
> npm ERR! including the npm and node versions, at:
> npm ERR!     <http://github.com/npm/npm/issues>
>
> npm ERR! System Windows_NT 6.2.9200
> npm ERR! command "c:\\MinGW\\nodejs\\node.exe"
> "c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "
> https://github.com/amber-smalltalk/amber.git#amber-create"
> npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413
> npm ERR! node -v v0.10.26
> npm ERR! npm -v 1.4.3
> npm ERR! path
> C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json
> npm ERR! code ENOENT
> npm ERR! errno 34
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log
> npm ERR! not ok code 0
>
>>
>> --
>> 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.
>

--
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: amber init, working

sebastianconcept
Awesome!

Who wants to share a check like this to see how it goes for Windows?


On Apr 13, 2014, at 6:42 PM, H. Hirzel <[hidden email]> wrote:

Retest: Amber installation on platform: Linux Mint (Ubuntu 12.04LTS)
=========================================================

Situation before test
------------------------------

Clean setup

Node was installed

$ node --version
v0.10.26

The JavaScript TaskRunner tool called 'grunt' is not installed.

No amber installation


Test installation of the most recent Amber
------------------------------------------------------------

To install the current branch 'amber-create' most recent commit.

   sudo npm -g install <a href="git://github.com/amber-smalltalk/amber.git#amber-create">git://github.com/amber-smalltalk/amber.git#amber-create


This now gives us a new command

   amber init


So we create a project like this

   mkdir myAmberProject
   cd myAmberProject/
   amber init

Answer questions and _wait_


   amber serve


Welcome to Amber version 0.13.0-pre (NodeJS 0.10.26).
Starting file server on http://127.0.0.1:4000


Result
----------

We only need a working 'node' installation to install Amber and create
an initial project to start with Amber web development.

To achieve this only two amber specific commands are needed.

No manual installation of grunt or grunt-init was needed.

Work with Amber IDE OK

VERY GOOD

On 4/13/14, [hidden email] <[hidden email]> wrote:
On Sun, Apr 13, 2014 at 10:55 PM, Herby Vojčík <[hidden email]> wrote:



[hidden email] wrote:

Well, Windows with Mingw/Msys isn't behaving as nicely.

First, .grunt-init goes in /home/User/ and npm wants it in
C:\Users\User\


???
No one needs .grunt-init here.

So, need to copy it by hand.

Then grunt-init amber works nicely.


But this thread is about 'amber init', not 'grunt-init amber'...


Switching git:// with https:// gives:

$   npm -g install
https://github.com/amber-smalltalk/amber.git#amber-create
npm http GET https://github.com/amber-smalltalk/amber.git#amber-create
npm http 200 https://github.com/amber-smalltalk/amber.git#amber-create
npm ERR! not a package
C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\tmp.tgz
npm ERR! Error: ENOENT, open
'C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\MinGW\\nodejs\\node.exe"
"c:\\MinGW\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "-g" "install" "
https://github.com/amber-smalltalk/amber.git#amber-create"
npm ERR! cwd C:\MinGW\msys\1.0\home\User\Amber\200140413
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path
C:\Users\User\AppData\Local\Temp\npm-12676-RMGZgybL\1397423334998-0.24277984048239887\package\package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\MinGW\msys\1.0\home\User\Amber\200140413\npm-debug.log
npm ERR! not ok code 0


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


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