Open bahmutov opened 8 years ago
Node-jspdf brings in the 'master' version of jspdf. The version of node-jspdf that is currently in the npm repository (0.0.3) is not compatible with the master version of jspdf.
If you do a 'npm install https://github.com/calvinfroedge/node-jspdf.git', that will get you a newer copy of node-jspdf that is compatible with the master version of jspdf.
Had the same issue, but I'm getting the following error when running 'npm install https://github.com/calvinfroedge/node-jspdf.git'
node-jspdf@0.0.3 install C:\Users\tdowdle\Desktop\PDF\node_modules\node-jspdf
sh install.sh install.sh: line 8: syntax error: unexpected end of file
Must be related to trying to run cygwin in windows 10. Some syntax issue that may not exist natively..
Works alright with the unix bash shell on Win10 (anniversary edition).
need to have git and unzip installed on the bash shell and then from within the node_modules directory.
git clone https://github.com/calvinfroedge/node-jspdf.git cd node-jspdf ./install.sh
it works, thanks! git clone https://github.com/calvinfroedge/node-jspdf.git cd node-jspdf sudo sh install.sh
it works, thanks! git clone https://github.com/calvinfroedge/node-jspdf.git cd node-jspdf sudo sh install.sh
I would recommend avoid to use sudo
After doing
npm install node-jspdf
(npm 3.6.0, node 5) and trying to execute I get an error