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. |
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. |
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.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)? 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. |
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.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)? 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. |
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?
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. |
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:
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. 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. |
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:
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. 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. |
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:
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. 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. |
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 :)
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. |
Read the markdown files in here:
-- Phil On Wed, Dec 10, 2014 at 11:20 PM, sebastian <[hidden email]> wrote:
--- 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. |
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. |
yes
-- On Thu, Dec 11, 2014 at 4:55 PM, H. Hirzel <[hidden email]> wrote: Philip, --- 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. |
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):
I will try it. a+ Vicnet Le mercredi 10 décembre 2014 23:20:06 UTC+1, Sebastian Sastre a écrit :
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. |
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. |
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, 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. |
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. |
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 |
Free forum by Nabble | Edit this page |