Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install #143

Closed
rajathKatreya opened this issue Sep 11, 2016 · 9 comments
Closed

Not able to install #143

rajathKatreya opened this issue Sep 11, 2016 · 9 comments

Comments

@rajathKatreya
Copy link

rajathKatreya commented Sep 11, 2016

Hello ,
I was trying to install the printer using "npm install printer"
it gives error saying tell author that this fails on your system :
node-gyp rebuild

And if i download zip files from github and put them where npm is installed and run them.
I get a error as below .
module.js:583
return process.dlopen(module, path._makeLong(filename));
^

Error: Module version mismatch. Expected 48, got 46.
at Error (native)
at Object.Module._extensions..node (module.js:583:18)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (D:\Node\node_modules\printer\lib\printer.js:10:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)

@tojocky
Copy link
Owner

tojocky commented Sep 12, 2016

what version do you have?

seems you have the same issue as electron-userland/electron-builder#453

I believe you should do:
) Remove node_modules directory completely (rm -rf node_modules).
2) Please ensure that you don't use sudo. It is optional I think!
3) npm install.

Let me know what is your result?

@tojocky
Copy link
Owner

tojocky commented Sep 13, 2016

I tried on linux and osx with different versions and it is working as a charm.

I hope you remove node_modules from your project?
What is the detailed log?
What OS?

@rajathKatreya
Copy link
Author

hey i am using windows 7 ,
Can you please let me know what are exact steps in need to follow,.
I have installed nodes latest version 6.5 now from here tell me what are steps.

@rajathKatreya
Copy link
Author

the thing is i want to communicate with printer and send files to printer and get response back.
And this module as dependencies on vc++ and python right?

@eblumenfeld
Copy link

I have the same problem with windows 10 and node 6.7.0,

here is the npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'printer',
1 verbose cli '--save',
1 verbose cli '--msvs_version=2015' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData printer
8 silly fetchNamedPackageData printer
9 silly mapToRegistry name printer
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry raw: 'printer',
12 silly mapToRegistry scope: null,
12 silly mapToRegistry escapedName: 'printer',
12 silly mapToRegistry name: 'printer',
12 silly mapToRegistry rawSpec: '',
12 silly mapToRegistry spec: 'latest',
12 silly mapToRegistry type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/printer
14 verbose request uri https://registry.npmjs.org/printer
15 verbose request no auth needed
16 info attempt registry request try #1 at 4:06:22 PM
17 verbose request id 0f8dd6e31f5cc0b6
18 verbose etag "8QEC2M5IZHBZ2404HA2318CHC"
19 http request GET https://registry.npmjs.org/printer
20 http 304 https://registry.npmjs.org/printer
21 verbose headers { date: 'Wed, 28 Sep 2016 20:06:23 GMT',
21 verbose headers via: '1.1 varnish',
21 verbose headers 'cache-control': 'max-age=300',
21 verbose headers etag: '"8QEC2M5IZHBZ2404HA2318CHC"',
21 verbose headers age: '0',
21 verbose headers connection: 'keep-alive',
21 verbose headers 'x-served-by': 'cache-atl6245-ATL',
21 verbose headers 'x-cache': 'HIT',
21 verbose headers 'x-cache-hits': '1',
21 verbose headers 'x-timer': 'S1475093183.051377,VS0,VE220',
21 verbose headers vary: 'Accept-Encoding' }
22 silly get cb [ 304,
22 silly get { date: 'Wed, 28 Sep 2016 20:06:23 GMT',
22 silly get via: '1.1 varnish',
22 silly get 'cache-control': 'max-age=300',
22 silly get etag: '"8QEC2M5IZHBZ2404HA2318CHC"',
22 silly get age: '0',
22 silly get connection: 'keep-alive',
22 silly get 'x-served-by': 'cache-atl6245-ATL',
22 silly get 'x-cache': 'HIT',
22 silly get 'x-cache-hits': '1',
22 silly get 'x-timer': 'S1475093183.051377,VS0,VE220',
22 silly get vary: 'Accept-Encoding' } ]
23 verbose etag https://registry.npmjs.org/printer from cache
24 verbose get saving printer to C:\Users\Lisangel\AppData\Roaming\npm-cache\registry.npmjs.org\printer.cache.json
25 verbose correctMkdir C:\Users\Lisangel\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
26 silly install normalizeTree
27 silly loadCurrentTree Finishing
28 silly loadIdealTree Starting
29 silly install loadIdealTree
30 silly cloneCurrentTree Starting
31 silly install cloneCurrentTreeToIdealTree
32 silly cloneCurrentTree Finishing
33 silly loadShrinkwrap Starting
34 silly install loadShrinkwrap
35 silly loadShrinkwrap Finishing
36 silly loadAllDepsIntoIdealTree Starting
37 silly install loadAllDepsIntoIdealTree
38 silly resolveWithNewModule [email protected] checking installable status
39 silly cache add args [ 'printer', null ]
40 verbose cache add spec printer
41 silly cache add parsed spec Result {
41 silly cache add raw: 'printer',
41 silly cache add scope: null,
41 silly cache add escapedName: 'printer',
41 silly cache add name: 'printer',
41 silly cache add rawSpec: '',
41 silly cache add spec: 'latest',
41 silly cache add type: 'tag' }
42 silly addNamed printer@latest
43 verbose addNamed "latest" is being treated as a dist-tag for printer
44 info addNameTag [ 'printer', 'latest' ]
45 silly mapToRegistry name printer
46 silly mapToRegistry using default registry
47 silly mapToRegistry registry https://registry.npmjs.org/
48 silly mapToRegistry data Result {
48 silly mapToRegistry raw: 'printer',
48 silly mapToRegistry scope: null,
48 silly mapToRegistry escapedName: 'printer',
48 silly mapToRegistry name: 'printer',
48 silly mapToRegistry rawSpec: '',
48 silly mapToRegistry spec: 'latest',
48 silly mapToRegistry type: 'tag' }
49 silly mapToRegistry uri https://registry.npmjs.org/printer
50 verbose addNameTag registry:https://registry.npmjs.org/printer not in flight; fetching
51 verbose get https://registry.npmjs.org/printer not expired, no request
52 silly addNameTag next cb for printer with tag latest
53 silly addNamed [email protected]
54 verbose addNamed "0.2.2" is a plain semver version for printer
55 silly cache afterAdd [email protected]
56 verbose afterAdd C:\Users\Lisangel\AppData\Roaming\npm-cache\printer\0.2.2\package\package.json not in flight; writing
57 verbose correctMkdir C:\Users\Lisangel\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
58 verbose afterAdd C:\Users\Lisangel\AppData\Roaming\npm-cache\printer\0.2.2\package\package.json written
59 silly loadAllDepsIntoIdealTree Finishing
60 silly loadIdealTree Finishing
61 silly currentTree [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree | -- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree |-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree | -- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree |-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree +-- [email protected]
61 silly currentTree | +-- [email protected]
61 silly currentTree | +-- [email protected]
61 silly currentTree | +-- [email protected]
61 silly currentTree | -- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree +-- [email protected] 61 silly currentTree-- [email protected]
62 silly idealTree [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree | -- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree |-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree | -- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree |-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree +-- [email protected]
62 silly idealTree | +-- [email protected]
62 silly idealTree | +-- [email protected]
62 silly idealTree | +-- [email protected]
62 silly idealTree | -- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree +-- [email protected] 62 silly idealTree-- [email protected]
63 silly generateActionsToTake Starting
64 silly install generateActionsToTake
65 silly generateActionsToTake Finishing
66 silly diffTrees action count 1
67 silly diffTrees add [email protected]
68 silly decomposeActions action count 8
69 silly decomposeActions fetch [email protected]
70 silly decomposeActions extract [email protected]
71 silly decomposeActions test [email protected]
72 silly decomposeActions preinstall [email protected]
73 silly decomposeActions build [email protected]
74 silly decomposeActions install [email protected]
75 silly decomposeActions postinstall [email protected]
76 silly decomposeActions finalize [email protected]
77 silly executeActions Starting
78 silly install executeActions
79 silly doSerial global-install 0
80 silly doParallel fetch 1
81 verbose correctMkdir C:\Users\Lisangel\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing
82 verbose lock using C:\Users\Lisangel\AppData\Roaming\npm-cache_locks\staging-0e07c8944f6332aa.lock for C:\OneDrive\FasPacNode\node_modules.staging
83 silly doParallel extract 1
84 silly extract [email protected]
85 verbose unbuild node_modules.staging\printer-4c513c45
86 silly gentlyRm C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45 is being purged from base C:\OneDrive\FasPacNode
87 verbose gentlyRm don't care about contents; nuking C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45
88 verbose tar unpack C:\Users\Lisangel\AppData\Roaming\npm-cache\printer\0.2.2\package.tgz
89 verbose tar unpacking to C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45
90 silly gentlyRm C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45 is being purged
91 verbose gentlyRm don't care about contents; nuking C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45
92 silly gunzTarPerm modes [ '777', '666' ]
93 silly gunzTarPerm extractEntry package.json
94 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
95 silly gunzTarPerm extractEntry .npmignore
96 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
97 silly gunzTarPerm extractEntry README.md
98 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
99 silly gunzTarPerm extractEntry Gruntfile.js
100 silly gunzTarPerm modified mode [ 'Gruntfile.js', 420, 438 ]
101 silly gunzTarPerm extractEntry printer.js
102 silly gunzTarPerm modified mode [ 'printer.js', 420, 438 ]
103 silly gunzTarPerm extractEntry build/Makefile
104 silly gunzTarPerm modified mode [ 'build/Makefile', 420, 438 ]
105 silly gunzTarPerm extractEntry build/Release/.deps/Release/node_printer.node.d
106 silly gunzTarPerm modified mode [ 'build/Release/.deps/Release/node_printer.node.d', 420, 438 ]
107 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/node_printer/src/node_printer.o.d
108 silly gunzTarPerm modified mode [ 'build/Release/.deps/Release/obj.target/node_printer/src/node_printer.o.d',
108 silly gunzTarPerm 420,
108 silly gunzTarPerm 438 ]
109 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/node_printer/src/node_printer_posix.o.d
110 silly gunzTarPerm modified mode [ 'build/Release/.deps/Release/obj.target/node_printer/src/node_printer_posix.o.d',
110 silly gunzTarPerm 420,
110 silly gunzTarPerm 438 ]
111 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/node_printer.node.d
112 silly gunzTarPerm modified mode [ 'build/Release/.deps/Release/obj.target/node_printer.node.d',
112 silly gunzTarPerm 420,
112 silly gunzTarPerm 438 ]
113 silly gunzTarPerm extractEntry build/Release/linker.lock
114 silly gunzTarPerm modified mode [ 'build/Release/linker.lock', 420, 438 ]
115 silly gunzTarPerm extractEntry build/Release/node_printer.node
116 silly gunzTarPerm modified mode [ 'build/Release/node_printer.node', 493, 511 ]
117 silly gunzTarPerm extractEntry build/Release/obj.target/node_printer/src/node_printer.o
118 silly gunzTarPerm modified mode [ 'build/Release/obj.target/node_printer/src/node_printer.o',
118 silly gunzTarPerm 420,
118 silly gunzTarPerm 438 ]
119 silly gunzTarPerm extractEntry build/Release/obj.target/node_printer/src/node_printer_posix.o
120 silly gunzTarPerm modified mode [ 'build/Release/obj.target/node_printer/src/node_printer_posix.o',
120 silly gunzTarPerm 420,
120 silly gunzTarPerm 438 ]
121 silly gunzTarPerm extractEntry build/Release/obj.target/node_printer.node
122 silly gunzTarPerm modified mode [ 'build/Release/obj.target/node_printer.node', 493, 511 ]
123 silly gunzTarPerm extractEntry build/binding.Makefile
124 silly gunzTarPerm modified mode [ 'build/binding.Makefile', 420, 438 ]
125 silly gunzTarPerm extractEntry build/node_printer.target.mk
126 silly gunzTarPerm modified mode [ 'build/node_printer.target.mk', 420, 438 ]
127 silly gunzTarPerm extractEntry appveyor.yml
128 silly gunzTarPerm modified mode [ 'appveyor.yml', 420, 438 ]
129 silly gunzTarPerm extractEntry binding.gyp
130 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ]
131 silly gunzTarPerm extractEntry ChangeLog
132 silly gunzTarPerm modified mode [ 'ChangeLog', 420, 438 ]
133 silly gunzTarPerm extractEntry examples/cancelJob.js
134 silly gunzTarPerm modified mode [ 'examples/cancelJob.js', 420, 438 ]
135 silly gunzTarPerm extractEntry examples/getDefaultPrinterName.js
136 silly gunzTarPerm modified mode [ 'examples/getDefaultPrinterName.js', 420, 438 ]
137 silly gunzTarPerm extractEntry examples/getPrinterDriverOptions.js
138 silly gunzTarPerm modified mode [ 'examples/getPrinterDriverOptions.js', 420, 438 ]
139 silly gunzTarPerm extractEntry examples/getPrinters.js
140 silly gunzTarPerm modified mode [ 'examples/getPrinters.js', 420, 438 ]
141 silly gunzTarPerm extractEntry examples/getSupportedFormats.js
142 silly gunzTarPerm modified mode [ 'examples/getSupportedFormats.js', 420, 438 ]
143 silly gunzTarPerm extractEntry examples/example_zebra_printer.js
144 silly gunzTarPerm modified mode [ 'examples/example_zebra_printer.js', 420, 438 ]
145 silly gunzTarPerm extractEntry examples/printFile.js
146 silly gunzTarPerm modified mode [ 'examples/printFile.js', 420, 438 ]
147 silly gunzTarPerm extractEntry examples/printPDFFileInBuffer.js
148 silly gunzTarPerm modified mode [ 'examples/printPDFFileInBuffer.js', 420, 438 ]
149 silly gunzTarPerm extractEntry examples/printPDFInWindows.js
150 silly gunzTarPerm modified mode [ 'examples/printPDFInWindows.js', 420, 438 ]
151 silly gunzTarPerm extractEntry examples/print_raw.js
152 silly gunzTarPerm modified mode [ 'examples/print_raw.js', 420, 438 ]
153 silly gunzTarPerm extractEntry examples/getSupportedJobCommands.js
154 silly gunzTarPerm modified mode [ 'examples/getSupportedJobCommands.js', 420, 438 ]
155 silly gunzTarPerm extractEntry examples/test.pdf
156 silly gunzTarPerm modified mode [ 'examples/test.pdf', 420, 438 ]
157 silly gunzTarPerm extractEntry lib/index.js
158 silly gunzTarPerm modified mode [ 'lib/index.js', 420, 438 ]
159 silly gunzTarPerm extractEntry lib/printer.js
160 silly gunzTarPerm modified mode [ 'lib/printer.js', 420, 438 ]
161 silly gunzTarPerm extractEntry src/macros.hh
162 silly gunzTarPerm modified mode [ 'src/macros.hh', 420, 438 ]
163 silly gunzTarPerm extractEntry src/node_printer.cc
164 silly gunzTarPerm modified mode [ 'src/node_printer.cc', 420, 438 ]
165 silly gunzTarPerm extractEntry src/node_printer.hpp
166 silly gunzTarPerm modified mode [ 'src/node_printer.hpp', 420, 438 ]
167 silly gunzTarPerm extractEntry src/node_printer_posix.cc
168 silly gunzTarPerm modified mode [ 'src/node_printer_posix.cc', 420, 438 ]
169 silly gunzTarPerm extractEntry src/node_printer_win.cc
170 silly gunzTarPerm modified mode [ 'src/node_printer_win.cc', 420, 438 ]
171 silly gunzTarPerm extractEntry .travis.yml
172 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ]
173 silly gunzTarPerm extractEntry tools/getSourceFiles.py
174 silly gunzTarPerm modified mode [ 'tools/getSourceFiles.py', 420, 438 ]
175 silly gentlyRm C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45\node_modules is being purged
176 verbose gentlyRm don't care about contents; nuking C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45\node_modules
177 silly doParallel preinstall 1
178 silly preinstall [email protected] C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45
179 info lifecycle [email protected]preinstall: [email protected]
180 silly lifecycle [email protected]
preinstall: no script for preinstall, continuing
181 silly doReverseSerial remove 0
182 silly doSerial move 0
183 silly doSerial finalize 1
184 silly finalize C:\OneDrive\FasPacNode\node_modules\printer
185 silly doSerial build 1
186 silly build [email protected]
187 info linkStuff [email protected]
188 silly linkStuff [email protected] has C:\OneDrive\FasPacNode\node_modules as its parent node_modules
189 verbose linkBins [email protected]
190 verbose linkMans [email protected]
191 silly doSerial global-link 0
192 silly doParallel update-linked 0
193 silly doSerial install 1
194 silly install [email protected] C:\OneDrive\FasPacNode\node_modules.staging\printer-4c513c45
195 info lifecycle [email protected]install: [email protected]
196 verbose lifecycle [email protected]
install: unsafe-perm in lifecycle true
197 verbose lifecycle [email protected]install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\OneDrive\FasPacNode\node_modules\printer\node_modules.bin;C:\OneDrive\FasPacNode\node_modules.bin;C:\Program Files\nodejs;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\IronRuby 1.1\bin;C:\Users\Lisangel.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Git\cmd;C:\Program Files (x86)\LINQPad4;C:\Program Files\dotnet;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\Microsoft Emulator Manager\1.0;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\nodejs;C:\Users\Lisangel.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update2\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Lisangel\AppData\Local\atom\bin;C:\Users\Lisangel\AppData\Local\Microsoft\WindowsApps;C:\Users\Lisangel\AppData\Roaming\npm
198 verbose lifecycle [email protected]
install: CWD: C:\OneDrive\FasPacNode\node_modules\printer
199 silly lifecycle [email protected]install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
200 silly lifecycle [email protected]
install: Returned: code: 1 signal: null
201 info lifecycle [email protected]~install: Failed to exec install script
202 verbose unlock done using C:\Users\Lisangel\AppData\Roaming\npm-cache_locks\staging-0e07c8944f6332aa.lock for C:\OneDrive\FasPacNode\node_modules.staging
203 silly rollbackFailedOptional Starting
204 silly rollbackFailedOptional Finishing
205 silly runTopLevelLifecycles Starting
206 silly runTopLevelLifecycles Finishing
207 silly install printInstalled
208 warn [email protected] No repository field.
209 verbose stack Error: [email protected] install: node-gyp rebuild
209 verbose stack Exit status 1
209 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
209 verbose stack at emitTwo (events.js:106:13)
209 verbose stack at EventEmitter.emit (events.js:191:7)
209 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
209 verbose stack at emitTwo (events.js:106:13)
209 verbose stack at ChildProcess.emit (events.js:191:7)
209 verbose stack at maybeClose (internal/child_process.js:877:16)
209 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
210 verbose pkgid [email protected]
211 verbose cwd C:\OneDrive\FasPacNode
212 error Windows_NT 10.0.14393
213 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "printer" "--save" "--msvs_version=2015"
214 error node v6.7.0
215 error npm v3.10.3
216 error code ELIFECYCLE
217 error [email protected] install: node-gyp rebuild
217 error Exit status 1
218 error Failed at the [email protected] install script 'node-gyp rebuild'.
218 error Make sure you have the latest version of node.js and npm installed.
218 error If you do, this is most likely a problem with the printer package,
218 error not with npm itself.
218 error Tell the author that this fails on your system:
218 error node-gyp rebuild
218 error You can get information on how to open an issue for this project with:
218 error npm bugs printer
218 error Or if that isn't available, you can get their info via:
218 error npm owner ls printer
218 error There is likely additional logging output above.

219 verbose exit [ 1, true ]

@Gallienvs
Copy link

Got the exact same problem here, Win 10, Node 6.7.0. Any hint yet?

@tojocky
Copy link
Owner

tojocky commented Sep 30, 2016

Hi Guys,

I think the issue is with C++ compiler configuration. previously I had the same issue when having more than 1 compiler.

Could you please confirm if you manage to compile other node.js native module?

I can provide precompiled package release but I don't have time to support this.

@Gallienvs
Copy link

Gallienvs commented Oct 3, 2016

Hi,
if someone can provide a precompiled package that would be a great step forward.
I can confirm i cannot compile other node.js native modules. I tried "native-module" package from npm.

This are the errors logged:
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "native-module" "--save"
npm ERR! node v6.7.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the native-module 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 information on how to open an issue for this project with:
npm ERR! npm bugs native-module
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls native-module
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:

@vasumahesh1
Copy link
Contributor

@Gallienvs Try this Electron builds are working so I think win32 ones should also work.

@tojocky tojocky closed this as completed Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants