Giter Site home page Giter Site logo

Comments (4)

jloosli avatar jloosli commented on August 10, 2024

What versions of Node/NPM are you running?

from node-firestore-import-export.

jloosli avatar jloosli commented on August 10, 2024

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.

hhimanshu avatar hhimanshu commented on August 10, 2024

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.

jloosli avatar jloosli commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.