kuashe / serverless-async-await

Frictionless Async Await transpiling for Serverless in Node 0.12 and above
8 stars 3 forks source link

ENOENT: no such file or directory, open when trying to deploy single lambda #8

Open mexin opened 6 years ago

mexin commented 6 years ago

I have a project with several lambda functions I only wanted to deploy 1 from all of them.

used: serverless deploy function --function helloWorld

And then I got the following

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

  ENOENT: no such file or directory, open '/Users/luismexin/Documents/Development/Numero/lambda-functions/__build__/.serverless/ibdComparison.zip'

Is there a work around to be able to deploy single lambdas?

Thanks!

kuashe commented 6 years ago

My bad , the library doesn't support single function transpilation , will give this a fix this weekend i think .

mexin commented 6 years ago

@kuashe Thanks a lot for the fast reply! Great! will watch the repo for any new versions!

kuashe commented 6 years ago

Can you try running the plugin on the entire project to confirm it's related to single file transpilation ?

mexin commented 6 years ago

I just deployed the whole project a few minutes ago, I only get the error when trying to deploy single lambdas. So yes it's only on single file transpilation.

kuashe commented 6 years ago

Great , thanks !

kuashe commented 6 years ago

@mexin I can't find time to fix this issue , as i'm very busy these days .Feel free to make a pr for this.