Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverless deploy -f <name> does not work #34

Closed
lilactown opened this issue Jan 9, 2018 · 3 comments
Closed

serverless deploy -f <name> does not work #34

lilactown opened this issue Jan 9, 2018 · 3 comments

Comments

@lilactown
Copy link

lilactown commented Jan 9, 2018

$ serverless deploy -f greet
Serverless: Targeting /Users/r627543/Code/fido/packages/functions/example/.serverless/greet.zipServerless: Packaging function: greet...
Serverless: Executing "lein update-in :cljs-lambda assoc :functions '[{:name "example-dev-greet" :invoke example.core/greet}]' -- cljs-lambda build :output /Users/r627543/Code/fido/packages/functions/example/.serverless/greet.zip :quiet"
Serverless: Returning artifact path /Users/r627543/Code/fido/packages/functions/example/.serverless/greet.zip

  Error --------------------------------------------------

  ENOENT: no such file or directory, open '/Users/r627543/Code/fido/packages/functions/example/Users/r627543/Code/fido/packages/functions/example/.serverless/greet.zip'

Running serverless deploy works just fine.

@moea
Copy link
Member

moea commented Jan 9, 2018

Thanks, this is a regression. To help me reproduce this, what's your serverless version?

@lilactown
Copy link
Author

My serverless version is 1.25.0

@karlwestin
Copy link
Contributor

karlwestin commented Jan 14, 2018

I can confirm that this happens both with the version on NPM and the version on Github. Maybe there's been a change in how serverless interacts with the plugins?

Edit: i tested a bunch of different versions, and i found that 1.17.0 works, while 1.18.0 breaks
here's the (unfortunately rather big) diff

Edit2: tested with lumo (serverless deploy -f echo --lumo) and that works!

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

No branches or pull requests

3 participants