node-printer icon indicating copy to clipboard operation
node-printer copied to clipboard

invalid ELF header

Open Mohini89 opened this issue 4 years ago • 0 comments

I installed this module with this command "npm install printer --build-from-source". On local machine node-printer works fine. but while deploying to server it gives invalid ELF header error.


Details: Error: /app/node_modules/printer/lib/node_printer.node: invalid ELF header at Object.Module._extensions..node (internal/modules/cjs/loader.js:683:18)

Note: local machine is windows while server OS is Linux.

Kindly guide me to how to solve the issue.

Mohini89 avatar Apr 18 '21 15:04 Mohini89