Re: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

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

Re: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Hannes Hirzel
On 4/4/15, Shaping <[hidden email]> wrote:
> Hi folks.
>
> Can someone tell me whether the Amber "Getting Started" procedure really
> works.  I sent an e-mail to Nico, asking about whether the procedure has
> been tested/updated recently.  He said to ask here and that he is not
> longer working on Amber.  I could not get Amber working.  Can someone point
>
> me to the most reliable setup procedure.  The quick start did not work for
> me.

https://github.com/amber-smalltalk/amber#getting-amber

after

     amber init

I had to do

     npm install

and

     bower install


Worked fine for the just released 0.14.3 on a new Linux Mint installation.

A detailed installation will allow us to give a more specific answer....

--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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Herby Vojčík


H. Hirzel wrote:

> On 4/4/15, Shaping<[hidden email]>  wrote:
>> Hi folks.
>>
>> Can someone tell me whether the Amber "Getting Started" procedure really
>> works.  I sent an e-mail to Nico, asking about whether the procedure has
>> been tested/updated recently.  He said to ask here and that he is not
>> longer working on Amber.  I could not get Amber working.  Can someone point
>>
>> me to the most reliable setup procedure.  The quick start did not work for
>> me.
>
> https://github.com/amber-smalltalk/amber#getting-amber
>
> after
>
>       amber init
>
> I had to do
>
>       npm install
>
> and
>
>       bower install

That's strange. You should not have to, amber init runs both of them for you...

>
>
> Worked fine for the just released 0.14.3 on a new Linux Mint installation.
>
> A detailed installation will allow us to give a more specific answer....
>
> --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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Manfred Kröhnert
Hi Herby,

On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]> wrote:


H. Hirzel wrote:
On 4/4/15, Shaping<[hidden email]>  wrote:
Hi folks.

Can someone tell me whether the Amber "Getting Started" procedure really
works.  I sent an e-mail to Nico, asking about whether the procedure has
been tested/updated recently.  He said to ask here and that he is not
longer working on Amber.  I could not get Amber working.  Can someone point

me to the most reliable setup procedure.  The quick start did not work for
me.

https://github.com/amber-smalltalk/amber#getting-amber

after

      amber init

I had to do

      npm install

and

      bower install

That's strange. You should not have to, amber init runs both of them for you...


bower and npm are definitely run by amber init with the latest release of amber-cli on my machine.

@Hannes please recheck the output of amber init as it should contain both bower install and npm install output.
If not this would be some strange bug in your setup which we should then identify.

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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Hannes Hirzel
@Manfred, thank you for answering.

A problem with the first installation test of 0.14.13 was that I did
not have git installed and the complaint that it is missing came
comparatively late. I did not take note of it when.

So I did a second test with a pristine installation. It still has problems.

    sudo apt-get install git
    sudo apt-get install nodejs
    sudo apt-get install npm
    sudo ln -s /usr/bin/nodejs /usr/bin/node
    sudo npm install -g amber-cli bower grunt-cli
    cd Documents/
    mkdir amber
    cd amber
    amber init

The log is below.  Best wishes

--Hannes



user@user-Latitude-E6400 ~/Documents/amber $ amber init
Welcome to Amber version 0.15.0-pre (NodeJS 0.10.25).
Running "init:/usr/local/lib/node_modules/amber-cli/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 title (Application or Library Title) Mark frequent words
[?] Main class and package of Amber application.
Project name is derived by lowercasing this. (MarkFrequentWords)
[?] Description (The Application or The Library doing The Thing.) Mark
sight words (frequent words) in a text.
[?] Author name (none) Hannes Hirzel
[?] Author email (none) [hidden email]
[?] Namespace of the new Amber package. (amber-markfrequentwords)
[?] Version (0.1.0)
[?] Project git repository (git://github.com/user/amber.git)
[?] Project homepage (https://github.com/user/amber)
[?] Project issues tracker (https://github.com/user/amber/issues)
[?] Author url (none)
[?] Licenses (MIT)
[?] Do you need to make any changes to the above before continuing? (y/N)


Writing Gruntfile.js...OK
Writing README.md...OK
Writing deploy.js...OK
Writing devel.js...OK
Writing .gitignore...OK
Writing index.html...OK
Writing local.amd.json...OK
Writing src/MarkFrequentWords.js...OK
Writing src/MarkFrequentWords.st...OK
Writing src/MarkFrequentWords-Tests.js...OK
Writing src/MarkFrequentWords-Tests.st...OK
Writing LICENSE-MIT...OK
Writing package.json...OK

Initialized from template "grunt-init-amber".
You need to have these installed globally via npm: amber-cli_; _grunt-cli_;
_bower. Now, install project dependencies with bower install, tool
dependencies with npm install and optionally, recompile with grunt. If you
are running amber init, these three tasks are going to be performed for you
now. Afterwards, start the development server with amber serve. Your
application is then accessible via http://localhost:4000/

Done, without errors.
? May bower anonymously report usage statistics to improve the tool
over time? (? May bower anonymously report usage statistics to improve
the tool over time? No
bower not-cached    git://github.com/amber-smalltalk/amber.git#^0.14.13
bower resolve       git://github.com/amber-smalltalk/amber.git#^0.14.13
bower not-cached
git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
bower resolve
git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
bower download
https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
bower not-cached
git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
bower resolve
git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
bower not-cached    git://github.com/amber-smalltalk/helios.git#^0.4.0
bower resolve       git://github.com/amber-smalltalk/helios.git#^0.4.0
bower download
https://github.com/amber-smalltalk/amber-contrib-legacy/archive/0.2.0.tar.gz
bower download
https://github.com/amber-smalltalk/amber-ide-starter/archive/0.1.0.tar.gz
bower download
https://github.com/amber-smalltalk/helios/archive/0.4.3.tar.gz
bower extract       amber-ide-starter-dialog#^0.1.0 archive.tar.gz
bower invalid-meta  amber-ide-starter-dialog is missing "main" entry
in bower.json
bower resolved      git://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0
bower extract       amber-contrib-legacy#^0.2.0 archive.tar.gz
bower invalid-meta  amber-contrib-legacy is missing "main" entry in bower.json
bower resolved
git://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0
bower not-cached    git://github.com/amber-smalltalk/amber.git#>=0.14.13
bower resolve       git://github.com/amber-smalltalk/amber.git#>=0.14.13
bower download
https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
bower not-cached    git://github.com/malsup/blockui.git#2.65
bower resolve       git://github.com/malsup/blockui.git#2.65
bower not-cached    git://github.com/ccampbell/mousetrap.git#^1.4.6
bower resolve       git://github.com/ccampbell/mousetrap.git#^1.4.6
bower not-cached    git://github.com/marijnh/CodeMirror.git#^4.7.0
bower resolve       git://github.com/marijnh/CodeMirror.git#^4.7.0
bower not-cached    git://github.com/components/jqueryui.git#>=1.9.2
bower resolve       git://github.com/components/jqueryui.git#>=1.9.2
bower not-cached    git://github.com/guybedford/require-css.git#^0.1.2
bower resolve       git://github.com/guybedford/require-css.git#^0.1.2
bower download      https://github.com/malsup/blockui/archive/2.65.tar.gz
bower download      https://github.com/ccampbell/mousetrap/archive/1.5.2.tar.gz
bower download      https://github.com/components/jqueryui/archive/1.11.4.tar.gz
bower download
https://github.com/guybedford/require-css/archive/0.1.8.tar.gz
bower progress      amber#^0.14.13 received 0.6MB
bower extract       helios#^0.4.0 archive.tar.gz
bower progress      amber#^0.14.13 received 0.7MB
bower download      https://github.com/marijnh/CodeMirror/archive/4.13.0.tar.gz
bower invalid-meta  helios is missing "main" entry in bower.json
bower resolved      git://github.com/amber-smalltalk/helios.git#0.4.3
bower progress      amber#^0.14.13 received 0.7MB
bower extract       amber#^0.14.13 archive.tar.gz
bower not-cached    git://github.com/jquery/jquery.git#>=1.7.0
bower resolve       git://github.com/jquery/jquery.git#>=1.7.0
bower resolved      git://github.com/amber-smalltalk/amber.git#0.14.13
bower not-cached
git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
bower resolve
git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
bower not-cached    git://github.com/showdownjs/showdown.git#^0.3.1
bower resolve       git://github.com/showdownjs/showdown.git#^0.3.1
bower extract       blockui#2.65 archive.tar.gz
bower invalid-meta  blockUI is missing "ignore" entry in bower.json
bower resolved      git://github.com/malsup/blockui.git#2.65
bower not-cached    git://github.com/jquery/jquery.git#>=1.7
bower resolve       git://github.com/jquery/jquery.git#>=1.7
bower extract       require-css#^0.1.2 archive.tar.gz
bower resolved      git://github.com/guybedford/require-css.git#0.1.8
bower download
https://github.com/alonisser/bower-bootstrap-2.3.2-legacy/archive/v2.3.2.tar.gz
bower download      https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz
bower extract       mousetrap#^1.4.6 archive.tar.gz
bower invalid-meta  mousetrap is missing "main" entry in bower.json
bower invalid-meta  mousetrap is missing "ignore" entry in bower.json
bower resolved      git://github.com/ccampbell/mousetrap.git#1.5.2
bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 20%
bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 23%
bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 26%
bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 28%
bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded, 14%
bower extract       showdown#^0.3.1 archive.tar.gz
bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 31%
bower resolved      git://github.com/showdownjs/showdown.git#0.3.4
bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded, 16%
bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 34%
bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded, 36%
bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded, 39%
bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded, 18%
bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 37%
bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded, 43%
bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 41%
bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded, 20%
bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded, 47%
bower progress      bootstrap2.3.2#^2.3.2 received 0.2MB
bower extract       bootstrap2.3.2#^2.3.2 archive.tar.gz
bower invalid-meta  bootstrap2.3.2 is missing "ignore" entry in bower.json
bower resolved
git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2
bower not-cached    git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
bower resolve       git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
bower download      https://github.com/jquery/jquery/archive/2.0.3.tar.gz
bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 44%
bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded, 21%
bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded, 49%

.....  [snip]  .....

bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 80%
bower extract       codemirror#^4.7.0 archive.tar.gz
bower progress      jquery#>=1.7 received 0.3MB of 0.6MB downloaded, 54%
bower progress      jquery#>=1.7.0 received 0.4MB of 0.6MB downloaded, 71%
bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded, 47%
bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 83%
bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 64%
bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded, 49%
bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 73%
bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 86%
bower resolved      git://github.com/marijnh/CodeMirror.git#4.13.0
bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 67%
bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded, 51%
bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 75%
bower progress      amber#>=0.14.13 received 0.7MB of 0.7MB downloaded, 89%
bower progress      jquery#>=1.7 received 0.5MB of 0.6MB downloaded, 72%

.....  [snip]  .....

bower extract       jquery#>=1.7.0 archive.tar.gz
bower progress      jquery#>=1.8.0 <2.1.0 received 0.4MB of 0.5MB
downloaded, 94%
bower progress      jquery-ui#>=1.9.2 received 1.2MB of 1.5MB downloaded, 84%
bower extract       jquery#>=1.8.0 <2.1.0 archive.tar.gz
bower invalid-meta  jquery is missing "ignore" entry in bower.json
bower resolved      git://github.com/jquery/jquery.git#2.0.3
bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded, 88%
bower resolved      git://github.com/jquery/jquery.git#2.1.3
bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded, 92%
bower progress      jquery-ui#>=1.9.2 received 1.4MB of 1.5MB downloaded, 95%
bower progress      jquery-ui#>=1.9.2 received 1.5MB of 1.5MB downloaded, 99%
bower extract       jquery-ui#>=1.9.2 archive.tar.gz
bower resolved      git://github.com/components/jqueryui.git#1.11.4
bower install       amber-ide-starter-dialog#0.1.0
bower install       amber-contrib-legacy#0.2.0
bower install       helios#0.4.3
bower install       amber#0.14.13
bower install       blockui#2.65
bower install       require-css#0.1.8
bower install       mousetrap#1.5.2
bower install       showdown#0.3.4
bower install       bootstrap2.3.2#2.3.2
bower install       codemirror#4.13.0
bower install       jquery#2.0.3
bower install       jquery-ui#1.11.4

amber-ide-starter-dialog#0.1.0 bower_components/amber-ide-starter-dialog
├── blockui#2.65
└── mousetrap#1.5.2

amber-contrib-legacy#0.2.0 bower_components/amber-contrib-legacy
├── amber#0.14.13
├── codemirror#4.13.0
├── jquery-ui#1.11.4
└── require-css#0.1.8

helios#0.4.3 bower_components/helios
├── amber#0.14.13
├── bootstrap2.3.2#2.3.2
├── codemirror#4.13.0
├── jquery#2.0.3
├── jquery-ui#1.11.4
├── require-css#0.1.8
└── showdown#0.3.4

amber#0.14.13 bower_components/amber
└── jquery#2.0.3

blockui#2.65 bower_components/blockui
└── jquery#2.0.3

require-css#0.1.8 bower_components/require-css

mousetrap#1.5.2 bower_components/mousetrap

showdown#0.3.4 bower_components/showdown

bootstrap2.3.2#2.3.2 bower_components/bootstrap2.3.2
└── jquery#2.0.3

codemirror#4.13.0 bower_components/codemirror

jquery#2.0.3 bower_components/jquery

jquery-ui#1.11.4 bower_components/jquery-ui
└── jquery#2.0.3
npm install exec error:
{ [Error: Command failed: npm http GET
https://registry.npmjs.org/grunt-contrib-clean
npm http GET https://registry.npmjs.org/grunt-execute
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/grunt-contrib-requirejs
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/amber-dev
npm http 304 https://registry.npmjs.org/grunt
npm http 200 https://registry.npmjs.org/grunt-execute
npm ERR! Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
npm ERR!  { [Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/user/tmp/npm-11167-f_3rwQTb' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.16.0-29-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/Documents/amber
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/user/tmp/npm-11167-f_3rwQTb
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
npm http 304 https://registry.npmjs.org/amber-dev
npm http 200 https://registry.npmjs.org/requirejs
npm http 200 https://registry.npmjs.org/grunt-contrib-clean
npm http 200 https://registry.npmjs.org/grunt-contrib-requirejs
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/user/Documents/amber/npm-debug.log
npm ERR! not ok code 0
] killed: false, code: 3, signal: null }


On 4/7/15, Manfred Kröhnert <[hidden email]> wrote:

> Hi Herby,
>
> On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]> wrote:
>
>>
>>
>> H. Hirzel wrote:
>>
>>> On 4/4/15, Shaping<[hidden email]>  wrote:
>>>
>>>> Hi folks.
>>>>
>>>> Can someone tell me whether the Amber "Getting Started" procedure
>>>> really
>>>> works.  I sent an e-mail to Nico, asking about whether the procedure
>>>> has
>>>> been tested/updated recently.  He said to ask here and that he is not
>>>> longer working on Amber.  I could not get Amber working.  Can someone
>>>> point
>>>>
>>>> me to the most reliable setup procedure.  The quick start did not work
>>>> for
>>>> me.
>>>>
>>>
>>> https://github.com/amber-smalltalk/amber#getting-amber
>>>
>>> after
>>>
>>>       amber init
>>>
>>> I had to do
>>>
>>>       npm install
>>>
>>> and
>>>
>>>       bower install
>>>
>>
>> That's strange. You should not have to, amber init runs both of them for
>> you...
>
>
>
> bower and npm are definitely run by amber init with the latest release of
> amber-cli on my machine.
>
> @Hannes please recheck the output of amber init as it should contain both
> bower install and npm install output.
> If not this would be some strange bug in your setup which we should then
> identify.
>
> 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.
>

--
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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Hannes Hirzel
P.S.

The following commands in addition

    sudo npm install
    bower install
    grunt devel
    amber serve

make it run fine.

On 4/8/15, H. Hirzel <[hidden email]> wrote:

> @Manfred, thank you for answering.
>
> A problem with the first installation test of 0.14.13 was that I did
> not have git installed and the complaint that it is missing came
> comparatively late. I did not take note of it when.
>
> So I did a second test with a pristine installation. It still has problems.
>
>     sudo apt-get install git
>     sudo apt-get install nodejs
>     sudo apt-get install npm
>     sudo ln -s /usr/bin/nodejs /usr/bin/node
>     sudo npm install -g amber-cli bower grunt-cli
>     cd Documents/
>     mkdir amber
>     cd amber
>     amber init
>
> The log is below.  Best wishes
>
> --Hannes
>
>
>
> user@user-Latitude-E6400 ~/Documents/amber $ amber init
> Welcome to Amber version 0.15.0-pre (NodeJS 0.10.25).
> Running
> "init:/usr/local/lib/node_modules/amber-cli/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 title (Application or Library Title) Mark frequent words
> [?] Main class and package of Amber application.
> Project name is derived by lowercasing this. (MarkFrequentWords)
> [?] Description (The Application or The Library doing The Thing.) Mark
> sight words (frequent words) in a text.
> [?] Author name (none) Hannes Hirzel
> [?] Author email (none) [hidden email]
> [?] Namespace of the new Amber package. (amber-markfrequentwords)
> [?] Version (0.1.0)
> [?] Project git repository (git://github.com/user/amber.git)
> [?] Project homepage (https://github.com/user/amber)
> [?] Project issues tracker (https://github.com/user/amber/issues)
> [?] Author url (none)
> [?] Licenses (MIT)
> [?] Do you need to make any changes to the above before continuing? (y/N)
>
>
> Writing Gruntfile.js...OK
> Writing README.md...OK
> Writing deploy.js...OK
> Writing devel.js...OK
> Writing .gitignore...OK
> Writing index.html...OK
> Writing local.amd.json...OK
> Writing src/MarkFrequentWords.js...OK
> Writing src/MarkFrequentWords.st...OK
> Writing src/MarkFrequentWords-Tests.js...OK
> Writing src/MarkFrequentWords-Tests.st...OK
> Writing LICENSE-MIT...OK
> Writing package.json...OK
>
> Initialized from template "grunt-init-amber".
> You need to have these installed globally via npm: amber-cli_; _grunt-cli_;
> _bower. Now, install project dependencies with bower install, tool
> dependencies with npm install and optionally, recompile with grunt. If you
> are running amber init, these three tasks are going to be performed for you
> now. Afterwards, start the development server with amber serve. Your
> application is then accessible via http://localhost:4000/
>
> Done, without errors.
> ? May bower anonymously report usage statistics to improve the tool
> over time? (? May bower anonymously report usage statistics to improve
> the tool over time? No
> bower not-cached    git://github.com/amber-smalltalk/amber.git#^0.14.13
> bower resolve       git://github.com/amber-smalltalk/amber.git#^0.14.13
> bower not-cached
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
> bower resolve
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
> bower download
> https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
> bower not-cached
> git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
> bower resolve
> git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
> bower not-cached    git://github.com/amber-smalltalk/helios.git#^0.4.0
> bower resolve       git://github.com/amber-smalltalk/helios.git#^0.4.0
> bower download
> https://github.com/amber-smalltalk/amber-contrib-legacy/archive/0.2.0.tar.gz
> bower download
> https://github.com/amber-smalltalk/amber-ide-starter/archive/0.1.0.tar.gz
> bower download
> https://github.com/amber-smalltalk/helios/archive/0.4.3.tar.gz
> bower extract       amber-ide-starter-dialog#^0.1.0 archive.tar.gz
> bower invalid-meta  amber-ide-starter-dialog is missing "main" entry
> in bower.json
> bower resolved
> git://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0
> bower extract       amber-contrib-legacy#^0.2.0 archive.tar.gz
> bower invalid-meta  amber-contrib-legacy is missing "main" entry in
> bower.json
> bower resolved
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0
> bower not-cached    git://github.com/amber-smalltalk/amber.git#>=0.14.13
> bower resolve       git://github.com/amber-smalltalk/amber.git#>=0.14.13
> bower download
> https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
> bower not-cached    git://github.com/malsup/blockui.git#2.65
> bower resolve       git://github.com/malsup/blockui.git#2.65
> bower not-cached    git://github.com/ccampbell/mousetrap.git#^1.4.6
> bower resolve       git://github.com/ccampbell/mousetrap.git#^1.4.6
> bower not-cached    git://github.com/marijnh/CodeMirror.git#^4.7.0
> bower resolve       git://github.com/marijnh/CodeMirror.git#^4.7.0
> bower not-cached    git://github.com/components/jqueryui.git#>=1.9.2
> bower resolve       git://github.com/components/jqueryui.git#>=1.9.2
> bower not-cached    git://github.com/guybedford/require-css.git#^0.1.2
> bower resolve       git://github.com/guybedford/require-css.git#^0.1.2
> bower download      https://github.com/malsup/blockui/archive/2.65.tar.gz
> bower download
> https://github.com/ccampbell/mousetrap/archive/1.5.2.tar.gz
> bower download
> https://github.com/components/jqueryui/archive/1.11.4.tar.gz
> bower download
> https://github.com/guybedford/require-css/archive/0.1.8.tar.gz
> bower progress      amber#^0.14.13 received 0.6MB
> bower extract       helios#^0.4.0 archive.tar.gz
> bower progress      amber#^0.14.13 received 0.7MB
> bower download
> https://github.com/marijnh/CodeMirror/archive/4.13.0.tar.gz
> bower invalid-meta  helios is missing "main" entry in bower.json
> bower resolved      git://github.com/amber-smalltalk/helios.git#0.4.3
> bower progress      amber#^0.14.13 received 0.7MB
> bower extract       amber#^0.14.13 archive.tar.gz
> bower not-cached    git://github.com/jquery/jquery.git#>=1.7.0
> bower resolve       git://github.com/jquery/jquery.git#>=1.7.0
> bower resolved      git://github.com/amber-smalltalk/amber.git#0.14.13
> bower not-cached
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
> bower resolve
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
> bower not-cached    git://github.com/showdownjs/showdown.git#^0.3.1
> bower resolve       git://github.com/showdownjs/showdown.git#^0.3.1
> bower extract       blockui#2.65 archive.tar.gz
> bower invalid-meta  blockUI is missing "ignore" entry in bower.json
> bower resolved      git://github.com/malsup/blockui.git#2.65
> bower not-cached    git://github.com/jquery/jquery.git#>=1.7
> bower resolve       git://github.com/jquery/jquery.git#>=1.7
> bower extract       require-css#^0.1.2 archive.tar.gz
> bower resolved      git://github.com/guybedford/require-css.git#0.1.8
> bower download
> https://github.com/alonisser/bower-bootstrap-2.3.2-legacy/archive/v2.3.2.tar.gz
> bower download
> https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz
> bower extract       mousetrap#^1.4.6 archive.tar.gz
> bower invalid-meta  mousetrap is missing "main" entry in bower.json
> bower invalid-meta  mousetrap is missing "ignore" entry in bower.json
> bower resolved      git://github.com/ccampbell/mousetrap.git#1.5.2
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 20%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 23%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 26%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 28%
> bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded,
> 14%
> bower extract       showdown#^0.3.1 archive.tar.gz
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 31%
> bower resolved      git://github.com/showdownjs/showdown.git#0.3.4
> bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
> bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
> bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded,
> 16%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 34%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 36%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 39%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 18%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 37%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 43%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 41%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 20%
> bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded,
> 47%
> bower progress      bootstrap2.3.2#^2.3.2 received 0.2MB
> bower extract       bootstrap2.3.2#^2.3.2 archive.tar.gz
> bower invalid-meta  bootstrap2.3.2 is missing "ignore" entry in bower.json
> bower resolved
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2
> bower not-cached    git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
> bower resolve       git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
> bower download      https://github.com/jquery/jquery/archive/2.0.3.tar.gz
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 44%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 21%
> bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded,
> 49%
>
> .....  [snip]  .....
>
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 80%
> bower extract       codemirror#^4.7.0 archive.tar.gz
> bower progress      jquery#>=1.7 received 0.3MB of 0.6MB downloaded, 54%
> bower progress      jquery#>=1.7.0 received 0.4MB of 0.6MB downloaded, 71%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 47%
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 83%
> bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 64%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 49%
> bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 73%
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 86%
> bower resolved      git://github.com/marijnh/CodeMirror.git#4.13.0
> bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 67%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 51%
> bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 75%
> bower progress      amber#>=0.14.13 received 0.7MB of 0.7MB downloaded, 89%
> bower progress      jquery#>=1.7 received 0.5MB of 0.6MB downloaded, 72%
>
> .....  [snip]  .....
>
> bower extract       jquery#>=1.7.0 archive.tar.gz
> bower progress      jquery#>=1.8.0 <2.1.0 received 0.4MB of 0.5MB
> downloaded, 94%
> bower progress      jquery-ui#>=1.9.2 received 1.2MB of 1.5MB downloaded,
> 84%
> bower extract       jquery#>=1.8.0 <2.1.0 archive.tar.gz
> bower invalid-meta  jquery is missing "ignore" entry in bower.json
> bower resolved      git://github.com/jquery/jquery.git#2.0.3
> bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded,
> 88%
> bower resolved      git://github.com/jquery/jquery.git#2.1.3
> bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded,
> 92%
> bower progress      jquery-ui#>=1.9.2 received 1.4MB of 1.5MB downloaded,
> 95%
> bower progress      jquery-ui#>=1.9.2 received 1.5MB of 1.5MB downloaded,
> 99%
> bower extract       jquery-ui#>=1.9.2 archive.tar.gz
> bower resolved      git://github.com/components/jqueryui.git#1.11.4
> bower install       amber-ide-starter-dialog#0.1.0
> bower install       amber-contrib-legacy#0.2.0
> bower install       helios#0.4.3
> bower install       amber#0.14.13
> bower install       blockui#2.65
> bower install       require-css#0.1.8
> bower install       mousetrap#1.5.2
> bower install       showdown#0.3.4
> bower install       bootstrap2.3.2#2.3.2
> bower install       codemirror#4.13.0
> bower install       jquery#2.0.3
> bower install       jquery-ui#1.11.4
>
> amber-ide-starter-dialog#0.1.0 bower_components/amber-ide-starter-dialog
> ├── blockui#2.65
> └── mousetrap#1.5.2
>
> amber-contrib-legacy#0.2.0 bower_components/amber-contrib-legacy
> ├── amber#0.14.13
> ├── codemirror#4.13.0
> ├── jquery-ui#1.11.4
> └── require-css#0.1.8
>
> helios#0.4.3 bower_components/helios
> ├── amber#0.14.13
> ├── bootstrap2.3.2#2.3.2
> ├── codemirror#4.13.0
> ├── jquery#2.0.3
> ├── jquery-ui#1.11.4
> ├── require-css#0.1.8
> └── showdown#0.3.4
>
> amber#0.14.13 bower_components/amber
> └── jquery#2.0.3
>
> blockui#2.65 bower_components/blockui
> └── jquery#2.0.3
>
> require-css#0.1.8 bower_components/require-css
>
> mousetrap#1.5.2 bower_components/mousetrap
>
> showdown#0.3.4 bower_components/showdown
>
> bootstrap2.3.2#2.3.2 bower_components/bootstrap2.3.2
> └── jquery#2.0.3
>
> codemirror#4.13.0 bower_components/codemirror
>
> jquery#2.0.3 bower_components/jquery
>
> jquery-ui#1.11.4 bower_components/jquery-ui
> └── jquery#2.0.3
> npm install exec error:
> { [Error: Command failed: npm http GET
> https://registry.npmjs.org/grunt-contrib-clean
> npm http GET https://registry.npmjs.org/grunt-execute
> npm http GET https://registry.npmjs.org/requirejs
> npm http GET https://registry.npmjs.org/grunt-contrib-requirejs
> npm http GET https://registry.npmjs.org/grunt
> npm http GET https://registry.npmjs.org/amber-dev
> npm http 304 https://registry.npmjs.org/grunt
> npm http 200 https://registry.npmjs.org/grunt-execute
> npm ERR! Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
> npm ERR!  { [Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb']
> npm ERR!   errno: 3,
> npm ERR!   code: 'EACCES',
> npm ERR!   path: '/home/user/tmp/npm-11167-f_3rwQTb' }
> npm ERR!
> npm ERR! Please try running this command again as root/Administrator.
>
> npm ERR! System Linux 3.16.0-29-generic
> npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
> npm ERR! cwd /home/user/Documents/amber
> npm ERR! node -v v0.10.25
> npm ERR! npm -v 1.3.10
> npm ERR! path /home/user/tmp/npm-11167-f_3rwQTb
> npm ERR! code EACCES
> npm ERR! errno 3
> npm ERR! stack Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
> npm http 304 https://registry.npmjs.org/amber-dev
> npm http 200 https://registry.npmjs.org/requirejs
> npm http 200 https://registry.npmjs.org/grunt-contrib-clean
> npm http 200 https://registry.npmjs.org/grunt-contrib-requirejs
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     /home/user/Documents/amber/npm-debug.log
> npm ERR! not ok code 0
> ] killed: false, code: 3, signal: null }
>
>
> On 4/7/15, Manfred Kröhnert <[hidden email]> wrote:
>> Hi Herby,
>>
>> On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]> wrote:
>>
>>>
>>>
>>> H. Hirzel wrote:
>>>
>>>> On 4/4/15, Shaping<[hidden email]>  wrote:
>>>>
>>>>> Hi folks.
>>>>>
>>>>> Can someone tell me whether the Amber "Getting Started" procedure
>>>>> really
>>>>> works.  I sent an e-mail to Nico, asking about whether the procedure
>>>>> has
>>>>> been tested/updated recently.  He said to ask here and that he is not
>>>>> longer working on Amber.  I could not get Amber working.  Can someone
>>>>> point
>>>>>
>>>>> me to the most reliable setup procedure.  The quick start did not work
>>>>> for
>>>>> me.
>>>>>
>>>>
>>>> https://github.com/amber-smalltalk/amber#getting-amber
>>>>
>>>> after
>>>>
>>>>       amber init
>>>>
>>>> I had to do
>>>>
>>>>       npm install
>>>>
>>>> and
>>>>
>>>>       bower install
>>>>
>>>
>>> That's strange. You should not have to, amber init runs both of them for
>>> you...
>>
>>
>>
>> bower and npm are definitely run by amber init with the latest release of
>> amber-cli on my machine.
>>
>> @Hannes please recheck the output of amber init as it should contain both
>> bower install and npm install output.
>> If not this would be some strange bug in your setup which we should then
>> identify.
>>
>> 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.
>>
>

--
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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Manfred Kröhnert
Dear Hannes,



On Wed, Apr 8, 2015 at 4:53 PM, H. Hirzel <[hidden email]> wrote:
P.S.

The following commands in addition

    sudo npm install

Please don't install packages inside user projects with sudo (check the previous discussions on this mailinglist and the issue tracker).
The problems you are having are not related to 'amber init' but result from using npm "incorrectly".


If you check the amber init output of your previous email you will see the following line:

npm ERR! Error: EACCES, mkdir '/home/user/tmp/...'

Instead of circumventing this error by using sudo you should check why you don't have access to the tmp directory inside your HOME directory.
This is probably due to the fact that you have been using 'sudo npm' before wich creates the tmp directory using root permissions.

In general, it would be better to install the tools local to the user account (without sudo) as described here (https://github.com/philippeback/amber-book/blob/master/Book/Amber-Installing.pillar#L45):

npm config set prefix=~/npm
export PATH="$PATH:$HOME/npm/bin"
npm -g install grunt-cli bower amber-cli

Afterwards you should not have the issues as you described them.

Best regards,
Manfred

 
    bower install
    grunt devel
    amber serve

make it run fine.

On 4/8/15, H. Hirzel <[hidden email]> wrote:
> @Manfred, thank you for answering.
>
> A problem with the first installation test of 0.14.13 was that I did
> not have git installed and the complaint that it is missing came
> comparatively late. I did not take note of it when.
>
> So I did a second test with a pristine installation. It still has problems.
>
>     sudo apt-get install git
>     sudo apt-get install nodejs
>     sudo apt-get install npm
>     sudo ln -s /usr/bin/nodejs /usr/bin/node
>     sudo npm install -g amber-cli bower grunt-cli
>     cd Documents/
>     mkdir amber
>     cd amber
>     amber init
>
> The log is below.  Best wishes
>
> --Hannes
>
>
>
> user@user-Latitude-E6400 ~/Documents/amber $ amber init
> Welcome to Amber version 0.15.0-pre (NodeJS 0.10.25).
> Running
> "init:/usr/local/lib/node_modules/amber-cli/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 title (Application or Library Title) Mark frequent words
> [?] Main class and package of Amber application.
> Project name is derived by lowercasing this. (MarkFrequentWords)
> [?] Description (The Application or The Library doing The Thing.) Mark
> sight words (frequent words) in a text.
> [?] Author name (none) Hannes Hirzel
> [?] Author email (none) [hidden email]
> [?] Namespace of the new Amber package. (amber-markfrequentwords)
> [?] Version (0.1.0)
> [?] Project git repository (git://github.com/user/amber.git)
> [?] Project homepage (https://github.com/user/amber)
> [?] Project issues tracker (https://github.com/user/amber/issues)
> [?] Author url (none)
> [?] Licenses (MIT)
> [?] Do you need to make any changes to the above before continuing? (y/N)
>
>
> Writing Gruntfile.js...OK
> Writing README.md...OK
> Writing deploy.js...OK
> Writing devel.js...OK
> Writing .gitignore...OK
> Writing index.html...OK
> Writing local.amd.json...OK
> Writing src/MarkFrequentWords.js...OK
> Writing src/MarkFrequentWords.st...OK
> Writing src/MarkFrequentWords-Tests.js...OK
> Writing src/MarkFrequentWords-Tests.st...OK
> Writing LICENSE-MIT...OK
> Writing package.json...OK
>
> Initialized from template "grunt-init-amber".
> You need to have these installed globally via npm: amber-cli_; _grunt-cli_;
> _bower. Now, install project dependencies with bower install, tool
> dependencies with npm install and optionally, recompile with grunt. If you
> are running amber init, these three tasks are going to be performed for you
> now. Afterwards, start the development server with amber serve. Your
> application is then accessible via http://localhost:4000/
>
> Done, without errors.
> ? May bower anonymously report usage statistics to improve the tool
> over time? (? May bower anonymously report usage statistics to improve
> the tool over time? No
> bower not-cached    git://github.com/amber-smalltalk/amber.git#^0.14.13
> bower resolve       git://github.com/amber-smalltalk/amber.git#^0.14.13
> bower not-cached
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
> bower resolve
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
> bower download
> https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
> bower not-cached
> git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
> bower resolve
> git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
> bower not-cached    git://github.com/amber-smalltalk/helios.git#^0.4.0
> bower resolve       git://github.com/amber-smalltalk/helios.git#^0.4.0
> bower download
> https://github.com/amber-smalltalk/amber-contrib-legacy/archive/0.2.0.tar.gz
> bower download
> https://github.com/amber-smalltalk/amber-ide-starter/archive/0.1.0.tar.gz
> bower download
> https://github.com/amber-smalltalk/helios/archive/0.4.3.tar.gz
> bower extract       amber-ide-starter-dialog#^0.1.0 archive.tar.gz
> bower invalid-meta  amber-ide-starter-dialog is missing "main" entry
> in bower.json
> bower resolved
> git://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0
> bower extract       amber-contrib-legacy#^0.2.0 archive.tar.gz
> bower invalid-meta  amber-contrib-legacy is missing "main" entry in
> bower.json
> bower resolved
> git://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0
> bower not-cached    git://github.com/amber-smalltalk/amber.git#>=0.14.13
> bower resolve       git://github.com/amber-smalltalk/amber.git#>=0.14.13
> bower download
> https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
> bower not-cached    git://github.com/malsup/blockui.git#2.65
> bower resolve       git://github.com/malsup/blockui.git#2.65
> bower not-cached    git://github.com/ccampbell/mousetrap.git#^1.4.6
> bower resolve       git://github.com/ccampbell/mousetrap.git#^1.4.6
> bower not-cached    git://github.com/marijnh/CodeMirror.git#^4.7.0
> bower resolve       git://github.com/marijnh/CodeMirror.git#^4.7.0
> bower not-cached    git://github.com/components/jqueryui.git#>=1.9.2
> bower resolve       git://github.com/components/jqueryui.git#>=1.9.2
> bower not-cached    git://github.com/guybedford/require-css.git#^0.1.2
> bower resolve       git://github.com/guybedford/require-css.git#^0.1.2
> bower download      https://github.com/malsup/blockui/archive/2.65.tar.gz
> bower download
> https://github.com/ccampbell/mousetrap/archive/1.5.2.tar.gz
> bower download
> https://github.com/components/jqueryui/archive/1.11.4.tar.gz
> bower download
> https://github.com/guybedford/require-css/archive/0.1.8.tar.gz
> bower progress      amber#^0.14.13 received 0.6MB
> bower extract       helios#^0.4.0 archive.tar.gz
> bower progress      amber#^0.14.13 received 0.7MB
> bower download
> https://github.com/marijnh/CodeMirror/archive/4.13.0.tar.gz
> bower invalid-meta  helios is missing "main" entry in bower.json
> bower resolved      git://github.com/amber-smalltalk/helios.git#0.4.3
> bower progress      amber#^0.14.13 received 0.7MB
> bower extract       amber#^0.14.13 archive.tar.gz
> bower not-cached    git://github.com/jquery/jquery.git#>=1.7.0
> bower resolve       git://github.com/jquery/jquery.git#>=1.7.0
> bower resolved      git://github.com/amber-smalltalk/amber.git#0.14.13
> bower not-cached
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
> bower resolve
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
> bower not-cached    git://github.com/showdownjs/showdown.git#^0.3.1
> bower resolve       git://github.com/showdownjs/showdown.git#^0.3.1
> bower extract       blockui#2.65 archive.tar.gz
> bower invalid-meta  blockUI is missing "ignore" entry in bower.json
> bower resolved      git://github.com/malsup/blockui.git#2.65
> bower not-cached    git://github.com/jquery/jquery.git#>=1.7
> bower resolve       git://github.com/jquery/jquery.git#>=1.7
> bower extract       require-css#^0.1.2 archive.tar.gz
> bower resolved      git://github.com/guybedford/require-css.git#0.1.8
> bower download
> https://github.com/alonisser/bower-bootstrap-2.3.2-legacy/archive/v2.3.2.tar.gz
> bower download
> https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz
> bower extract       mousetrap#^1.4.6 archive.tar.gz
> bower invalid-meta  mousetrap is missing "main" entry in bower.json
> bower invalid-meta  mousetrap is missing "ignore" entry in bower.json
> bower resolved      git://github.com/ccampbell/mousetrap.git#1.5.2
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 20%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 23%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 26%
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 28%
> bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded,
> 14%
> bower extract       showdown#^0.3.1 archive.tar.gz
> bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded, 31%
> bower resolved      git://github.com/showdownjs/showdown.git#0.3.4
> bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
> bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
> bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB downloaded,
> 16%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 34%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 36%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 39%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 18%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 37%
> bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB downloaded,
> 43%
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 41%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 20%
> bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded,
> 47%
> bower progress      bootstrap2.3.2#^2.3.2 received 0.2MB
> bower extract       bootstrap2.3.2#^2.3.2 archive.tar.gz
> bower invalid-meta  bootstrap2.3.2 is missing "ignore" entry in bower.json
> bower resolved
> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2
> bower not-cached    git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
> bower resolve       git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
> bower download      https://github.com/jquery/jquery/archive/2.0.3.tar.gz
> bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded, 44%
> bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB downloaded,
> 21%
> bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB downloaded,
> 49%
>
> .....  [snip]  .....
>
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 80%
> bower extract       codemirror#^4.7.0 archive.tar.gz
> bower progress      jquery#>=1.7 received 0.3MB of 0.6MB downloaded, 54%
> bower progress      jquery#>=1.7.0 received 0.4MB of 0.6MB downloaded, 71%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 47%
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 83%
> bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 64%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 49%
> bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 73%
> bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded, 86%
> bower resolved      git://github.com/marijnh/CodeMirror.git#4.13.0
> bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded, 67%
> bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB downloaded,
> 51%
> bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded, 75%
> bower progress      amber#>=0.14.13 received 0.7MB of 0.7MB downloaded, 89%
> bower progress      jquery#>=1.7 received 0.5MB of 0.6MB downloaded, 72%
>
> .....  [snip]  .....
>
> bower extract       jquery#>=1.7.0 archive.tar.gz
> bower progress      jquery#>=1.8.0 <2.1.0 received 0.4MB of 0.5MB
> downloaded, 94%
> bower progress      jquery-ui#>=1.9.2 received 1.2MB of 1.5MB downloaded,
> 84%
> bower extract       jquery#>=1.8.0 <2.1.0 archive.tar.gz
> bower invalid-meta  jquery is missing "ignore" entry in bower.json
> bower resolved      git://github.com/jquery/jquery.git#2.0.3
> bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded,
> 88%
> bower resolved      git://github.com/jquery/jquery.git#2.1.3
> bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB downloaded,
> 92%
> bower progress      jquery-ui#>=1.9.2 received 1.4MB of 1.5MB downloaded,
> 95%
> bower progress      jquery-ui#>=1.9.2 received 1.5MB of 1.5MB downloaded,
> 99%
> bower extract       jquery-ui#>=1.9.2 archive.tar.gz
> bower resolved      git://github.com/components/jqueryui.git#1.11.4
> bower install       amber-ide-starter-dialog#0.1.0
> bower install       amber-contrib-legacy#0.2.0
> bower install       helios#0.4.3
> bower install       amber#0.14.13
> bower install       blockui#2.65
> bower install       require-css#0.1.8
> bower install       mousetrap#1.5.2
> bower install       showdown#0.3.4
> bower install       bootstrap2.3.2#2.3.2
> bower install       codemirror#4.13.0
> bower install       jquery#2.0.3
> bower install       jquery-ui#1.11.4
>
> amber-ide-starter-dialog#0.1.0 bower_components/amber-ide-starter-dialog
> ├── blockui#2.65
> └── mousetrap#1.5.2
>
> amber-contrib-legacy#0.2.0 bower_components/amber-contrib-legacy
> ├── amber#0.14.13
> ├── codemirror#4.13.0
> ├── jquery-ui#1.11.4
> └── require-css#0.1.8
>
> helios#0.4.3 bower_components/helios
> ├── amber#0.14.13
> ├── bootstrap2.3.2#2.3.2
> ├── codemirror#4.13.0
> ├── jquery#2.0.3
> ├── jquery-ui#1.11.4
> ├── require-css#0.1.8
> └── showdown#0.3.4
>
> amber#0.14.13 bower_components/amber
> └── jquery#2.0.3
>
> blockui#2.65 bower_components/blockui
> └── jquery#2.0.3
>
> require-css#0.1.8 bower_components/require-css
>
> mousetrap#1.5.2 bower_components/mousetrap
>
> showdown#0.3.4 bower_components/showdown
>
> bootstrap2.3.2#2.3.2 bower_components/bootstrap2.3.2
> └── jquery#2.0.3
>
> codemirror#4.13.0 bower_components/codemirror
>
> jquery#2.0.3 bower_components/jquery
>
> jquery-ui#1.11.4 bower_components/jquery-ui
> └── jquery#2.0.3
> npm install exec error:
> { [Error: Command failed: npm http GET
> https://registry.npmjs.org/grunt-contrib-clean
> npm http GET https://registry.npmjs.org/grunt-execute
> npm http GET https://registry.npmjs.org/requirejs
> npm http GET https://registry.npmjs.org/grunt-contrib-requirejs
> npm http GET https://registry.npmjs.org/grunt
> npm http GET https://registry.npmjs.org/amber-dev
> npm http 304 https://registry.npmjs.org/grunt
> npm http 200 https://registry.npmjs.org/grunt-execute
> npm ERR! Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
> npm ERR!  { [Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb']
> npm ERR!   errno: 3,
> npm ERR!   code: 'EACCES',
> npm ERR!   path: '/home/user/tmp/npm-11167-f_3rwQTb' }
> npm ERR!
> npm ERR! Please try running this command again as root/Administrator.
>
> npm ERR! System Linux 3.16.0-29-generic
> npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
> npm ERR! cwd /home/user/Documents/amber
> npm ERR! node -v v0.10.25
> npm ERR! npm -v 1.3.10
> npm ERR! path /home/user/tmp/npm-11167-f_3rwQTb
> npm ERR! code EACCES
> npm ERR! errno 3
> npm ERR! stack Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
> npm http 304 https://registry.npmjs.org/amber-dev
> npm http 200 https://registry.npmjs.org/requirejs
> npm http 200 https://registry.npmjs.org/grunt-contrib-clean
> npm http 200 https://registry.npmjs.org/grunt-contrib-requirejs
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR!     /home/user/Documents/amber/npm-debug.log
> npm ERR! not ok code 0
> ] killed: false, code: 3, signal: null }
>
>
> On 4/7/15, Manfred Kröhnert <[hidden email]> wrote:
>> Hi Herby,
>>
>> On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]> wrote:
>>
>>>
>>>
>>> H. Hirzel wrote:
>>>
>>>> On 4/4/15, Shaping<[hidden email]>  wrote:
>>>>
>>>>> Hi folks.
>>>>>
>>>>> Can someone tell me whether the Amber "Getting Started" procedure
>>>>> really
>>>>> works.  I sent an e-mail to Nico, asking about whether the procedure
>>>>> has
>>>>> been tested/updated recently.  He said to ask here and that he is not
>>>>> longer working on Amber.  I could not get Amber working.  Can someone
>>>>> point
>>>>>
>>>>> me to the most reliable setup procedure.  The quick start did not work
>>>>> for
>>>>> me.
>>>>>
>>>>
>>>> https://github.com/amber-smalltalk/amber#getting-amber
>>>>
>>>> after
>>>>
>>>>       amber init
>>>>
>>>> I had to do
>>>>
>>>>       npm install
>>>>
>>>> and
>>>>
>>>>       bower install
>>>>
>>>
>>> That's strange. You should not have to, amber init runs both of them for
>>> you...
>>
>>
>>
>> bower and npm are definitely run by amber init with the latest release of
>> amber-cli on my machine.
>>
>> @Hannes please recheck the output of amber init as it should contain both
>> bower install and npm install output.
>> If not this would be some strange bug in your setup which we should then
>> identify.
>>
>> 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.
>>
>

--
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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Herby Vojčík


Manfred Kröhnert wrote:

> Dear Hannes,
>
>
>
> On Wed, Apr 8, 2015 at 4:53 PM, H. Hirzel <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     P.S.
>
>     The following commands in addition
>
>          sudo npm install
>
>
> Please don't install packages inside user projects with sudo (check the
> previous discussions on this mailinglist and the issue tracker).
> The problems you are having are not related to 'amber init' but result
> from using npm "incorrectly".
>
>
> If you check the amber init output of your previous email you will see
> the following line:
>
> npm ERR! Error: EACCES, mkdir '/home/user/tmp/...'
>
> Instead of circumventing this error by using sudo you should check why
> you don't have access to the tmp directory inside your HOME directory.
> This is probably due to the fact that you have been using 'sudo npm'
> before wich creates the tmp directory using root permissions.

I don't use unix often and when I use, I use it always incorrectly with
sudo (by which I am not endorsing it), but I don't get this error. This
seems to be the result of combination of using npm sometimes with sudo
and sometimes not.

It is better to do it by setting -g installation place to ~/npm as you
suggest below and use that consistently.

> In general, it would be better to install the tools local to the user
> account (without sudo) as described here
> (https://github.com/philippeback/amber-book/blob/master/Book/Amber-Installing.pillar#L45):
>
> npm config set prefix=~/npm
> export PATH="$PATH:$HOME/npm/bin"
> npm -g install grunt-cli bower amber-cli
>
> Afterwards you should not have the issues as you described them.
>
> Best regards,
> Manfred
>
>          bower install
>          grunt devel
>          amber serve
>
>     make it run fine.
>
>     On 4/8/15, H. Hirzel <[hidden email]
>     <mailto:[hidden email]>> wrote:
>      > @Manfred, thank you for answering.
>      >
>      > A problem with the first installation test of 0.14.13 was that I did
>      > not have git installed and the complaint that it is missing came
>      > comparatively late. I did not take note of it when.
>      >
>      > So I did a second test with a pristine installation. It still has
>     problems.
>      >
>      >     sudo apt-get install git
>      >     sudo apt-get install nodejs
>      >     sudo apt-get install npm
>      >     sudo ln -s /usr/bin/nodejs /usr/bin/node
>      >     sudo npm install -g amber-cli bower grunt-cli
>      >     cd Documents/
>      >     mkdir amber
>      >     cd amber
>      >     amber init
>      >
>      > The log is below.  Best wishes
>      >
>      > --Hannes
>      >
>      >
>      >
>      > user@user-Latitude-E6400 ~/Documents/amber $ amber init
>      > Welcome to Amber version 0.15.0-pre (NodeJS 0.10.25).
>      > Running
>      >
>     "init:/usr/local/lib/node_modules/amber-cli/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 title (Application or Library Title) Mark frequent words
>      > [?] Main class and package of Amber application.
>      > Project name is derived by lowercasing this. (MarkFrequentWords)
>      > [?] Description (The Application or The Library doing The Thing.)
>     Mark
>      > sight words (frequent words) in a text.
>      > [?] Author name (none) Hannes Hirzel
>      > [?] Author email (none) [hidden email]
>     <mailto:[hidden email]>
>      > [?] Namespace of the new Amber package. (amber-markfrequentwords)
>      > [?] Version (0.1.0)
>      > [?] Project git repository (git://github.com/user/amber.git
>     <http://github.com/user/amber.git>)
>      > [?] Project homepage (https://github.com/user/amber)
>      > [?] Project issues tracker (https://github.com/user/amber/issues)
>      > [?] Author url (none)
>      > [?] Licenses (MIT)
>      > [?] Do you need to make any changes to the above before
>     continuing? (y/N)
>      >
>      >
>      > Writing Gruntfile.js...OK
>      > Writing README.md...OK
>      > Writing deploy.js...OK
>      > Writing devel.js...OK
>      > Writing .gitignore...OK
>      > Writing index.html...OK
>      > Writing local.amd.json...OK
>      > Writing src/MarkFrequentWords.js...OK
>      > Writing src/MarkFrequentWords.st...OK
>      > Writing src/MarkFrequentWords-Tests.js...OK
>      > Writing src/MarkFrequentWords-Tests.st...OK
>      > Writing LICENSE-MIT...OK
>      > Writing package.json...OK
>      >
>      > Initialized from template "grunt-init-amber".
>      > You need to have these installed globally via npm: amber-cli_;
>     _grunt-cli_;
>      > _bower. Now, install project dependencies with bower install, tool
>      > dependencies with npm install and optionally, recompile with
>     grunt. If you
>      > are running amber init, these three tasks are going to be
>     performed for you
>      > now. Afterwards, start the development server with amber serve. Your
>      > application is then accessible via http://localhost:4000/
>      >
>      > Done, without errors.
>      > ? May bower anonymously report usage statistics to improve the tool
>      > over time? (? May bower anonymously report usage statistics to
>     improve
>      > the tool over time? No
>      > bower not-cached    git://github.com/amber-smalltalk/amber.git#
>     <http://github.com/amber-smalltalk/amber.git#>^0.14.13
>      > bower resolve       git://github.com/amber-smalltalk/amber.git#
>     <http://github.com/amber-smalltalk/amber.git#>^0.14.13
>      > bower not-cached
>      > git://github.com/amber-smalltalk/amber-contrib-legacy.git#
>     <http://github.com/amber-smalltalk/amber-contrib-legacy.git#>^0.2.0
>      > bower resolve
>      > git://github.com/amber-smalltalk/amber-contrib-legacy.git#
>     <http://github.com/amber-smalltalk/amber-contrib-legacy.git#>^0.2.0
>      > bower download
>      > https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
>      > bower not-cached
>      > git://github.com/amber-smalltalk/amber-ide-starter.git#
>     <http://github.com/amber-smalltalk/amber-ide-starter.git#>^0.1.0
>      > bower resolve
>      > git://github.com/amber-smalltalk/amber-ide-starter.git#
>     <http://github.com/amber-smalltalk/amber-ide-starter.git#>^0.1.0
>      > bower not-cached    git://github.com/amber-smalltalk/helios.git#
>     <http://github.com/amber-smalltalk/helios.git#>^0.4.0
>      > bower resolve       git://github.com/amber-smalltalk/helios.git#
>     <http://github.com/amber-smalltalk/helios.git#>^0.4.0
>      > bower download
>      >
>     https://github.com/amber-smalltalk/amber-contrib-legacy/archive/0.2.0.tar.gz
>      > bower download
>      >
>     https://github.com/amber-smalltalk/amber-ide-starter/archive/0.1.0.tar.gz
>      > bower download
>      > https://github.com/amber-smalltalk/helios/archive/0.4.3.tar.gz
>      > bower extract       amber-ide-starter-dialog#^0.1.0 archive.tar.gz
>      > bower invalid-meta  amber-ide-starter-dialog is missing "main" entry
>      > in bower.json
>      > bower resolved
>      > git://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0
>     <http://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0>
>      > bower extract       amber-contrib-legacy#^0.2.0 archive.tar.gz
>      > bower invalid-meta  amber-contrib-legacy is missing "main" entry in
>      > bower.json
>      > bower resolved
>      > git://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0
>     <http://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0>
>      > bower not-cached    git://github.com/amber-smalltalk/amber.git#
>     <http://github.com/amber-smalltalk/amber.git#>>=0.14.13
>      > bower resolve       git://github.com/amber-smalltalk/amber.git#
>     <http://github.com/amber-smalltalk/amber.git#>>=0.14.13
>      > bower download
>      > https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
>      > bower not-cached    git://github.com/malsup/blockui.git#2.65
>     <http://github.com/malsup/blockui.git#2.65>
>      > bower resolve       git://github.com/malsup/blockui.git#2.65
>     <http://github.com/malsup/blockui.git#2.65>
>      > bower not-cached    git://github.com/ccampbell/mousetrap.git#
>     <http://github.com/ccampbell/mousetrap.git#>^1.4.6
>      > bower resolve       git://github.com/ccampbell/mousetrap.git#
>     <http://github.com/ccampbell/mousetrap.git#>^1.4.6
>      > bower not-cached    git://github.com/marijnh/CodeMirror.git#
>     <http://github.com/marijnh/CodeMirror.git#>^4.7.0
>      > bower resolve       git://github.com/marijnh/CodeMirror.git#
>     <http://github.com/marijnh/CodeMirror.git#>^4.7.0
>      > bower not-cached    git://github.com/components/jqueryui.git#
>     <http://github.com/components/jqueryui.git#>>=1.9.2
>      > bower resolve       git://github.com/components/jqueryui.git#
>     <http://github.com/components/jqueryui.git#>>=1.9.2
>      > bower not-cached    git://github.com/guybedford/require-css.git#
>     <http://github.com/guybedford/require-css.git#>^0.1.2
>      > bower resolve       git://github.com/guybedford/require-css.git#
>     <http://github.com/guybedford/require-css.git#>^0.1.2
>      > bower download https://github.com/malsup/blockui/archive/2.65.tar.gz
>      > bower download
>      > https://github.com/ccampbell/mousetrap/archive/1.5.2.tar.gz
>      > bower download
>      > https://github.com/components/jqueryui/archive/1.11.4.tar.gz
>      > bower download
>      > https://github.com/guybedford/require-css/archive/0.1.8.tar.gz
>      > bower progress      amber#^0.14.13 received 0.6MB
>      > bower extract       helios#^0.4.0 archive.tar.gz
>      > bower progress      amber#^0.14.13 received 0.7MB
>      > bower download
>      > https://github.com/marijnh/CodeMirror/archive/4.13.0.tar.gz
>      > bower invalid-meta  helios is missing "main" entry in bower.json
>      > bower resolved
>     git://github.com/amber-smalltalk/helios.git#0.4.3
>     <http://github.com/amber-smalltalk/helios.git#0.4.3>
>      > bower progress      amber#^0.14.13 received 0.7MB
>      > bower extract       amber#^0.14.13 archive.tar.gz
>      > bower not-cached    git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.7.0
>      > bower resolve       git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.7.0
>      > bower resolved
>     git://github.com/amber-smalltalk/amber.git#0.14.13
>     <http://github.com/amber-smalltalk/amber.git#0.14.13>
>      > bower not-cached
>      > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#
>     <http://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#>^2.3.2
>      > bower resolve
>      > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#
>     <http://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#>^2.3.2
>      > bower not-cached    git://github.com/showdownjs/showdown.git#
>     <http://github.com/showdownjs/showdown.git#>^0.3.1
>      > bower resolve       git://github.com/showdownjs/showdown.git#
>     <http://github.com/showdownjs/showdown.git#>^0.3.1
>      > bower extract       blockui#2.65 archive.tar.gz
>      > bower invalid-meta  blockUI is missing "ignore" entry in bower.json
>      > bower resolved      git://github.com/malsup/blockui.git#2.65
>     <http://github.com/malsup/blockui.git#2.65>
>      > bower not-cached    git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.7
>      > bower resolve       git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.7
>      > bower extract       require-css#^0.1.2 archive.tar.gz
>      > bower resolved
>     git://github.com/guybedford/require-css.git#0.1.8
>     <http://github.com/guybedford/require-css.git#0.1.8>
>      > bower download
>      >
>     https://github.com/alonisser/bower-bootstrap-2.3.2-legacy/archive/v2.3.2.tar.gz
>      > bower download
>      > https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz
>      > bower extract       mousetrap#^1.4.6 archive.tar.gz
>      > bower invalid-meta  mousetrap is missing "main" entry in bower.json
>      > bower invalid-meta  mousetrap is missing "ignore" entry in bower.json
>      > bower resolved
>     git://github.com/ccampbell/mousetrap.git#1.5.2
>     <http://github.com/ccampbell/mousetrap.git#1.5.2>
>      > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB
>     downloaded, 20%
>      > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB
>     downloaded, 23%
>      > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB
>     downloaded, 26%
>      > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB
>     downloaded, 28%
>      > bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB
>     downloaded,
>      > 14%
>      > bower extract       showdown#^0.3.1 archive.tar.gz
>      > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB
>     downloaded, 31%
>      > bower resolved
>     git://github.com/showdownjs/showdown.git#0.3.4
>     <http://github.com/showdownjs/showdown.git#0.3.4>
>      > bower download https://github.com/jquery/jquery/archive/2.1.3.tar.gz
>      > bower download https://github.com/jquery/jquery/archive/2.1.3.tar.gz
>      > bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB
>     downloaded,
>      > 16%
>      > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB
>     downloaded, 34%
>      > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>     downloaded,
>      > 36%
>      > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>     downloaded,
>      > 39%
>      > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>     downloaded,
>      > 18%
>      > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB
>     downloaded, 37%
>      > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>     downloaded,
>      > 43%
>      > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB
>     downloaded, 41%
>      > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>     downloaded,
>      > 20%
>      > bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB
>     downloaded,
>      > 47%
>      > bower progress      bootstrap2.3.2#^2.3.2 received 0.2MB
>      > bower extract       bootstrap2.3.2#^2.3.2 archive.tar.gz
>      > bower invalid-meta  bootstrap2.3.2 is missing "ignore" entry in
>     bower.json
>      > bower resolved
>      > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2
>     <http://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2>
>      > bower not-cached    git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.8.0 <2.1.0
>      > bower resolve       git://github.com/jquery/jquery.git#
>     <http://github.com/jquery/jquery.git#>>=1.8.0 <2.1.0
>      > bower download https://github.com/jquery/jquery/archive/2.0.3.tar.gz
>      > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB
>     downloaded, 44%
>      > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>     downloaded,
>      > 21%
>      > bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB
>     downloaded,
>      > 49%
>      >
>      > .....  [snip]  .....
>      >
>      > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB
>     downloaded, 80%
>      > bower extract       codemirror#^4.7.0 archive.tar.gz
>      > bower progress      jquery#>=1.7 received 0.3MB of 0.6MB
>     downloaded, 54%
>      > bower progress      jquery#>=1.7.0 received 0.4MB of 0.6MB
>     downloaded, 71%
>      > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>     downloaded,
>      > 47%
>      > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB
>     downloaded, 83%
>      > bower progress      jquery#>=1.7 received 0.4MB of 0.6MB
>     downloaded, 64%
>      > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>     downloaded,
>      > 49%
>      > bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB
>     downloaded, 73%
>      > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB
>     downloaded, 86%
>      > bower resolved
>     git://github.com/marijnh/CodeMirror.git#4.13.0
>     <http://github.com/marijnh/CodeMirror.git#4.13.0>
>      > bower progress      jquery#>=1.7 received 0.4MB of 0.6MB
>     downloaded, 67%
>      > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>     downloaded,
>      > 51%
>      > bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB
>     downloaded, 75%
>      > bower progress      amber#>=0.14.13 received 0.7MB of 0.7MB
>     downloaded, 89%
>      > bower progress      jquery#>=1.7 received 0.5MB of 0.6MB
>     downloaded, 72%
>      >
>      > .....  [snip]  .....
>      >
>      > bower extract       jquery#>=1.7.0 archive.tar.gz
>      > bower progress      jquery#>=1.8.0 <2.1.0 received 0.4MB of 0.5MB
>      > downloaded, 94%
>      > bower progress      jquery-ui#>=1.9.2 received 1.2MB of 1.5MB
>     downloaded,
>      > 84%
>      > bower extract       jquery#>=1.8.0 <2.1.0 archive.tar.gz
>      > bower invalid-meta  jquery is missing "ignore" entry in bower.json
>      > bower resolved      git://github.com/jquery/jquery.git#2.0.3
>     <http://github.com/jquery/jquery.git#2.0.3>
>      > bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB
>     downloaded,
>      > 88%
>      > bower resolved      git://github.com/jquery/jquery.git#2.1.3
>     <http://github.com/jquery/jquery.git#2.1.3>
>      > bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB
>     downloaded,
>      > 92%
>      > bower progress      jquery-ui#>=1.9.2 received 1.4MB of 1.5MB
>     downloaded,
>      > 95%
>      > bower progress      jquery-ui#>=1.9.2 received 1.5MB of 1.5MB
>     downloaded,
>      > 99%
>      > bower extract       jquery-ui#>=1.9.2 archive.tar.gz
>      > bower resolved
>     git://github.com/components/jqueryui.git#1.11.4
>     <http://github.com/components/jqueryui.git#1.11.4>
>      > bower install       amber-ide-starter-dialog#0.1.0
>      > bower install       amber-contrib-legacy#0.2.0
>      > bower install       helios#0.4.3
>      > bower install       amber#0.14.13
>      > bower install       blockui#2.65
>      > bower install       require-css#0.1.8
>      > bower install       mousetrap#1.5.2
>      > bower install       showdown#0.3.4
>      > bower install       bootstrap2.3.2#2.3.2
>      > bower install       codemirror#4.13.0
>      > bower install       jquery#2.0.3
>      > bower install       jquery-ui#1.11.4
>      >
>      > amber-ide-starter-dialog#0.1.0
>     bower_components/amber-ide-starter-dialog
>      > ├── blockui#2.65
>      > └── mousetrap#1.5.2
>      >
>      > amber-contrib-legacy#0.2.0 bower_components/amber-contrib-legacy
>      > ├── amber#0.14.13
>      > ├── codemirror#4.13.0
>      > ├── jquery-ui#1.11.4
>      > └── require-css#0.1.8
>      >
>      > helios#0.4.3 bower_components/helios
>      > ├── amber#0.14.13
>      > ├── bootstrap2.3.2#2.3.2
>      > ├── codemirror#4.13.0
>      > ├── jquery#2.0.3
>      > ├── jquery-ui#1.11.4
>      > ├── require-css#0.1.8
>      > └── showdown#0.3.4
>      >
>      > amber#0.14.13 bower_components/amber
>      > └── jquery#2.0.3
>      >
>      > blockui#2.65 bower_components/blockui
>      > └── jquery#2.0.3
>      >
>      > require-css#0.1.8 bower_components/require-css
>      >
>      > mousetrap#1.5.2 bower_components/mousetrap
>      >
>      > showdown#0.3.4 bower_components/showdown
>      >
>      > bootstrap2.3.2#2.3.2 bower_components/bootstrap2.3.2
>      > └── jquery#2.0.3
>      >
>      > codemirror#4.13.0 bower_components/codemirror
>      >
>      > jquery#2.0.3 bower_components/jquery
>      >
>      > jquery-ui#1.11.4 bower_components/jquery-ui
>      > └── jquery#2.0.3
>      > npm install exec error:
>      > { [Error: Command failed: npm http GET
>      > https://registry.npmjs.org/grunt-contrib-clean
>      > npm http GET https://registry.npmjs.org/grunt-execute
>      > npm http GET https://registry.npmjs.org/requirejs
>      > npm http GET https://registry.npmjs.org/grunt-contrib-requirejs
>      > npm http GET https://registry.npmjs.org/grunt
>      > npm http GET https://registry.npmjs.org/amber-dev
>      > npm http 304 https://registry.npmjs.org/grunt
>      > npm http 200 https://registry.npmjs.org/grunt-execute
>      > npm ERR! Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
>      > npm ERR!  { [Error: EACCES, mkdir
>     '/home/user/tmp/npm-11167-f_3rwQTb']
>      > npm ERR!   errno: 3,
>      > npm ERR!   code: 'EACCES',
>      > npm ERR!   path: '/home/user/tmp/npm-11167-f_3rwQTb' }
>      > npm ERR!
>      > npm ERR! Please try running this command again as root/Administrator.
>      >
>      > npm ERR! System Linux 3.16.0-29-generic
>      > npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
>      > npm ERR! cwd /home/user/Documents/amber
>      > npm ERR! node -v v0.10.25
>      > npm ERR! npm -v 1.3.10
>      > npm ERR! path /home/user/tmp/npm-11167-f_3rwQTb
>      > npm ERR! code EACCES
>      > npm ERR! errno 3
>      > npm ERR! stack Error: EACCES, mkdir
>     '/home/user/tmp/npm-11167-f_3rwQTb'
>      > npm http 304 https://registry.npmjs.org/amber-dev
>      > npm http 200 https://registry.npmjs.org/requirejs
>      > npm http 200 https://registry.npmjs.org/grunt-contrib-clean
>      > npm http 200 https://registry.npmjs.org/grunt-contrib-requirejs
>      > npm ERR!
>      > npm ERR! Additional logging details can be found in:
>      > npm ERR!     /home/user/Documents/amber/npm-debug.log
>      > npm ERR! not ok code 0
>      > ] killed: false, code: 3, signal: null }
>      >
>      >
>      > On 4/7/15, Manfred Kröhnert <[hidden email]
>     <mailto:[hidden email]>> wrote:
>      >> Hi Herby,
>      >>
>      >> On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]
>     <mailto:[hidden email]>> wrote:
>      >>
>      >>>
>      >>>
>      >>> H. Hirzel wrote:
>      >>>
>      >>>> On 4/4/15, Shaping<[hidden email]
>     <mailto:[hidden email]>>  wrote:
>      >>>>
>      >>>>> Hi folks.
>      >>>>>
>      >>>>> Can someone tell me whether the Amber "Getting Started" procedure
>      >>>>> really
>      >>>>> works.  I sent an e-mail to Nico, asking about whether the
>     procedure
>      >>>>> has
>      >>>>> been tested/updated recently.  He said to ask here and that
>     he is not
>      >>>>> longer working on Amber.  I could not get Amber working.  Can
>     someone
>      >>>>> point
>      >>>>>
>      >>>>> me to the most reliable setup procedure.  The quick start did
>     not work
>      >>>>> for
>      >>>>> me.
>      >>>>>
>      >>>>
>      >>>> https://github.com/amber-smalltalk/amber#getting-amber
>      >>>>
>      >>>> after
>      >>>>
>      >>>>       amber init
>      >>>>
>      >>>> I had to do
>      >>>>
>      >>>>       npm install
>      >>>>
>      >>>> and
>      >>>>
>      >>>>       bower install
>      >>>>
>      >>>
>      >>> That's strange. You should not have to, amber init runs both of
>     them for
>      >>> you...
>      >>
>      >>
>      >>
>      >> bower and npm are definitely run by amber init with the latest
>     release of
>      >> amber-cli on my machine.
>      >>
>      >> @Hannes please recheck the output of amber init as it should
>     contain both
>      >> bower install and npm install output.
>      >> If not this would be some strange bug in your setup which we
>     should then
>      >> identify.
>      >>
>      >> 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]
>     <mailto:amber-lang%[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]
>     <mailto:amber-lang%[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]
> <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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Hannes Hirzel
In reply to this post by Manfred Kröhnert
On 4/8/15, Manfred Kröhnert <[hidden email]> wrote:

> Dear Hannes,
>
>
>
> On Wed, Apr 8, 2015 at 4:53 PM, H. Hirzel <[hidden email]> wrote:
>
>> P.S.
>>
>> The following commands in addition
>>
>>     sudo npm install
>>
>
> Please don't install packages inside user projects with sudo (check the
> previous discussions on this mailinglist and the issue tracker).
> The problems you are having are not related to 'amber init' but result from
> using npm "incorrectly".
>
>
> If you check the amber init output of your previous email you will see the
> following line:
>
> npm ERR! Error: EACCES, mkdir '/home/user/tmp/...'
>
> Instead of circumventing this error by using sudo you should check why you
> don't have access to the tmp directory inside your HOME directory.
> This is probably due to the fact that you have been using 'sudo npm' before
> wich creates the tmp directory using root permissions.
>
> In general, it would be better to install the tools local to the user
> account (without sudo) as described here (
> https://github.com/philippeback/amber-book/blob/master/Book/Amber-Installing.pillar#L45
> ):
>
> npm config set prefix=~/npm
> export PATH="$PATH:$HOME/npm/bin"
> npm -g install grunt-cli bower amber-cli

Using the three lines above indeed results in a smooth installation in
an Ubuntu derived installation (I checked Linux Mint).

Thank you Manfred for reminding me about this. I new that this was an
issue but forgot about the details. I just followed the README
https://github.com/amber-smalltalk/amber

I wonder how we can place this information at a more prominent place.

--Hannes




> Afterwards you should not have the issues as you described them.
>
> Best regards,
> Manfred
>
>
>
>>     bower install
>>     grunt devel
>>     amber serve
>>
>> make it run fine.
>>
>> On 4/8/15, H. Hirzel <[hidden email]> wrote:
>> > @Manfred, thank you for answering.
>> >
>> > A problem with the first installation test of 0.14.13 was that I did
>> > not have git installed and the complaint that it is missing came
>> > comparatively late. I did not take note of it when.
>> >
>> > So I did a second test with a pristine installation. It still has
>> problems.
>> >
>> >     sudo apt-get install git
>> >     sudo apt-get install nodejs
>> >     sudo apt-get install npm
>> >     sudo ln -s /usr/bin/nodejs /usr/bin/node
>> >     sudo npm install -g amber-cli bower grunt-cli
>> >     cd Documents/
>> >     mkdir amber
>> >     cd amber
>> >     amber init
>> >
>> > The log is below.  Best wishes
>> >
>> > --Hannes
>> >
>> >
>> >
>> > user@user-Latitude-E6400 ~/Documents/amber $ amber init
>> > Welcome to Amber version 0.15.0-pre (NodeJS 0.10.25).
>> > Running
>> >
>> "init:/usr/local/lib/node_modules/amber-cli/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 title (Application or Library Title) Mark frequent words
>> > [?] Main class and package of Amber application.
>> > Project name is derived by lowercasing this. (MarkFrequentWords)
>> > [?] Description (The Application or The Library doing The Thing.) Mark
>> > sight words (frequent words) in a text.
>> > [?] Author name (none) Hannes Hirzel
>> > [?] Author email (none) [hidden email]
>> > [?] Namespace of the new Amber package. (amber-markfrequentwords)
>> > [?] Version (0.1.0)
>> > [?] Project git repository (git://github.com/user/amber.git)
>> > [?] Project homepage (https://github.com/user/amber)
>> > [?] Project issues tracker (https://github.com/user/amber/issues)
>> > [?] Author url (none)
>> > [?] Licenses (MIT)
>> > [?] Do you need to make any changes to the above before continuing?
>> > (y/N)
>> >
>> >
>> > Writing Gruntfile.js...OK
>> > Writing README.md...OK
>> > Writing deploy.js...OK
>> > Writing devel.js...OK
>> > Writing .gitignore...OK
>> > Writing index.html...OK
>> > Writing local.amd.json...OK
>> > Writing src/MarkFrequentWords.js...OK
>> > Writing src/MarkFrequentWords.st...OK
>> > Writing src/MarkFrequentWords-Tests.js...OK
>> > Writing src/MarkFrequentWords-Tests.st...OK
>> > Writing LICENSE-MIT...OK
>> > Writing package.json...OK
>> >
>> > Initialized from template "grunt-init-amber".
>> > You need to have these installed globally via npm: amber-cli_;
>> _grunt-cli_;
>> > _bower. Now, install project dependencies with bower install, tool
>> > dependencies with npm install and optionally, recompile with grunt. If
>> you
>> > are running amber init, these three tasks are going to be performed for
>> you
>> > now. Afterwards, start the development server with amber serve. Your
>> > application is then accessible via http://localhost:4000/
>> >
>> > Done, without errors.
>> > ? May bower anonymously report usage statistics to improve the tool
>> > over time? (? May bower anonymously report usage statistics to improve
>> > the tool over time? No
>> > bower not-cached    git://github.com/amber-smalltalk/amber.git#^0.14.13
>> > bower resolve       git://github.com/amber-smalltalk/amber.git#^0.14.13
>> > bower not-cached
>> > git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
>> > bower resolve
>> > git://github.com/amber-smalltalk/amber-contrib-legacy.git#^0.2.0
>> > bower download
>> > https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
>> > bower not-cached
>> > git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
>> > bower resolve
>> > git://github.com/amber-smalltalk/amber-ide-starter.git#^0.1.0
>> > bower not-cached    git://github.com/amber-smalltalk/helios.git#^0.4.0
>> > bower resolve       git://github.com/amber-smalltalk/helios.git#^0.4.0
>> > bower download
>> >
>> https://github.com/amber-smalltalk/amber-contrib-legacy/archive/0.2.0.tar.gz
>> > bower download
>> >
>> https://github.com/amber-smalltalk/amber-ide-starter/archive/0.1.0.tar.gz
>> > bower download
>> > https://github.com/amber-smalltalk/helios/archive/0.4.3.tar.gz
>> > bower extract       amber-ide-starter-dialog#^0.1.0 archive.tar.gz
>> > bower invalid-meta  amber-ide-starter-dialog is missing "main" entry
>> > in bower.json
>> > bower resolved
>> > git://github.com/amber-smalltalk/amber-ide-starter.git#0.1.0
>> > bower extract       amber-contrib-legacy#^0.2.0 archive.tar.gz
>> > bower invalid-meta  amber-contrib-legacy is missing "main" entry in
>> > bower.json
>> > bower resolved
>> > git://github.com/amber-smalltalk/amber-contrib-legacy.git#0.2.0
>> > bower not-cached
>> > git://github.com/amber-smalltalk/amber.git#>=0.14.13
>> > bower resolve
>> > git://github.com/amber-smalltalk/amber.git#>=0.14.13
>> > bower download
>> > https://github.com/amber-smalltalk/amber/archive/0.14.13.tar.gz
>> > bower not-cached    git://github.com/malsup/blockui.git#2.65
>> > bower resolve       git://github.com/malsup/blockui.git#2.65
>> > bower not-cached    git://github.com/ccampbell/mousetrap.git#^1.4.6
>> > bower resolve       git://github.com/ccampbell/mousetrap.git#^1.4.6
>> > bower not-cached    git://github.com/marijnh/CodeMirror.git#^4.7.0
>> > bower resolve       git://github.com/marijnh/CodeMirror.git#^4.7.0
>> > bower not-cached    git://github.com/components/jqueryui.git#>=1.9.2
>> > bower resolve       git://github.com/components/jqueryui.git#>=1.9.2
>> > bower not-cached    git://github.com/guybedford/require-css.git#^0.1.2
>> > bower resolve       git://github.com/guybedford/require-css.git#^0.1.2
>> > bower download
>> https://github.com/malsup/blockui/archive/2.65.tar.gz
>> > bower download
>> > https://github.com/ccampbell/mousetrap/archive/1.5.2.tar.gz
>> > bower download
>> > https://github.com/components/jqueryui/archive/1.11.4.tar.gz
>> > bower download
>> > https://github.com/guybedford/require-css/archive/0.1.8.tar.gz
>> > bower progress      amber#^0.14.13 received 0.6MB
>> > bower extract       helios#^0.4.0 archive.tar.gz
>> > bower progress      amber#^0.14.13 received 0.7MB
>> > bower download
>> > https://github.com/marijnh/CodeMirror/archive/4.13.0.tar.gz
>> > bower invalid-meta  helios is missing "main" entry in bower.json
>> > bower resolved      git://github.com/amber-smalltalk/helios.git#0.4.3
>> > bower progress      amber#^0.14.13 received 0.7MB
>> > bower extract       amber#^0.14.13 archive.tar.gz
>> > bower not-cached    git://github.com/jquery/jquery.git#>=1.7.0
>> > bower resolve       git://github.com/jquery/jquery.git#>=1.7.0
>> > bower resolved      git://github.com/amber-smalltalk/amber.git#0.14.13
>> > bower not-cached
>> > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
>> > bower resolve
>> > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#^2.3.2
>> > bower not-cached    git://github.com/showdownjs/showdown.git#^0.3.1
>> > bower resolve       git://github.com/showdownjs/showdown.git#^0.3.1
>> > bower extract       blockui#2.65 archive.tar.gz
>> > bower invalid-meta  blockUI is missing "ignore" entry in bower.json
>> > bower resolved      git://github.com/malsup/blockui.git#2.65
>> > bower not-cached    git://github.com/jquery/jquery.git#>=1.7
>> > bower resolve       git://github.com/jquery/jquery.git#>=1.7
>> > bower extract       require-css#^0.1.2 archive.tar.gz
>> > bower resolved      git://github.com/guybedford/require-css.git#0.1.8
>> > bower download
>> >
>> https://github.com/alonisser/bower-bootstrap-2.3.2-legacy/archive/v2.3.2.tar.gz
>> > bower download
>> > https://github.com/showdownjs/showdown/archive/0.3.4.tar.gz
>> > bower extract       mousetrap#^1.4.6 archive.tar.gz
>> > bower invalid-meta  mousetrap is missing "main" entry in bower.json
>> > bower invalid-meta  mousetrap is missing "ignore" entry in bower.json
>> > bower resolved      git://github.com/ccampbell/mousetrap.git#1.5.2
>> > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded,
>> 20%
>> > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded,
>> 23%
>> > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded,
>> 26%
>> > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded,
>> 28%
>> > bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB
>> > downloaded,
>> > 14%
>> > bower extract       showdown#^0.3.1 archive.tar.gz
>> > bower progress      amber#>=0.14.13 received 0.2MB of 0.7MB downloaded,
>> 31%
>> > bower resolved      git://github.com/showdownjs/showdown.git#0.3.4
>> > bower download
>> https://github.com/jquery/jquery/archive/2.1.3.tar.gz
>> > bower download
>> https://github.com/jquery/jquery/archive/2.1.3.tar.gz
>> > bower progress      jquery-ui#>=1.9.2 received 0.2MB of 1.5MB
>> > downloaded,
>> > 16%
>> > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded,
>> 34%
>> > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>> > downloaded,
>> > 36%
>> > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>> > downloaded,
>> > 39%
>> > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>> > downloaded,
>> > 18%
>> > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded,
>> 37%
>> > bower progress      codemirror#^4.7.0 received 0.3MB of 0.7MB
>> > downloaded,
>> > 43%
>> > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded,
>> 41%
>> > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>> > downloaded,
>> > 20%
>> > bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB
>> > downloaded,
>> > 47%
>> > bower progress      bootstrap2.3.2#^2.3.2 received 0.2MB
>> > bower extract       bootstrap2.3.2#^2.3.2 archive.tar.gz
>> > bower invalid-meta  bootstrap2.3.2 is missing "ignore" entry in
>> bower.json
>> > bower resolved
>> > git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2
>> > bower not-cached    git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
>> > bower resolve       git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0
>> > bower download
>> https://github.com/jquery/jquery/archive/2.0.3.tar.gz
>> > bower progress      amber#>=0.14.13 received 0.3MB of 0.7MB downloaded,
>> 44%
>> > bower progress      jquery-ui#>=1.9.2 received 0.3MB of 1.5MB
>> > downloaded,
>> > 21%
>> > bower progress      codemirror#^4.7.0 received 0.4MB of 0.7MB
>> > downloaded,
>> > 49%
>> >
>> > .....  [snip]  .....
>> >
>> > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded,
>> 80%
>> > bower extract       codemirror#^4.7.0 archive.tar.gz
>> > bower progress      jquery#>=1.7 received 0.3MB of 0.6MB downloaded,
>> > 54%
>> > bower progress      jquery#>=1.7.0 received 0.4MB of 0.6MB downloaded,
>> 71%
>> > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>> > downloaded,
>> > 47%
>> > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded,
>> 83%
>> > bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded,
>> > 64%
>> > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>> > downloaded,
>> > 49%
>> > bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded,
>> 73%
>> > bower progress      amber#>=0.14.13 received 0.6MB of 0.7MB downloaded,
>> 86%
>> > bower resolved      git://github.com/marijnh/CodeMirror.git#4.13.0
>> > bower progress      jquery#>=1.7 received 0.4MB of 0.6MB downloaded,
>> > 67%
>> > bower progress      jquery-ui#>=1.9.2 received 0.7MB of 1.5MB
>> > downloaded,
>> > 51%
>> > bower progress      jquery#>=1.7.0 received 0.5MB of 0.6MB downloaded,
>> 75%
>> > bower progress      amber#>=0.14.13 received 0.7MB of 0.7MB downloaded,
>> 89%
>> > bower progress      jquery#>=1.7 received 0.5MB of 0.6MB downloaded,
>> > 72%
>> >
>> > .....  [snip]  .....
>> >
>> > bower extract       jquery#>=1.7.0 archive.tar.gz
>> > bower progress      jquery#>=1.8.0 <2.1.0 received 0.4MB of 0.5MB
>> > downloaded, 94%
>> > bower progress      jquery-ui#>=1.9.2 received 1.2MB of 1.5MB
>> > downloaded,
>> > 84%
>> > bower extract       jquery#>=1.8.0 <2.1.0 archive.tar.gz
>> > bower invalid-meta  jquery is missing "ignore" entry in bower.json
>> > bower resolved      git://github.com/jquery/jquery.git#2.0.3
>> > bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB
>> > downloaded,
>> > 88%
>> > bower resolved      git://github.com/jquery/jquery.git#2.1.3
>> > bower progress      jquery-ui#>=1.9.2 received 1.3MB of 1.5MB
>> > downloaded,
>> > 92%
>> > bower progress      jquery-ui#>=1.9.2 received 1.4MB of 1.5MB
>> > downloaded,
>> > 95%
>> > bower progress      jquery-ui#>=1.9.2 received 1.5MB of 1.5MB
>> > downloaded,
>> > 99%
>> > bower extract       jquery-ui#>=1.9.2 archive.tar.gz
>> > bower resolved      git://github.com/components/jqueryui.git#1.11.4
>> > bower install       amber-ide-starter-dialog#0.1.0
>> > bower install       amber-contrib-legacy#0.2.0
>> > bower install       helios#0.4.3
>> > bower install       amber#0.14.13
>> > bower install       blockui#2.65
>> > bower install       require-css#0.1.8
>> > bower install       mousetrap#1.5.2
>> > bower install       showdown#0.3.4
>> > bower install       bootstrap2.3.2#2.3.2
>> > bower install       codemirror#4.13.0
>> > bower install       jquery#2.0.3
>> > bower install       jquery-ui#1.11.4
>> >
>> > amber-ide-starter-dialog#0.1.0
>> > bower_components/amber-ide-starter-dialog
>> > ├── blockui#2.65
>> > └── mousetrap#1.5.2
>> >
>> > amber-contrib-legacy#0.2.0 bower_components/amber-contrib-legacy
>> > ├── amber#0.14.13
>> > ├── codemirror#4.13.0
>> > ├── jquery-ui#1.11.4
>> > └── require-css#0.1.8
>> >
>> > helios#0.4.3 bower_components/helios
>> > ├── amber#0.14.13
>> > ├── bootstrap2.3.2#2.3.2
>> > ├── codemirror#4.13.0
>> > ├── jquery#2.0.3
>> > ├── jquery-ui#1.11.4
>> > ├── require-css#0.1.8
>> > └── showdown#0.3.4
>> >
>> > amber#0.14.13 bower_components/amber
>> > └── jquery#2.0.3
>> >
>> > blockui#2.65 bower_components/blockui
>> > └── jquery#2.0.3
>> >
>> > require-css#0.1.8 bower_components/require-css
>> >
>> > mousetrap#1.5.2 bower_components/mousetrap
>> >
>> > showdown#0.3.4 bower_components/showdown
>> >
>> > bootstrap2.3.2#2.3.2 bower_components/bootstrap2.3.2
>> > └── jquery#2.0.3
>> >
>> > codemirror#4.13.0 bower_components/codemirror
>> >
>> > jquery#2.0.3 bower_components/jquery
>> >
>> > jquery-ui#1.11.4 bower_components/jquery-ui
>> > └── jquery#2.0.3
>> > npm install exec error:
>> > { [Error: Command failed: npm http GET
>> > https://registry.npmjs.org/grunt-contrib-clean
>> > npm http GET https://registry.npmjs.org/grunt-execute
>> > npm http GET https://registry.npmjs.org/requirejs
>> > npm http GET https://registry.npmjs.org/grunt-contrib-requirejs
>> > npm http GET https://registry.npmjs.org/grunt
>> > npm http GET https://registry.npmjs.org/amber-dev
>> > npm http 304 https://registry.npmjs.org/grunt
>> > npm http 200 https://registry.npmjs.org/grunt-execute
>> > npm ERR! Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
>> > npm ERR!  { [Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb']
>> > npm ERR!   errno: 3,
>> > npm ERR!   code: 'EACCES',
>> > npm ERR!   path: '/home/user/tmp/npm-11167-f_3rwQTb' }
>> > npm ERR!
>> > npm ERR! Please try running this command again as root/Administrator.
>> >
>> > npm ERR! System Linux 3.16.0-29-generic
>> > npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
>> > npm ERR! cwd /home/user/Documents/amber
>> > npm ERR! node -v v0.10.25
>> > npm ERR! npm -v 1.3.10
>> > npm ERR! path /home/user/tmp/npm-11167-f_3rwQTb
>> > npm ERR! code EACCES
>> > npm ERR! errno 3
>> > npm ERR! stack Error: EACCES, mkdir '/home/user/tmp/npm-11167-f_3rwQTb'
>> > npm http 304 https://registry.npmjs.org/amber-dev
>> > npm http 200 https://registry.npmjs.org/requirejs
>> > npm http 200 https://registry.npmjs.org/grunt-contrib-clean
>> > npm http 200 https://registry.npmjs.org/grunt-contrib-requirejs
>> > npm ERR!
>> > npm ERR! Additional logging details can be found in:
>> > npm ERR!     /home/user/Documents/amber/npm-debug.log
>> > npm ERR! not ok code 0
>> > ] killed: false, code: 3, signal: null }
>> >
>> >
>> > On 4/7/15, Manfred Kröhnert <[hidden email]> wrote:
>> >> Hi Herby,
>> >>
>> >> On Tue, Apr 7, 2015 at 10:51 PM, Herby Vojčík <[hidden email]>
>> >> wrote:
>> >>
>> >>>
>> >>>
>> >>> H. Hirzel wrote:
>> >>>
>> >>>> On 4/4/15, Shaping<[hidden email]>  wrote:
>> >>>>
>> >>>>> Hi folks.
>> >>>>>
>> >>>>> Can someone tell me whether the Amber "Getting Started" procedure
>> >>>>> really
>> >>>>> works.  I sent an e-mail to Nico, asking about whether the
>> >>>>> procedure
>> >>>>> has
>> >>>>> been tested/updated recently.  He said to ask here and that he is
>> >>>>> not
>> >>>>> longer working on Amber.  I could not get Amber working.  Can
>> >>>>> someone
>> >>>>> point
>> >>>>>
>> >>>>> me to the most reliable setup procedure.  The quick start did not
>> work
>> >>>>> for
>> >>>>> me.
>> >>>>>
>> >>>>
>> >>>> https://github.com/amber-smalltalk/amber#getting-amber
>> >>>>
>> >>>> after
>> >>>>
>> >>>>       amber init
>> >>>>
>> >>>> I had to do
>> >>>>
>> >>>>       npm install
>> >>>>
>> >>>> and
>> >>>>
>> >>>>       bower install
>> >>>>
>> >>>
>> >>> That's strange. You should not have to, amber init runs both of them
>> for
>> >>> you...
>> >>
>> >>
>> >>
>> >> bower and npm are definitely run by amber init with the latest release
>> of
>> >> amber-cli on my machine.
>> >>
>> >> @Hannes please recheck the output of amber init as it should contain
>> both
>> >> bower install and npm install output.
>> >> If not this would be some strange bug in your setup which we should
>> >> then
>> >> identify.
>> >>
>> >> 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.
>> >>
>> >
>>
>> --
>> 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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

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

On Wed, Apr 8, 2015 at 8:18 PM, Herby Vojčík <[hidden email]> wrote:


Manfred Kröhnert wrote:
Dear Hannes,



On Wed, Apr 8, 2015 at 4:53 PM, H. Hirzel <[hidden email]
<mailto:[hidden email]>> wrote:

    P.S.

    The following commands in addition

         sudo npm install


Please don't install packages inside user projects with sudo (check the
previous discussions on this mailinglist and the issue tracker).
The problems you are having are not related to 'amber init' but result
from using npm "incorrectly".


If you check the amber init output of your previous email you will see
the following line:

npm ERR! Error: EACCES, mkdir '/home/user/tmp/...'

Instead of circumventing this error by using sudo you should check why
you don't have access to the tmp directory inside your HOME directory.
This is probably due to the fact that you have been using 'sudo npm'
before wich creates the tmp directory using root permissions.

I don't use unix often and when I use, I use it always incorrectly with sudo (by which I am not endorsing it), but I don't get this error. This seems to be the result of combination of using npm sometimes with sudo and sometimes not.

It is better to do it by setting -g installation place to ~/npm as you suggest below and use that consistently.

 This might come from the fact that you had been using npm before installing bower or grunt-cli globally.
In this case the ~/tmp directory has already been created and you can still write into it afterwards.
You can check that by executing 'ls -l ~/tmp' where you will probably find some directories owned by the user and some owned by root (or whatever the admin account actually is).

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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Manfred Kröhnert
In reply to this post by Hannes Hirzel
Hello Hannes,

On Thu, Apr 9, 2015 at 9:01 AM, H. Hirzel <[hidden email]> wrote:
On 4/8/15, Manfred Kröhnert <[hidden email]> wrote:
> Dear Hannes,
>
>
>
> On Wed, Apr 8, 2015 at 4:53 PM, H. Hirzel <[hidden email]> wrote:
>
>> P.S.
>>
>> The following commands in addition
>>
>>     sudo npm install
>>
>
> Please don't install packages inside user projects with sudo (check the
> previous discussions on this mailinglist and the issue tracker).
> The problems you are having are not related to 'amber init' but result from
> using npm "incorrectly".
>
>
> If you check the amber init output of your previous email you will see the
> following line:
>
> npm ERR! Error: EACCES, mkdir '/home/user/tmp/...'
>
> Instead of circumventing this error by using sudo you should check why you
> don't have access to the tmp directory inside your HOME directory.
> This is probably due to the fact that you have been using 'sudo npm' before
> wich creates the tmp directory using root permissions.
>
> In general, it would be better to install the tools local to the user
> account (without sudo) as described here (
> https://github.com/philippeback/amber-book/blob/master/Book/Amber-Installing.pillar#L45
> ):
>
> npm config set prefix=~/npm
> export PATH="$PATH:$HOME/npm/bin"
> npm -g install grunt-cli bower amber-cli

Using the three lines above indeed results in a smooth installation in
an Ubuntu derived installation (I checked Linux Mint).

Thank you Manfred for reminding me about this. I new that this was an
issue but forgot about the details. I just followed the README
https://github.com/amber-smalltalk/amber

I wonder how we can place this information at a more prominent place.

--Hannes


Why wonder about this?
This information should be changed/added in the respective README files and in the amber-docs project.
Would you care for providing a pull request?
That would be really great.

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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

Herby Vojčík
In reply to this post by Hannes Hirzel


H. Hirzel wrote:

> On 4/8/15, Manfred Kröhnert<[hidden email]>  wrote:
>> npm config set prefix=~/npm
>> export PATH="$PATH:$HOME/npm/bin"
>> npm -g install grunt-cli bower amber-cli
>
> Using the three lines above indeed results in a smooth installation in
> an Ubuntu derived installation (I checked Linux Mint).
>
> Thank you Manfred for reminding me about this. I new that this was an
> issue but forgot about the details. I just followed the README
> https://github.com/amber-smalltalk/amber
>
> I wonder how we can place this information at a more prominent place.

Definitely, this should be in README, stressing the fact to do it before
installing amber itself or anything else via npm.

> --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: Setting up Amber for the first time; asm.js; OpenGL/WebGL -- 0.14.13

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

>
>
> H. Hirzel wrote:
>> On 4/8/15, Manfred Kröhnert<[hidden email]>  wrote:
>>> npm config set prefix=~/npm
>>> export PATH="$PATH:$HOME/npm/bin"
>>> npm -g install grunt-cli bower amber-cli
>>
>> Using the three lines above indeed results in a smooth installation in
>> an Ubuntu derived installation (I checked Linux Mint).
>>
>> Thank you Manfred for reminding me about this. I new that this was an
>> issue but forgot about the details. I just followed the README
>> https://github.com/amber-smalltalk/amber
>>
>> I wonder how we can place this information at a more prominent place.
>
> Definitely, this should be in README, stressing the fact to do it before
> installing amber itself or anything else via npm.


_before_    ==> prerequisite section

https://github.com/amber-smalltalk/amber/pull/1171



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