jloosli/node-firestore-import-export

firestore-export: The term 'firestore-export' is not recognized as a cmdlet name,

Closed this issue · 1 comments

Expected behavior

the code execute

Actual behavior

error appears: firestore-export: The term 'firestore-export' is not recognized as a cmdlet name, and does not execute

Steps to reproduce the behavior

firestore-export --accountCredentials path/credentials.json --backupFile /backups/myDatabase.json

After installing the package, the command line tools are installed in the npm/yarn bin directory. Try the following:
$(npm bin)firestore-export --accountCredentials path/credentials.json --backupFile /backups/myDatabase.json