kanbanize icon indicating copy to clipboard operation
kanbanize copied to clipboard

Does not work with now 2 cli

Open deadmantfa opened this issue 5 years ago • 11 comments

Does not work with now version 2 cli Can you please help?

deadmantfa avatar Jan 19 '19 15:01 deadmantfa

Oh dammit! I'll update this for now v2 tonight

dariye avatar Jan 19 '19 18:01 dariye

Was unable to get this to work with v2. I found a now-micro builder by @lucasconstantino but that still couldn't get it to work. Gonna table this for now and keep trying to get it to work.

dariye avatar Jan 19 '19 22:01 dariye

@pauldariye thanks for looking into this will wait for your update. I have made a copy of your project to work with AWS Lambda. You can have a look here https://github.com/deadmantfa/serverless-kanbanization

I have given you credit. Hope its fine with you

deadmantfa avatar Jan 30 '19 18:01 deadmantfa

absolutely! It's why we're here. Happy coding @deadmantfa

dariye avatar Jan 30 '19 20:01 dariye

What was the problem with now v2?

franciscolourenco avatar Jun 28 '19 09:06 franciscolourenco

v2 requires deploying a lamda which requires a builder; I'll give this a try again.

dariye avatar Jul 01 '19 09:07 dariye

Still works with v1 https://github.com/pauldariye/kanbanize/pull/9

franciscolourenco avatar Aug 21 '19 22:08 franciscolourenco

I got this to build and deploy successfully using now 2, however for some reason the graphql requests are failing.

I'm totally new to now.... any idea if I need to use a different builder or import another module?

I am getting one warning during the now build process...

ncc: Module directory "/tmp/3f85eb8d/node_modules/node-fetch/lib" attempted to require "encoding" but could not be resolved, assuming external.

I haven't been able to figure out how to resolve that yet, so if anyone has any ideas it would be very helpful

wilcoxmd avatar Sep 26 '19 20:09 wilcoxmd

actually I was able to resolve that error by just installing the package... so my build is error free now, but the graphql requests still seem to fail.

wilcoxmd avatar Sep 26 '19 20:09 wilcoxmd

Hey @wilcoxmd, I've tried it with the community builder but no dice. But from this spectrum chat it looks like we can use the now/node builder

dariye avatar Sep 27 '19 05:09 dariye

Interesting. I was actually able to get things to build now with the now-micro builder, and then realized that it seemed like things were returning early without waiting for results from async functions. Sprinkling some more awaits in front on async requests got some of them working, but I need to look more at the async.each calls in github.js. I haven't quite gotten those to play nice yet, and it seems like that is where the process is stopping for me right now.

wilcoxmd avatar Sep 28 '19 02:09 wilcoxmd