Git Product home page Git Product logo

Comments (7)

edisonneza avatar edisonneza commented on September 24, 2024 1

I had a similar issue from another guy but don't know if my answer helped him. Please try it by yourself and let me know if it works.

#10

from jspdf-invoice-template.

Rikisan avatar Rikisan commented on September 24, 2024

I followed the suggestion but got the same error. It would help me a lot if you update the package because the build is done on an external server and it downloads the dependencies on each build.

Currently I am sending the Blob from the frontend of my app (my intention is to send it by email), with this update the procedure would be greatly optimized.

Thanks in advance.

from jspdf-invoice-template.

edisonneza avatar edisonneza commented on September 24, 2024

Understand, I'll try to update the package ASAP. Thanks!

from jspdf-invoice-template.

edisonneza avatar edisonneza commented on September 24, 2024

@Rikisan I just have published the new version with the change about this issue. Please let me know if this version has fixed it.

from jspdf-invoice-template.

Rikisan avatar Rikisan commented on September 24, 2024

@edisonneza I'm getting this error now TypeError: Cannot read property 'bind' of undefined at Module.6857 (.../node_modules/jspdf-invoice-template/dist/index.js:2:17761)

Is there a special way to use it with NodeJS?

Thanks in advance!

from jspdf-invoice-template.

edisonneza avatar edisonneza commented on September 24, 2024

Working to add support for nodejs

from jspdf-invoice-template.

edisonneza avatar edisonneza commented on September 24, 2024

@Rikisan what nodejs version are you using?
If below v16 it will throw that exception. In my tests in nodejs v16 is working properly.
(anyway I'm trying to find a solution to make it work with nodejs version > 14)

image

from jspdf-invoice-template.

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.