Amber and OpenShift (redhat)

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

Amber and OpenShift (redhat)

Vicnet-2
Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

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

Re: Amber and OpenShift (redhat)

Herby Vojčík
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <[hidden email]>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

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

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

Re: Amber and OpenShift (redhat)

Vicnet-2
In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <[hidden email]>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

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

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

Re: Amber and OpenShift (redhat)

Herby Vojčík
In reply to this post by Vicnet-2
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <[hidden email]>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <[hidden email]>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

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

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

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

Re: Amber and OpenShift (redhat)

sebastianconcept
In reply to this post by Vicnet-2
well if it’s a “normal” linux environment then you should be able to follow the linux instructions

tip: the requisites for installing Amber are pretty close to any nodejs - angular stack, you have trillions of examples and stack overflow questions about them

keep asking if you get stuck

did you get stuck? where?



On Dec 10, 2014, at 5:39 PM, Vicnet <[hidden email]> wrote:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

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

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

Re: Amber and OpenShift (redhat)

Vicnet-2
In reply to this post by Herby Vojčík
I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://registry.npmjs.org/amber-cli
npm http
304 https://registry.npmjs.org/amber-cli
npm ERR
! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR
!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR
!   errno: 3,
npm ERR
!   code: 'EACCES',
npm ERR
!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_type: 'Directory',
npm ERR
!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_class: 'DirWriter',
npm ERR
!   fstream_stack:
npm ERR
!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR
!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR
!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">he...@...>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

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

Re: Amber and OpenShift (redhat)

Herby Vojčík
In reply to this post by Vicnet-2
You could, but there's bettet solution out there - to set it up so that 'npm install -g' install to ~/.npm. If you google something like 'npm install sudo' you should find instructions how to set it.

Vicnet <[hidden email]>napísal/a:

I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://registry.npmjs.org/amber-cli
npm http
304 https://registry.npmjs.org/amber-cli
npm ERR
! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR
!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR
!   errno: 3,
npm ERR
!   code: 'EACCES',
npm ERR
!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_type: 'Directory',
npm ERR
!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_class: 'DirWriter',
npm ERR
!   fstream_stack:
npm ERR
!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR
!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR
!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">he...@...>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

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

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

Re: Amber and OpenShift (redhat)

Herby Vojčík
In reply to this post by Vicnet-2
Or just try it with sudo first. That's easiesy.

Vicnet <[hidden email]>napísal/a:

I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://registry.npmjs.org/amber-cli
npm http
304 https://registry.npmjs.org/amber-cli
npm ERR
! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR
!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR
!   errno: 3,
npm ERR
!   code: 'EACCES',
npm ERR
!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_type: 'Directory',
npm ERR
!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR
!   fstream_class: 'DirWriter',
npm ERR
!   fstream_stack:
npm ERR
!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR
!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR
!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">he...@...>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

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

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

Re: Amber and OpenShift (redhat)

sebastianconcept
In reply to this post by Vicnet-2
sounds like the npm sudo problem

the proper way to use npm is not needing to use sudo

you have to google for that and get your host straing

after that we can talk again about Amber :)





On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email]> wrote:

I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://registry.npmjs.org/amber-cli
npm http 304 https://registry.npmjs.org/amber-cli
npm ERR! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack:
npm ERR!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">ose...@...>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">he...@...>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">ose...@...>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;" class="">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0b9oCKZq_coJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" class="">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;" class="">https://groups.google.com/d/optout.

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

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

Re: Amber and OpenShift (redhat)

philippeback
Read the markdown files in here:


Phil

On Wed, Dec 10, 2014 at 11:20 PM, sebastian <[hidden email]> wrote:
sounds like the npm sudo problem

the proper way to use npm is not needing to use sudo

you have to google for that and get your host straing

after that we can talk again about Amber :)





On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email]> wrote:

I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://registry.npmjs.org/amber-cli
npm http 304 https://registry.npmjs.org/amber-cli
npm ERR! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack:
npm ERR!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <[hidden email]>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <[hidden email]>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
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 amber-lang+...@googlegroups.com.
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.



--
---
Philippe Back
Visible Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
 

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

Re: Amber and OpenShift (redhat)

Hannes Hirzel
Philip,

I assume you mean this

https://github.com/philippeback/getting-ready/blob/master/InstallAmber.md#configure-npm-so-that-you-do-not-need-sudo

?

--Hannes

On 12/10/14, [hidden email] <[hidden email]> wrote:

> Read the markdown files in here:
>
> https://github.com/philippeback/getting-ready
>
> Phil
>
> On Wed, Dec 10, 2014 at 11:20 PM, sebastian <[hidden email]>
> wrote:
>
>> sounds like the npm sudo problem
>>
>> the proper way to use npm is not needing to use sudo
>>
>> you have to google for that and get your host straing
>>
>> *after* that we can talk again about Amber :)
>>
>>
>>
>>
>>
>> On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email]> wrote:
>>
>> I try successfully ssh.
>> I can launch npm command but when I try 'npm install -g amber-cli', I
>> have
>> a error on mkdir:
>> Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>>
>> Here is the start of the log:
>> npm http GET https://registry.npmjs.org/amber-cli
>> npm http 304 https://registry.npmjs.org/amber-cli
>> npm ERR! Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>> npm ERR!  { [Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
>> npm ERR!   errno: 3,
>> npm ERR!   code: 'EACCES',
>> npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_type: 'Directory',
>> npm ERR!   fstream_path:
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_class: 'DirWriter',
>> npm ERR!   fstream_stack:
>> npm ERR!    [
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23'
>> ,
>> npm ERR!
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
>> npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
>>
>>
>> Could I install amber in other dir ?
>>
>> a+
>> Vicnet
>>
>>
>> Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
>>>
>>> Ah. So the problem is how to get to the command line. I don't know
>>> RedHat
>>> gears, so maybe someone else can help.
>>>
>>> "Vicnet O." <[hidden email]>napísal/a:
>>>
>>> In fact, I don't know yet how to access the gear... I am not familiar
>>> with such VMs.
>>> I succefully create a node.js gear.
>>> I install rch on my PC but dont see yet how to do a npm, surely with a
>>> ssh cnx.
>>>
>>> a+
>>> Vicnet
>>>
>>> 2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
>>>
>>>> Did you try amber repo README (if yes, I'd like to know where it failed
>>>> to show the installation process)?
>>>>
>>>> Vicnet <[hidden email]>napísal/a:
>>>>
>>>> Hello,
>>>>
>>>> Redhat offer 3 free gears (sort of VMs) with different environments.
>>>> One is node.js, and as I understand, npm.
>>>>
>>>> Does someone know how to install amber in this env ?
>>>>
>>>> a+
>>>> Vicnet
>>>>
>>>> --
>>>> 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.
>>
>
>
>
> --
> ---
> Philippe Back
> Visible Performance Improvements
> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
> Mail:[hidden email] | Web: http://philippeback.eu
> Blog: http://philippeback.be | Twitter: @philippeback
> Youtube: http://www.youtube.com/user/philippeback/videos
>
> High Octane SPRL
> rue cour Boisacq 101 | 1301 Bierges | Belgium
>
> Pharo Consortium Member - http://consortium.pharo.org/
> Featured on the Software Process and Measurement Cast -
> http://spamcast.libsyn.com
> Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
> Added Reseller
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

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

Re: Amber and OpenShift (redhat)

philippeback
yes

On Thu, Dec 11, 2014 at 4:55 PM, H. Hirzel <[hidden email]> wrote:
Philip,

I assume you mean this

https://github.com/philippeback/getting-ready/blob/master/InstallAmber.md#configure-npm-so-that-you-do-not-need-sudo

?

--Hannes

On 12/10/14, [hidden email] <[hidden email]> wrote:
> Read the markdown files in here:
>
> https://github.com/philippeback/getting-ready
>
> Phil
>
> On Wed, Dec 10, 2014 at 11:20 PM, sebastian <[hidden email]>
> wrote:
>
>> sounds like the npm sudo problem
>>
>> the proper way to use npm is not needing to use sudo
>>
>> you have to google for that and get your host straing
>>
>> *after* that we can talk again about Amber :)
>>
>>
>>
>>
>>
>> On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email]> wrote:
>>
>> I try successfully ssh.
>> I can launch npm command but when I try 'npm install -g amber-cli', I
>> have
>> a error on mkdir:
>> Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>>
>> Here is the start of the log:
>> npm http GET https://registry.npmjs.org/amber-cli
>> npm http 304 https://registry.npmjs.org/amber-cli
>> npm ERR! Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>> npm ERR!  { [Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
>> npm ERR!   errno: 3,
>> npm ERR!   code: 'EACCES',
>> npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_type: 'Directory',
>> npm ERR!   fstream_path:
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_class: 'DirWriter',
>> npm ERR!   fstream_stack:
>> npm ERR!    [
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23'
>> ,
>> npm ERR!
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
>> npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
>>
>>
>> Could I install amber in other dir ?
>>
>> a+
>> Vicnet
>>
>>
>> Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
>>>
>>> Ah. So the problem is how to get to the command line. I don't know
>>> RedHat
>>> gears, so maybe someone else can help.
>>>
>>> "Vicnet O." <[hidden email]>napísal/a:
>>>
>>> In fact, I don't know yet how to access the gear... I am not familiar
>>> with such VMs.
>>> I succefully create a node.js gear.
>>> I install rch on my PC but dont see yet how to do a npm, surely with a
>>> ssh cnx.
>>>
>>> a+
>>> Vicnet
>>>
>>> 2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
>>>
>>>> Did you try amber repo README (if yes, I'd like to know where it failed
>>>> to show the installation process)?
>>>>
>>>> Vicnet <[hidden email]>napísal/a:
>>>>
>>>> Hello,
>>>>
>>>> Redhat offer 3 free gears (sort of VMs) with different environments.
>>>> One is node.js, and as I understand, npm.
>>>>
>>>> Does someone know how to install amber in this env ?
>>>>
>>>> a+
>>>> Vicnet
>>>>
>>>> --
>>>> 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.
>>
>
>
>
> --
> ---
> Philippe Back
> Visible Performance Improvements
> Mob: <a href="tel:%2B32%280%29%20478%20650%20140" value="+32478650140">+32(0) 478 650 140 | Fax: <a href="tel:%2B32%20%280%29%2070%20408%20027" value="+3270408027">+32 (0) 70 408 027
> [hidden email] | Web: http://philippeback.eu
> Blog: http://philippeback.be | Twitter: @philippeback
> Youtube: http://www.youtube.com/user/philippeback/videos
>
> High Octane SPRL
> rue cour Boisacq 101 | 1301 Bierges | Belgium
>
> Pharo Consortium Member - http://consortium.pharo.org/
> Featured on the Software Process and Measurement Cast -
> http://spamcast.libsyn.com
> Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
> Added Reseller
>
> --
> 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.



--
---
Philippe Back
Visible Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
 

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

Re: Amber and OpenShift (redhat)

Vicnet-2
In reply to this post by sebastianconcept

It is not a sudo pb because the VM does not allow sudoers...

I think the key is here (thanks to Phil's link on files):

Let npm know where you want to put stuff
npm config
set prefix=~/npm

I will try it.

a+
Vicnet


Le mercredi 10 décembre 2014 23:20:06 UTC+1, Sebastian Sastre a écrit :
sounds like the npm sudo problem

the proper way to use npm is not needing to use sudo

you have to google for that and get your host straing

after that we can talk again about Amber :)





On Dec 10, 2014, at 8:00 PM, Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="wxjeZprdFrwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...> wrote:

I try successfully ssh.
I can launch npm command but when I try 'npm install -g amber-cli', I have a error on mkdir:
Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'

Here is the start of the log:
npm http GET https://<a href="http://registry.npmjs.org/amber-cli" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNE3WX6Qufyd4uOH_0Zb6Yx0s2QRWw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNE3WX6Qufyd4uOH_0Zb6Yx0s2QRWw';return true;">registry.npmjs.org/amber-cli
npm http 304 https://<a href="http://registry.npmjs.org/amber-cli" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNE3WX6Qufyd4uOH_0Zb6Yx0s2QRWw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNE3WX6Qufyd4uOH_0Zb6Yx0s2QRWw';return true;">registry.npmjs.org/amber-cli
npm ERR! Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
npm ERR!  { [Error: EACCES, mkdir '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack:
npm ERR!    [ '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }


Could I install amber in other dir ?

a+
Vicnet


Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
Ah. So the problem is how to get to the command line. I don't know RedHat gears, so maybe someone else can help.

"Vicnet O." <[hidden email]>napísal/a:

In fact, I don't know yet how to access the gear... I am not familiar with such VMs.
I succefully create a node.js gear.
I install rch on my PC but dont see yet how to do a npm, surely with a ssh cnx.

a+
Vicnet

2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
Did you try amber repo README (if yes, I'd like to know where it failed to show the installation process)?

Vicnet <[hidden email]>napísal/a:

Hello,

Redhat offer 3 free gears (sort of VMs) with different environments.
One is node.js, and as I understand, npm.

Does someone know how to install amber in this env ?

a+
Vicnet

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="wxjeZprdFrwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

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

Re: Amber and OpenShift (redhat)

Hannes Hirzel
Vicnet,

May I ask you to record your finding here

https://github.com/amber-smalltalk/amber-documentation/issues/18

--Hannes

On 12/12/14, Vicnet <[hidden email]> wrote:

>
> It is not a sudo pb because the VM does not allow sudoers...
>
> I think the key is here (thanks to Phil's link on files):
>
> Let npm know where you want to put stuff
> npm config set prefix=~/npm
>
> I will try it.
>
> a+
> Vicnet
>
>
> Le mercredi 10 décembre 2014 23:20:06 UTC+1, Sebastian Sastre a écrit :
>>
>> sounds like the npm sudo problem
>>
>> the proper way to use npm is not needing to use sudo
>>
>> you have to google for that and get your host straing
>>
>> *after* that we can talk again about Amber :)
>>
>>
>>
>>
>>
>> On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email] <javascript:>>
>> wrote:
>>
>> I try successfully ssh.
>> I can launch npm command but when I try 'npm install -g amber-cli', I have
>>
>> a error on mkdir:
>> Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>>
>> Here is the start of the log:
>> npm http GET https://registry.npmjs.org/amber-cli
>> npm http 304 https://registry.npmjs.org/amber-cli
>> npm ERR! Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>> npm ERR!  { [Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
>> npm ERR!   errno: 3,
>> npm ERR!   code: 'EACCES',
>> npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_type: 'Directory',
>> npm ERR!   fstream_path:
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_class: 'DirWriter',
>> npm ERR!   fstream_stack:
>> npm ERR!    [
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23'
>> ,
>> npm ERR!
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
>> npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
>>
>>
>> Could I install amber in other dir ?
>>
>> a+
>> Vicnet
>>
>>
>> Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
>>>
>>> Ah. So the problem is how to get to the command line. I don't know RedHat
>>>
>>> gears, so maybe someone else can help.
>>>
>>> "Vicnet O." <[hidden email]>napísal/a:
>>>
>>> In fact, I don't know yet how to access the gear... I am not familiar
>>> with such VMs.
>>> I succefully create a node.js gear.
>>> I install rch on my PC but dont see yet how to do a npm, surely with a
>>> ssh cnx.
>>>
>>> a+
>>> Vicnet
>>>
>>> 2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
>>>
>>>> Did you try amber repo README (if yes, I'd like to know where it failed
>>>>
>>>> to show the installation process)?
>>>>
>>>> Vicnet <[hidden email]>napísal/a:
>>>>
>>>> Hello,
>>>>
>>>> Redhat offer 3 free gears (sort of VMs) with different environments.
>>>> One is node.js, and as I understand, npm.
>>>>
>>>> Does someone know how to install amber in this env ?
>>>>
>>>> a+
>>>> Vicnet
>>>>
>>>> --
>>>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

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

Re: Amber and OpenShift (redhat)

Vicnet-2

Well, what I have found yet:
- the current home dir is not writable !!
so npm could not create ".npm" dir
- In openshift ssh ('rhc ssh -a <app-name>'), I change HOME to OPENSHIFT_DATA_DIR
'export HOME=${OPENSHIFT_DATA_DIR}'
- and set npm config dir
'npm config set prefix="/var/lib/openshift/<app-id>/app-root/data/npm'
not sure it is necessary (TBC)
- then npm work correctly, I install amber-cli, grunt-cli and bower

Next I try to init my app and launch server.
The pb is that there is no amber shortcut so I must run amber directly with node:
- in my app dir (new dir)
  'node ../npm/lib/node_modules/amber-cli/support/amber-cli.js init'
Ok, ask question and create app

I cannot start server:
  'node ../npm/lib/node_modules/amber-cli/support/amber-cli.js serve'
is not working
  Welcome to Amber version 0.13.0 (NodeJS 0.10.25).
  Error starting server: Error: listen EACCES

I read that port are limited to 8080 !

I try to run 'serve' with '--port 8080' without success: same error.

In fact, node is already serve something in 8080.
Even killing current node, it fails to start server with same error !

I read that I must change a 'package.json' to start my own server but don't know where.

Stay tune for next episode !

a+
Vicnet

Le samedi 13 décembre 2014 15:35:19 UTC+1, Hannes a écrit :
Vicnet,

May I ask you to record your finding here

<a href="https://github.com/amber-smalltalk/amber-documentation/issues/18" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Famber-smalltalk%2Famber-documentation%2Fissues%2F18\46sa\75D\46sntz\0751\46usg\75AFQjCNE3p1xaq2BTXxEwSDvjeRFXCGfTtQ';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Famber-smalltalk%2Famber-documentation%2Fissues%2F18\46sa\75D\46sntz\0751\46usg\75AFQjCNE3p1xaq2BTXxEwSDvjeRFXCGfTtQ';return true;">https://github.com/amber-smalltalk/amber-documentation/issues/18

--Hannes

On 12/12/14, Vicnet <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="qhI60Pg6AmgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ose...@...> wrote:

>
> It is not a sudo pb because the VM does not allow sudoers...
>
> I think the key is here (thanks to Phil's link on files):
>
> Let npm know where you want to put stuff
> npm config set prefix=~/npm
>
> I will try it.
>
> a+
> Vicnet
>
>
> Le mercredi 10 décembre 2014 23:20:06 UTC+1, Sebastian Sastre a écrit :
>>
>> sounds like the npm sudo problem
>>
>> the proper way to use npm is not needing to use sudo
>>
>> you have to google for that and get your host straing
>>
>> *after* that we can talk again about Amber :)
>>
>>
>>
>>
>>
>> On Dec 10, 2014, at 8:00 PM, Vicnet <[hidden email] <javascript:>>
>> wrote:
>>
>> I try successfully ssh.
>> I can launch npm command but when I try 'npm install -g amber-cli', I have
>>
>> a error on mkdir:
>> Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>>
>> Here is the start of the log:
>> npm http GET <a href="https://registry.npmjs.org/amber-cli" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNEwIq1nP0tj7OYro8gu38wOv-iZ7Q';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNEwIq1nP0tj7OYro8gu38wOv-iZ7Q';return true;">https://registry.npmjs.org/amber-cli
>> npm http 304 <a href="https://registry.npmjs.org/amber-cli" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNEwIq1nP0tj7OYro8gu38wOv-iZ7Q';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.npmjs.org%2Famber-cli\46sa\75D\46sntz\0751\46usg\75AFQjCNEwIq1nP0tj7OYro8gu38wOv-iZ7Q';return true;">https://registry.npmjs.org/amber-cli
>> npm ERR! Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli'
>> npm ERR!  { [Error: EACCES, mkdir
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli']
>> npm ERR!   errno: 3,
>> npm ERR!   code: 'EACCES',
>> npm ERR!   path: '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_type: 'Directory',
>> npm ERR!   fstream_path:
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/amber-cli',
>> npm ERR!   fstream_class: 'DirWriter',
>> npm ERR!   fstream_stack:
>> npm ERR!    [
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/fstream/lib/dir-writer.js:36:23'
>> ,
>> npm ERR!
>> '/opt/rh/nodejs010/root/usr/lib/node_modules/mkdirp/index.js:37:53',
>> npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
>>
>>
>> Could I install amber in other dir ?
>>
>> a+
>> Vicnet
>>
>>
>> Le mercredi 10 décembre 2014 22:29:09 UTC+1, Herby a écrit :
>>>
>>> Ah. So the problem is how to get to the command line. I don't know RedHat
>>>
>>> gears, so maybe someone else can help.
>>>
>>> "Vicnet O." <[hidden email]>napísal/a:
>>>
>>> In fact, I don't know yet how to access the gear... I am not familiar
>>> with such VMs.
>>> I succefully create a node.js gear.
>>> I install rch on my PC but dont see yet how to do a npm, surely with a
>>> ssh cnx.
>>>
>>> a+
>>> Vicnet
>>>
>>> 2014-12-10 22:12 GMT+01:00 Herby Vojčík <[hidden email]>:
>>>
>>>> Did you try amber repo README (if yes, I'd like to know where it failed
>>>>
>>>> to show the installation process)?
>>>>
>>>> Vicnet <[hidden email]>napísal/a:
>>>>
>>>> Hello,
>>>>
>>>> Redhat offer 3 free gears (sort of VMs) with different environments.
>>>> One is node.js, and as I understand, npm.
>>>>
>>>> Does someone know how to install amber in this env ?
>>>>
>>>> a+
>>>> Vicnet
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "amber-lang" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to amber-lang+...@googlegroups.com.
>>>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>>
>>> "amber-lang" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>
>>> email to amber-lang+...@googlegroups.com.
>>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>>
>> "amber-lang" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>>
>> email to amber-lang+...@googlegroups.com <javascript:>.
>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="qhI60Pg6AmgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
>

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

Re: Amber and OpenShift (redhat)

Herby Vojčík
In reply to this post by Vicnet-2


Vicnet <[hidden email]>napísal/a:

The pb is that there is no amber shortcut so I must run amber directly with node:
- in my app dir (new dir)
  'node ../npm/lib/node_modules/amber-cli/support/amber-cli.js init'

No, you need not. Wherever npm installs your module, it also installs runnable scripts to .bin directory there as well. So you should have run '../npm/lib/node_modules/.bin/amber init'. Ideally, put that .bin in PATH and run the standard 'amber init'.

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

Re: Amber and OpenShift (redhat)

vivis
In reply to this post by Herby Vojčík
hi,
I am getting this error below, can you pl advice what is missing ?
=
npm ERR! Linux 2.6.32-573.22.1.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "amber-cli"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect

npm ERR! Error: connect ECONNREFUSED 151.101.36.162:443
npm ERR!     at Object.exports._errnoException (util.js:907:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:930:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14)
npm ERR!  { [Error: connect ECONNREFUSED 151.101.36.162:443]
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '151.101.36.162',
npm ERR!   port: 443 }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/npm-debug.log