I was happily using an ssh workspace on a digitalocean droplet with c9.io before Amazon made it AWS cloud9.
Migrating has been a right pain.
Every time I start AWS cloud9 an installer script runs which does NOT install c9.ide.lambda. I want it to work properly, or stop bothering me!
npm ERR! Linux 4.15.0-47-generic
npm ERR! argv “/home/<user>/.c9/node/bin/node” “/home/<user>/.c9/node/bin/npm” “install” “–production” “firstname.lastname@example.org”
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! email@example.com postinstall:
npm ERR! Exit status 126
npm ERR! Failed at the firstname.lastname@example.org postinstall script ‘go-npm install’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aws-sam-local package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! go-npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs aws-sam-local
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls aws-sam-local
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! .c9/npm-debug.log
So, I read loads of posts & checked a few things & did a few things…
$ uname -r
$ python2 --version
$ pip --version
pip 18.1 from /home/<user>/anaconda3/lib/python3.7/site-packages/pip (python 3.7)
$ python3 --version
@test:~$ node --version
$ echo $USER_BASE_PATH
$ python3.7 -m pip install aws-sam-cli
$ which sam
$ sam --version
SAM CLI, version 0.14.2
$ curl -L https://raw.githubusercontent.com/c9/install/master/install.sh | bash
AWS Cloud9 installer script does NOT install c9.ide.lambda
How can I make it install c9.ide.lambda, or make it stop trying to load it?
Anyone know anything?
Thx, if you can help