Does not work with now 2 cli
Opened this issue · 11 comments
Does not work with now version 2 cli
Can you please help?
Oh dammit! I'll update this for now v2 tonight
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.
@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
absolutely! It's why we're here. Happy coding @deadmantfa
What was the problem with now v2?
v2
requires deploying a lamda which requires a builder; I'll give this a try again.
Still works with v1 #9
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
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.
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
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 await
s 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.