Comments (4)
What versions of Node/NPM are you running?
from node-firestore-import-export.
I'm guessing it's a destructuring issue...if you're running node pre v6, that could cause problems.
Can you try changing the target
to ES5
or ES3
in the tsconfig and then running npm run build
again?
"target": "ES5"
from node-firestore-import-export.
Oh yes, Thanks a lot, @jloosli , that was the issue. I verified it by updating the node version. Additionally, I have seen a issue with the export-import. This is related to the type of the data. For example, the data type for a field was Timestamp
, but when downloaded, it because String
and during import
, it was uploaded as String
. This breaks the business logic to fetch the data.
from node-firestore-import-export.
Glad the Node update worked. As for special datatypes, I haven't tackled that yet, but it's something I do want to address (and would love any help/feedback). I'm going to close this issue for now, but I've opened a new pull request (#11) to start work on datatypes.
from node-firestore-import-export.
Related Issues (20)
- Update firestore dependency HOT 3
- firestoreImport() throws Cannot read property 'batch' of undefined HOT 1
- Error: Deadline Exceeded
- Error: ECONNRESET HOT 3
- Migrating Real Time to Firestore
- Export Based on Query
- Special FieldValues not properly checked - major security risk HOT 1
- UnhandledPromiseRejectionWarning: Error: 14 UNAVAILABLE: Connection dropped HOT 1
- Import fails with Cannot use "undefined" as a Firestore value if any field is NaN HOT 1
- Allocation failed - JavaScript heap out of memory HOT 3
- JSON data not being imported into Firebase Emulator HOT 2
- Proposal: Parameter to sort the json keys in the exported file
- Colors.js "zalgo" issue HOT 1
- exclude node path from export
- Can not import data to the emulator HOT 2
- 3 INVALID_ARGUMENT: Page size must be nonnegative. HOT 1
- Bandwidth Exhausted HOT 2
- is this library still being maintained? HOT 5
- Nonexisiting parents should not be created after export/import HOT 4
- Error: 16 UNAUTHENTICATED
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-firestore-import-export.