Has anyone used nbb with fnproject? if there is an example that would be great. I tried googling but no luck
what is fnproject?
The Fn project is an open-source container-native serverless platform that you can run anywhere
hmm, I hoped I could run the nodefn example without running all kinds of other stuff
you mean docker?
yeah I'm not able to deploy it locally
fn deploy --local --app fdkdemoFn: Get "": dial tcp [::1]:8080: connect: connection refused
See 'fn <command> --help' for more information. Client version: 0.6.23 anyway something like this should work: https://github.com/babashka/nbb/blob/fn-project/doc/fnproject/nodefn/func.js
and note the "type": "module" in package.json
The documentation which explains this is here: https://github.com/babashka/nbb#calling-nbb-from-javascript
Thanks 🙏🏼 will try it tomorrow morning
ok let me know how it goes
build_image: fnproject/node:14-dev
run_image: fnproject/node:14Keen to hear how this goes too, Aziz.
alright, it worked locally. Need to test on oracle cloud now. Will do it later today. One thing to note is that you need to increase the memory limit to 256 for this to work with nbb
schema_version: 20180708
name: nodefn
version: 0.0.8
runtime: node
build_image: fnproject/node:14-dev
run_image: fnproject/node:14
entrypoint: node func.js
memory: 256I am 15% happier compared to yesterday, thank you @borkdude 🙏