Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Cloud9 installer always fails at "Installing SAM Local" stage #90

Open
WilliamVenner opened this issue Jul 23, 2018 · 4 comments
Open

Comments

@WilliamVenner
Copy link

No matter what server is used, I always get this error:

Package c9.ide.lambda 5
-----------------------
Installing SAM Local
-
> [email protected] postinstall /root/.c9/node/lib/node_modules/aws-sam-local
> go-npm install

Downloading from URL: https://github.com/awslabs/aws-sam-local/releases/download/v0.2.11/sam_0.2.11_linux_amd64.tar.gz
[email protected] /root/.c9/node/lib/node_modules/aws-sam-local
└── [email protected] ([email protected], [email protected], [email protected])
npm ERR! Linux 4.15.0-23-generic
npm ERR! argv "/root/.c9/node/bin/node" "/root/.c9/node/bin/npm" "explore" "-g" "[email protected]" "--" "ln -sfv $(pwd)/bin/* /usr/bin/"
npm ERR! node v4.8.7
npm ERR! npm  v2.15.11

npm ERR! It doesn't look like [email protected] is installed.
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>


Failed npm-g. Exit code 1

One or more errors occured. Please try to resolve them and restart AWS Cloud9 or visit https://forums.aws.amazon.com/forum.jspa?forumID=268
@adriancbo
Copy link

adriancbo commented Aug 3, 2018

Same here. Going down the rabbit hole now to try n figure it out.

On Debian 9.5x64...

Ending up with these errors:

When installing manually:

wget -O - https://raw.githubusercontent.com/c9/install/master/install.sh | bash
...
bufferevent_openssl.c:237:2: note: (near initialization for ‘methods_bufferevent’)
bufferevent_openssl.c:228:19: error: storage size of ‘methods_bufferevent’ isn’t known
 static BIO_METHOD methods_bufferevent = {
                   ^~~~~~~~~~~~~~~~~~~
Makefile:793: recipe for target 'bufferevent_openssl.lo' failed
make[2]: *** [bufferevent_openssl.lo] Error 1
make[2]: Leaving directory '/root/.c9/libevent-2.0.21-stable'
Makefile:857: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/.c9/libevent-2.0.21-stable'
Makefile:592: recipe for target 'all' failed
make: *** [all] Error 2

Installing via AWS console:

...
Failed npm-g. Exit code E_MISSING_END_MARKER

@WilliamVenner
Copy link
Author

@adriancbo Hey Adrian, did you manage to fix this error?

@dryrain39
Copy link

same error here

Installation Started

Package c9.ide.lambda 5
-----------------------
Installing SAM Local

> [email protected] preuninstall /root/.c9/node/lib/node_modules/aws-sam-local
> go-npm uninstall

-
> [email protected] postinstall /root/.c9/node/lib/node_modules/aws-sam-local
> go-npm install

Downloading from URL: https://github.com/awslabs/aws-sam-local/releases/download/v0.2.11/sam_0.2.11_linux_amd64.tar.gz
[email protected] /root/.c9/node/lib/node_modules/aws-sam-local
└── [email protected] ([email protected], [email protected], [email protected])
npm ERR! Linux 4.15.0-33-generic
npm ERR! argv "/root/.c9/node/bin/node" "/root/.c9/node/bin/npm" "explore" "-g" "[email protected]" "--" "ln -sfv $(pwd)/bin/* /usr/bin/"
npm ERR! node v4.8.7
npm ERR! npm  v2.15.11

npm ERR! It doesn't look like [email protected] is installed.
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /root/.c9/empty/npm-debug.log

Failed npm-g. Exit code E_MISSING_END_MARKER

One or more errors occured. Please try to resolve them and restart AWS Cloud9 or visit https://forums.aws.amazon.com/forum.jspa?forumID=268

@msmcconnell
Copy link

Just started seeing this error as well. Was the root cause ever found? Is it bad builds?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants