Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to use v1.5.0 #167

Open
DanielDiaz18 opened this issue Jan 22, 2025 · 1 comment
Open

unable to use v1.5.0 #167

DanielDiaz18 opened this issue Jan 22, 2025 · 1 comment

Comments

@DanielDiaz18
Copy link

i'm unable to import nothing from the package, every time i get this error:

/node_modules/.pnpm/[email protected]/node_modules/firestore-export-import/dist/index.js:3
return t;};return __assign.apply(this,arguments);};Object.defineProperty(exports,"__esModule",{value:true});exports.backups=exports.restore=exports.backupFromDoc=exports.backup=exports.initializeFirebaseApp=void 0;var app_1=require("firebase-admin/app");var firestore_1=require("firebase-admin/firestore");var export_js_1=require("./export.js");var import_js_1=require("./import.js");var initializeFirebaseApp=function(serviceAccount,name,options){if(name===void 0){name='[DEFAULT]';}
                                                                         ^

ReferenceError: exports is not defined
    at /node_modules/.pnpm/[email protected]/node_modules/firestore-export-import/dist/index.js:3:74

after downgrade to v1.4.0, i'm now able to run my project

@dalenguyen
Copy link
Owner

Thanks for the info. Which node version are you using? Do you have a sample code or a public repo to test with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants