Learn to build a full-stack payment solution with the onboarding course.
https://firebase.google.com/docs/functions/beta-v1-diff
There is curretly bug preventing the CLI from reading Env vars in Node. As a workaround, add your Stripe API keys to credentials.json
"stripe": {
"publishable": "foo",
"secret": "bar",
"clientid": "baz"
}
Running command: npm --prefix "$RESOURCE_DIR" run lint
If you see this error, change your predeploy scripts in your firebase.json
to:
{
"functions": {
"predeploy": [
"npm --prefix ./functions/ run lint",
"npm --prefix ./functions/ run build"
]
}
}