Comments (6)
Install it from a local clone
from node-printer.
Or npm install printer
from node-printer.
Now i get the following error
D:\ProjectITCS\bin\node_modules\printer>node "C:\Program Files (x86)\nodejs\node
_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebu
ild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
VCBUILD : error Message: [D:\ProjectITCS\bin\node_modules\printer\build\bindin
g.sln]
VCBUILD : System error : -2147154687. [D:\ProjectITCS\bin\node_modules\printer
build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_mo
dules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:
12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Program Files (x86)\nodejs\node_modules\npm\nod
e_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\ProjectITCS\bin\node_modules\printer
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the printer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls printer
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program File
s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "git+https://gith
ub.com/tojocky/node-printer.git"
npm ERR! cwd D:\ProjectITCS\bin
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
from node-printer.
VCBUILD : System error : -2147154687
It is a system error. Did you try to install from VS command Prompt?
Did you check your logs?
Did you try to find in the internet first what this error mean?
A hint can be:
http://stackoverflow.com/questions/27034592/node-gyp-build-error-for-bcrypt-module-in-windows-nt-6-1-7600-x86
from node-printer.
Thank you . it's an issue with vc 2008. Installing vc2010 solved it .
from node-printer.
Cool
from node-printer.
Related Issues (20)
- Docs unclear - do I need Python on target server, or just on dev machine? Other related questions...
- npm install - The module was compiled against a different Node.js version HOT 3
- Unable to install from NPM HOT 11
- Version NodeJS and Electron HOT 1
- npm published package 0.4.0 doesn't include the fix in #292 HOT 1
- invalid ELF header
- printer.js MODULE_NOT_FOUND after compiling project with pkg HOT 1
- jobs doesnt get filled if printer is a shared printer
- How to get response from device? Not job status HOT 1
- can i delete the Build folder?
- Print PDF from URL HOT 3
- Files spooling but never printing
- Cannot find module './node_printer_darwin_x64.node' HOT 3
- Can't print the Image manipulated by Sharp library & converted into base64 & then after buffer! its prints special characters on Images! HOT 2
- Error: StartDocPrinterW error: code: 1804, message: The specified datatype is invalid. HOT 1
- Error: StartDocPrinterW error: code: 1905, message: ...
- alternative to image printing in windows
- Is it possible to use this on an MacBook M2 ( arm64 )? HOT 1
- Cannot find module './node_printer_win32_x64.node'
- Cant install npm install printer. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-printer.