Setting a DocumentReference in Document on Firestore (NodeJS)
This was a bug in an interaction between the admin SDK and the regular node SDK for Firestore.
An update to @google-cloud/firestore 0.8.2 should fix this issue.
You can update your project with npm update
to get this change.