Serverless-chrome: Can't install example app on Mac OS

Created on 3 Dec 2017  路  5Comments  路  Source: adieuadieu/serverless-chrome

Hello, I am stuck in the very beginning :) I'm trying to run the next command:

serverless create -u https://github.com/adieuadieu/serverless-chrome/tree/master/serverless-chrome/examples/serverless-framework/aws

But output is always the same:

Serverless: Generating boilerplate...
Serverless: Downloading and installing "aws"...

  Serverless Error ---------------------------------------

  Error: EEXIST: file already exists, symlink '../dist/' -> '/var/folders/xz/fmlcpsh92zn23tv701vvynfh0000gn/T/serverless-chrome/packages/lambda/integration-test/dist'

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                     darwin
     Node Version:           8.9.1
     Serverless Version:     1.24.1

I tried 3 different macs, and the problem is the same on all of them.

bug

Most helpful comment

That's no good. Sorry about that. 馃槥

Alternatively, you can try:

git clone https://github.com/adieuadieu/serverless-chrome.git
cd serverless-chrome/examples/serverless-framework/aws
[ -n "$(which yarn)" ] && yarn install || npm install

Now you should be as far as you'd be doing serverless create -u ...

All 5 comments

That's no good. Sorry about that. 馃槥

Alternatively, you can try:

git clone https://github.com/adieuadieu/serverless-chrome.git
cd serverless-chrome/examples/serverless-framework/aws
[ -n "$(which yarn)" ] && yarn install || npm install

Now you should be as far as you'd be doing serverless create -u ...

Great, thanks @adieuadieu, that really helped!

@anzebra glad to hear that helped!

I'm going to re-open this Issue thread as the original reported problem has not been corrected, and I'd like to make sure it gets fixed.

Hi, @adieuadieu
I have a same error in Ubuntu 16.04 LTS.
To fix the problem I use provided you solution:

git clone https://github.com/adieuadieu/serverless-chrome.git
cd serverless-chrome/examples/serverless-framework/aws
[ -n "$(which yarn)" ] && yarn install || npm install

But I don't understand which command I should perform after this.
Could you please provide a more detailed instructions?

I'm still getting the same error as originally reported when running 'serverless create.' Was this ever fixed? Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adieuadieu picture adieuadieu  路  11Comments

jonhkr picture jonhkr  路  9Comments

alekseykulikov picture alekseykulikov  路  4Comments

Huljo picture Huljo  路  6Comments

alessbelli picture alessbelli  路  3Comments