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_TOKEN
env: not possible since Firebase limits to lowercased configuration npm install
the module in the functions directory- Create a
.npmrc
file 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 ?