Issue
I have developed a node API for my angular application, My node application uses node-printer package for printing pdf files generated by node, when i tried to run my application using nodemon i am getting an error
node printer.node is not a valid win32 application
The same application is working on the other machine without any error. both the machines are of X64 bit architecture.
also i have also tried to install node js 32 bit then too i am getting same error.
Solution
This worked for me, installing printer as such:
npm install printer --build-from-source
Answered By - BelgoCanadian
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.