I'm trying to switch an application to Firebase and transfer the backend to Firebase Cloud Functions.
This application is using a private package (@org/name) as a dependency.
I've tried different solution, but none seems to work:
- Pass a
NPM_TOKENenv: not possible since Firebase limits to lowercased configuration npm installthe module in the functions directory- Create a
.npmrcfile in the functions directory with both YARN and NPM auth token
It always rejects the deployment with:
Deploy Error: Build failed: Module @org/name not found in npm registry
Are private packages supported on Firebase ?