Additional information here:
https://github.com/lovell/sharp/issues/1387
I have also tried making a brand new project with sharp as the only package.
index.js
const testMod = require("sharp");
console.log("Done!");
package.json
{
"dependencies": {
"sharp": "^0.20.8"
}
}
Running gives me this error:
internal/modules/cjs/loader.js:718
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\lib\constructor.js:10:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
PS E:\Computer-Stuff\Javascript\2018\New folder>
What I have done:
I have installed node-gyp, I have installed windows-build-tools 6 times and redid install for vs community twice and installed python 2.7 twice. But nothing works. I have been stuck on this problem for at least a week and I'm am really frustrated.
Hello, please can you provide the full output of running the npm install --verbose sharp command on this machine.
I got the same issue
```
module.js:681
return process.dlopen(module, path._makeLong(filename));
^
Error: The specified module could not be found.
\?\D:\laragon\www\wofox-adonisnode_modulessharp\build\Releasesharp.node
at Object.Module._extensions..node (module.js:681:18)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
Application crashed, make sure to kill all related running process, fix the issue and re-run the app `
I tried npm install sharp --verbose @lovell
Thank you for the response! I was afraid that no one would respond
This is what I get:
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 'sharp',
1 verbose cli '--verbose' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session e8e013734c5f8367
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/sharp 147ms
8 silly pacote range manifest for sharp@^0.20.8 fetched in 180ms
9 timing stage:loadCurrentTree Completed in 521ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 69ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email protected] checking installable status
17 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
18 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
19 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
20 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
21 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
22 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
23 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
24 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
25 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
26 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
27 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
28 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
29 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
30 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
31 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
32 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
33 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
34 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
35 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
36 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
37 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
38 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
39 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
40 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
41 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
42 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
43 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
44 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
45 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
46 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
47 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
48 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
49 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
50 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
51 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
52 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
53 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
54 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
55 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
56 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
57 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
58 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
59 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
60 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
61 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
62 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
63 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
64 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
65 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
66 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
67 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
68 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
69 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
70 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
71 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
72 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
73 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
74 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
75 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
76 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
77 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
78 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
79 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
80 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
81 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
82 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
83 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
84 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
85 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
86 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
87 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
88 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
89 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
90 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
91 silly removeObsoleteDep removing [email protected] from the tree as its been replaced by a newer version or is no longer required
92 http fetch GET 200 https://registry.npmjs.org/color 49ms
93 silly pacote range manifest for color@^3.0.0 fetched in 58ms
94 silly resolveWithNewModule [email protected] checking installable status
95 http fetch GET 200 https://registry.npmjs.org/prebuild-install 92ms
96 http fetch GET 200 https://registry.npmjs.org/detect-libc 103ms
97 http fetch GET 200 https://registry.npmjs.org/tar 105ms
98 http fetch GET 200 https://registry.npmjs.org/fs-copy-file-sync 115ms
99 http fetch GET 200 https://registry.npmjs.org/tunnel-agent 115ms
100 silly pacote range manifest for prebuild-install@^4.0.0 fetched in 121ms
101 silly resolveWithNewModule [email protected] checking installable status
102 http fetch GET 200 https://registry.npmjs.org/semver 121ms
103 http fetch GET 200 https://registry.npmjs.org/simple-get 124ms
104 http fetch GET 200 https://registry.npmjs.org/npmlog 127ms
105 http fetch GET 200 https://registry.npmjs.org/nan 132ms
106 silly pacote range manifest for detect-libc@^1.0.3 fetched in 134ms
107 silly resolveWithNewModule [email protected] checking installable status
108 silly pacote range manifest for tar@^4.4.6 fetched in 134ms
109 silly resolveWithNewModule [email protected] checking installable status
110 silly pacote range manifest for fs-copy-file-sync@^1.1.1 fetched in 138ms
111 silly resolveWithNewModule [email protected] checking installable status
112 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 138ms
113 silly resolveWithNewModule [email protected] checking installable status
114 silly pacote range manifest for npmlog@^4.1.2 fetched in 141ms
115 silly resolveWithNewModule [email protected] checking installable status
116 silly pacote range manifest for semver@^5.5.1 fetched in 141ms
117 silly resolveWithNewModule [email protected] checking installable status
118 silly pacote range manifest for simple-get@^2.8.1 fetched in 141ms
119 silly resolveWithNewModule [email protected] checking installable status
120 silly pacote range manifest for nan@^2.11.0 fetched in 145ms
121 silly resolveWithNewModule [email protected] checking installable status
122 http fetch GET 200 https://registry.npmjs.org/color-string 39ms
123 http fetch GET 200 https://registry.npmjs.org/color-convert 46ms
124 silly pacote range manifest for color-string@^1.5.2 fetched in 47ms
125 silly resolveWithNewModule [email protected] checking installable status
126 silly pacote range manifest for color-convert@^1.9.1 fetched in 53ms
127 silly resolveWithNewModule [email protected] checking installable status
128 http fetch GET 200 https://registry.npmjs.org/color-name 30ms
129 http fetch GET 200 https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz 41ms
130 silly pacote version manifest for [email protected] fetched in 82ms
131 silly resolveWithNewModule [email protected] checking installable status
132 http fetch GET 200 https://registry.npmjs.org/simple-swizzle 49ms
133 silly pacote range manifest for simple-swizzle@^0.2.2 fetched in 57ms
134 silly resolveWithNewModule [email protected] checking installable status
135 http fetch GET 200 https://registry.npmjs.org/is-arrayish 40ms
136 silly pacote range manifest for is-arrayish@^0.3.1 fetched in 47ms
137 silly resolveWithNewModule [email protected] checking installable status
138 http fetch GET 200 https://registry.npmjs.org/set-blocking 35ms
139 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 40ms
140 http fetch GET 200 https://registry.npmjs.org/console-control-strings 40ms
141 http fetch GET 200 https://registry.npmjs.org/gauge 41ms
142 silly pacote range manifest for set-blocking@~2.0.0 fetched in 48ms
143 silly resolveWithNewModule [email protected] checking installable status
144 silly pacote range manifest for are-we-there-yet@~1.1.2 fetched in 52ms
145 silly resolveWithNewModule [email protected] checking installable status
146 silly pacote range manifest for gauge@~2.7.3 fetched in 51ms
147 silly resolveWithNewModule [email protected] checking installable status
148 silly pacote range manifest for console-control-strings@~1.1.0 fetched in 51ms
149 silly resolveWithNewModule [email protected] checking installable status
150 http fetch GET 200 https://registry.npmjs.org/delegates 33ms
151 silly pacote range manifest for delegates@^1.0.0 fetched in 42ms
152 silly resolveWithNewModule [email protected] checking installable status
153 http fetch GET 200 https://registry.npmjs.org/readable-stream 46ms
154 silly pacote range manifest for readable-stream@^2.0.6 fetched in 54ms
155 silly resolveWithNewModule [email protected] checking installable status
156 http fetch GET 200 https://registry.npmjs.org/util-deprecate 38ms
157 http fetch GET 200 https://registry.npmjs.org/isarray 44ms
158 http fetch GET 200 https://registry.npmjs.org/inherits 47ms
159 http fetch GET 200 https://registry.npmjs.org/safe-buffer 47ms
160 http fetch GET 200 https://registry.npmjs.org/string_decoder 49ms
161 http fetch GET 200 https://registry.npmjs.org/process-nextick-args 50ms
162 http fetch GET 200 https://registry.npmjs.org/core-util-is 57ms
163 silly pacote range manifest for util-deprecate@~1.0.1 fetched in 61ms
164 silly resolveWithNewModule [email protected] checking installable status
165 silly pacote range manifest for safe-buffer@~5.1.1 fetched in 64ms
166 silly resolveWithNewModule [email protected] checking installable status
167 silly pacote range manifest for isarray@~1.0.0 fetched in 64ms
168 silly resolveWithNewModule [email protected] checking installable status
169 silly pacote range manifest for string_decoder@~1.1.1 fetched in 65ms
170 silly resolveWithNewModule [email protected] checking installable status
171 silly pacote range manifest for inherits@~2.0.3 fetched in 66ms
172 silly resolveWithNewModule [email protected] checking installable status
173 silly pacote range manifest for process-nextick-args@~2.0.0 fetched in 66ms
174 silly resolveWithNewModule [email protected] checking installable status
175 silly pacote range manifest for core-util-is@~1.0.0 fetched in 69ms
176 silly resolveWithNewModule [email protected] checking installable status
177 http fetch GET 200 https://registry.npmjs.org/signal-exit 43ms
178 http fetch GET 200 https://registry.npmjs.org/strip-ansi 46ms
179 http fetch GET 200 https://registry.npmjs.org/string-width 47ms
180 http fetch GET 200 https://registry.npmjs.org/object-assign 48ms
181 http fetch GET 200 https://registry.npmjs.org/has-unicode 50ms
182 http fetch GET 200 https://registry.npmjs.org/aproba 53ms
183 silly pacote range manifest for string-width@^1.0.1 fetched in 64ms
184 silly resolveWithNewModule [email protected] checking installable status
185 silly pacote range manifest for signal-exit@^3.0.0 fetched in 64ms
186 silly resolveWithNewModule [email protected] checking installable status
187 silly pacote range manifest for strip-ansi@^3.0.1 fetched in 65ms
188 silly resolveWithNewModule [email protected] checking installable status
189 silly pacote range manifest for object-assign@^4.1.0 fetched in 65ms
190 silly resolveWithNewModule [email protected] checking installable status
191 silly pacote range manifest for has-unicode@^2.0.0 fetched in 67ms
192 silly resolveWithNewModule [email protected] checking installable status
193 silly pacote range manifest for aproba@^1.0.3 fetched in 69ms
194 silly resolveWithNewModule [email protected] checking installable status
195 http fetch GET 200 https://registry.npmjs.org/wide-align 68ms
196 silly pacote range manifest for wide-align@^1.1.0 fetched in 77ms
197 silly resolveWithNewModule [email protected] checking installable status
198 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 33ms
199 http fetch GET 200 https://registry.npmjs.org/code-point-at 38ms
200 silly pacote range manifest for is-fullwidth-code-point@^1.0.0 fetched in 43ms
201 silly resolveWithNewModule [email protected] checking installable status
202 silly pacote range manifest for code-point-at@^1.0.0 fetched in 47ms
203 silly resolveWithNewModule [email protected] checking installable status
204 http fetch GET 200 https://registry.npmjs.org/number-is-nan 44ms
205 silly pacote range manifest for number-is-nan@^1.0.0 fetched in 51ms
206 silly resolveWithNewModule [email protected] checking installable status
207 http fetch GET 200 https://registry.npmjs.org/ansi-regex 36ms
208 http fetch GET 200 https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz 32ms
209 silly pacote range manifest for ansi-regex@^2.0.0 fetched in 77ms
210 silly resolveWithNewModule [email protected] checking installable status
211 http fetch GET 200 https://registry.npmjs.org/mkdirp 33ms
212 http fetch GET 200 https://registry.npmjs.org/rc 49ms
213 http fetch GET 200 https://registry.npmjs.org/noop-logger 51ms
214 http fetch GET 200 https://registry.npmjs.org/expand-template 53ms
215 http fetch GET 200 https://registry.npmjs.org/minimist 55ms
216 silly pacote range manifest for noop-logger@^0.1.1 fetched in 71ms
217 silly resolveWithNewModule [email protected] checking installable status
218 silly pacote range manifest for rc@^1.1.6 fetched in 72ms
219 silly resolveWithNewModule [email protected] checking installable status
220 http fetch GET 200 https://registry.npmjs.org/node-abi 73ms
221 http fetch GET 200 https://registry.npmjs.org/github-from-package 83ms
222 http fetch GET 200 https://registry.npmjs.org/tar-fs 85ms
223 http fetch GET 200 https://registry.npmjs.org/os-homedir 87ms
224 http fetch GET 200 https://registry.npmjs.org/pump 91ms
225 silly pacote range manifest for expand-template@^1.0.2 fetched in 93ms
226 silly resolveWithNewModule [email protected] checking installable status
227 silly pacote range manifest for node-abi@^2.2.0 fetched in 103ms
228 silly resolveWithNewModule [email protected] checking installable status
229 silly pacote version manifest for [email protected] fetched in 105ms
230 silly resolveWithNewModule [email protected] checking installable status
231 http fetch GET 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz 69ms
232 http fetch GET 200 https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz 44ms
233 silly pacote range manifest for os-homedir@^1.0.1 fetched in 109ms
234 silly resolveWithNewModule [email protected] checking installable status
235 silly pacote range manifest for pump@^2.0.1 fetched in 110ms
236 silly resolveWithNewModule [email protected] checking installable status
237 silly pacote range manifest for mkdirp@^0.5.1 fetched in 116ms
238 silly resolveWithNewModule [email protected] checking installable status
239 silly pacote range manifest for minimist@^1.2.0 fetched in 116ms
240 silly resolveWithNewModule [email protected] checking installable status
241 http fetch GET 200 https://registry.npmjs.org/tar-fs/-/tar-fs-1.16.3.tgz 36ms
242 silly pacote range manifest for tar-fs@^1.13.0 fetched in 135ms
243 silly resolveWithNewModule [email protected] checking installable status
244 http fetch GET 200 https://registry.npmjs.org/which-pm-runs 70ms
245 silly pacote range manifest for which-pm-runs@^1.0.0 fetched in 79ms
246 silly resolveWithNewModule [email protected] checking installable status
247 http fetch GET 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz 31ms
248 silly pacote version manifest for [email protected] fetched in 37ms
249 silly resolveWithNewModule [email protected] checking installable status
250 http fetch GET 200 https://registry.npmjs.org/end-of-stream 35ms
251 silly pacote range manifest for end-of-stream@^1.1.0 fetched in 49ms
252 silly resolveWithNewModule [email protected] checking installable status
253 http fetch GET 200 https://registry.npmjs.org/once 57ms
254 silly pacote range manifest for once@^1.3.1 fetched in 64ms
255 silly resolveWithNewModule [email protected] checking installable status
256 http fetch GET 200 https://registry.npmjs.org/wrappy 25ms
257 silly pacote range manifest for wrappy@1 fetched in 33ms
258 silly resolveWithNewModule [email protected] checking installable status
259 http fetch GET 200 https://registry.npmjs.org/strip-json-comments 35ms
260 http fetch GET 200 https://registry.npmjs.org/ini 38ms
261 http fetch GET 200 https://registry.npmjs.org/deep-extend 41ms
262 silly pacote range manifest for strip-json-comments@~2.0.1 fetched in 46ms
263 silly resolveWithNewModule [email protected] checking installable status
264 silly pacote range manifest for ini@~1.3.0 fetched in 48ms
265 silly resolveWithNewModule [email protected] checking installable status
266 silly pacote range manifest for deep-extend@^0.6.0 fetched in 49ms
267 silly resolveWithNewModule [email protected] checking installable status
268 http fetch GET 200 https://registry.npmjs.org/decompress-response 40ms
269 http fetch GET 200 https://registry.npmjs.org/simple-concat 41ms
270 silly pacote range manifest for simple-concat@^1.0.0 fetched in 50ms
271 silly resolveWithNewModule [email protected] checking installable status
272 silly pacote range manifest for decompress-response@^3.3.0 fetched in 50ms
273 silly resolveWithNewModule [email protected] checking installable status
274 http fetch GET 200 https://registry.npmjs.org/mimic-response 38ms
275 silly pacote range manifest for mimic-response@^1.0.0 fetched in 52ms
276 silly resolveWithNewModule [email protected] checking installable status
277 silly pacote range manifest for pump@^1.0.0 fetched in 8ms
278 silly resolveWithNewModule [email protected] checking installable status
279 http fetch GET 200 https://registry.npmjs.org/chownr 41ms
280 http fetch GET 200 https://registry.npmjs.org/tar-stream 48ms
281 silly pacote range manifest for chownr@^1.0.1 fetched in 52ms
282 silly resolveWithNewModule [email protected] checking installable status
283 silly pacote range manifest for tar-stream@^1.1.2 fetched in 56ms
284 silly resolveWithNewModule [email protected] checking installable status
285 http fetch GET 200 https://registry.npmjs.org/buffer-alloc 37ms
286 http fetch GET 200 https://registry.npmjs.org/to-buffer 38ms
287 http fetch GET 200 https://registry.npmjs.org/fs-constants 41ms
288 http fetch GET 200 https://registry.npmjs.org/bl 47ms
289 silly pacote range manifest for to-buffer@^1.1.1 fetched in 48ms
290 silly resolveWithNewModule [email protected] checking installable status
291 silly pacote range manifest for buffer-alloc@^1.2.0 fetched in 48ms
292 silly resolveWithNewModule [email protected] checking installable status
293 silly pacote range manifest for fs-constants@^1.0.0 fetched in 52ms
294 silly resolveWithNewModule [email protected] checking installable status
295 http fetch GET 200 https://registry.npmjs.org/xtend 53ms
296 silly pacote range manifest for bl@^1.0.0 fetched in 57ms
297 silly resolveWithNewModule [email protected] checking installable status
298 silly pacote range manifest for xtend@^4.0.0 fetched in 61ms
299 silly resolveWithNewModule [email protected] checking installable status
300 http fetch GET 200 https://registry.npmjs.org/buffer-fill 30ms
301 http fetch GET 200 https://registry.npmjs.org/buffer-alloc-unsafe 35ms
302 silly pacote range manifest for buffer-fill@^1.0.0 fetched in 38ms
303 silly resolveWithNewModule [email protected] checking installable status
304 http fetch GET 200 https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz 34ms
305 silly pacote range manifest for buffer-alloc-unsafe@^1.1.0 fetched in 78ms
306 silly resolveWithNewModule [email protected] checking installable status
307 http fetch GET 200 https://registry.npmjs.org/yallist 33ms
308 http fetch GET 200 https://registry.npmjs.org/fs-minipass 34ms
309 silly pacote range manifest for fs-minipass@^1.2.5 fetched in 47ms
310 silly resolveWithNewModule [email protected] checking installable status
311 http fetch GET 200 https://registry.npmjs.org/minipass 48ms
312 silly pacote range manifest for yallist@^3.0.2 fetched in 49ms
313 silly resolveWithNewModule [email protected] checking installable status
314 http fetch GET 200 https://registry.npmjs.org/minizlib 49ms
315 silly pacote range manifest for minizlib@^1.1.0 fetched in 59ms
316 silly resolveWithNewModule [email protected] checking installable status
317 silly pacote range manifest for minipass@^2.3.3 fetched in 59ms
318 silly resolveWithNewModule [email protected] checking installable status
319 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1559ms
320 timing stage:loadIdealTree Completed in 1648ms
321 silly currentTree New folder
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- build
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree | `-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree | `-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree +-- [email protected]
321 silly currentTree `-- [email protected]
322 silly idealTree New folder
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree | `-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree | `-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree +-- [email protected]
322 silly idealTree `-- [email protected]
323 silly install generateActionsToTake
324 timing stage:generateActionsToTake Completed in 8ms
325 silly diffTrees action count 2
326 silly diffTrees remove build
327 silly diffTrees update [email protected]
328 silly decomposeActions action count 12
329 silly decomposeActions unbuild build
330 silly decomposeActions remove build
331 silly decomposeActions unbuild [email protected]
332 silly decomposeActions remove [email protected]
333 silly decomposeActions fetch [email protected]
334 silly decomposeActions extract [email protected]
335 silly decomposeActions preinstall [email protected]
336 silly decomposeActions build [email protected]
337 silly decomposeActions install [email protected]
338 silly decomposeActions postinstall [email protected]
339 silly decomposeActions finalize [email protected]
340 silly decomposeActions refresh-package-json [email protected]
341 silly install executeActions
342 silly doSerial global-install 12
343 verbose correctMkdir C:\Users\Super\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
344 timing audit compress Completed in 1ms
345 info audit Submitting payload of 5258bytes
346 verbose lock using C:\Users\Super\AppData\Roaming\npm-cache\_locks\staging-c6dbe5b120657ecc.lock for E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.staging
347 silly doParallel extract 1
348 silly extract [email protected]
349 silly tarball trying sharp@^0.20.8 by hash: sha512-A8NaPGWRDKpmHTi8sl2xzozYXhTQWBb/GaJ8ZPU7L/vKW8wVvd4Yq+isJ0c7p9sX5gnjPQcM3eOfHuvvnZ2fOQ==
350 silly tarball no local data for sharp@^0.20.8. Extracting by manifest.
351 http fetch GET 200 https://registry.npmjs.org/sharp/-/sharp-0.20.8.tgz 196ms
352 silly extract sharp@^0.20.8 extracted to E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.staging\sharp-15c017ad (205ms)
353 timing action:extract Completed in 208ms
354 silly doReverseSerial unbuild 12
355 silly unbuild [email protected]
356 info lifecycle [email protected]~preuninstall: [email protected]
357 info lifecycle [email protected]~uninstall: [email protected]
358 verbose unbuild rmStuff [email protected] from E:\Computer-Stuff\Javascript\2018\New folder\node_modules
359 info lifecycle [email protected]~postuninstall: [email protected]
360 silly unbuild build
361 info lifecycle undefined~preuninstall: undefined
362 info lifecycle undefined~uninstall: undefined
363 timing action:unbuild Completed in 4ms
364 silly doSerial remove 12
365 silly remove E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp
366 timing audit submit Completed in 644ms
367 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 644ms
368 timing audit body Completed in 1ms
369 timing action:remove Completed in 12860ms
370 silly doSerial move 12
371 silly doSerial finalize 12
372 silly finalize E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp
373 timing action:finalize Completed in 60089ms
374 verbose unlock done using C:\Users\Super\AppData\Roaming\npm-cache\_locks\staging-c6dbe5b120657ecc.lock for E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.staging
375 warn rollback Rolling back [email protected] failed (this is probably harmless): EBUSY: resource busy or locked, rmdir 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release'
376 timing stage:rollbackFailedOptional Completed in 12678ms
377 timing stage:runTopLevelLifecycles Completed in 88264ms
378 silly saveTree New folder
378 silly saveTree `-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | | +-- [email protected]
378 silly saveTree | | | +-- [email protected]
378 silly saveTree | | | | `-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | | +-- [email protected]
378 silly saveTree | | | `-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | | `-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | +-- [email protected]
378 silly saveTree | `-- [email protected]
378 silly saveTree `-- [email protected]
379 warn New folder No description
380 warn New folder No repository field.
381 warn New folder No license field.
382 verbose stack Error: EPERM: operation not permitted, rename 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp' -> 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.sharp.DELETE'
383 verbose cwd E:\Computer-Stuff\Javascript\2018\New folder
384 verbose Windows_NT 10.0.17134
385 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "sharp" "--verbose"
386 verbose node v10.11.0
387 verbose npm v6.4.1
388 error path E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp
389 error code EPERM
390 error errno -4048
391 error syscall rename
392 error Error: EPERM: operation not permitted, rename 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp' -> 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.sharp.DELETE'
392 error { [Error: EPERM: operation not permitted, rename 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp' -> 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.sharp.DELETE']
392 error cause:
392 error { Error: EPERM: operation not permitted, rename 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp' -> 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.sharp.DELETE'
392 error errno: -4048,
392 error code: 'EPERM',
392 error syscall: 'rename',
392 error path:
392 error 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp',
392 error dest:
392 error 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\.sharp.DELETE' },
392 error stack:
392 error 'Error: EPERM: operation not permitted, rename \'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp\' -> \'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\.sharp.DELETE\'',
392 error errno: -4048,
392 error code: 'EPERM',
392 error syscall: 'rename',
392 error path:
392 error 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp',
392 error dest:
392 error 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\.sharp.DELETE' }
393 error The operation was rejected by your operating system.
393 error It's possible that the file was already in use (by a text editor or antivirus),
393 error or that you lack permissions to access it.
393 error
393 error If you believe this might be a permissions issue, please double-check the
393 error permissions of the file and its containing directories, or try running
393 error the command again as root/Administrator (though this is not recommended).
394 verbose exit [ -4048, true ]
I can try running as admin in powershell - only if you say so
If you haven't already spotted it, the salient error from the installation output above is:
Error: EPERM: operation not permitted, rename 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp' -> 'E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.sharp.DELETE'
which suggests a local filesystem permissions error.
The comments in https://github.com/npm/npm/issues/10826 suggest a number of approaches to deal with this, with over-zealous "anti-virus" software being mentioned a number of times. Good luck!
@lovell sorry for the late response, I was at school.
turns out dependency walker was still open.
I have done npm install --verbose sharp successfully but it still errors the same way:
PS E:\Computer-Stuff\Javascript\2018\New folder> node .\test.js
internal/modules/cjs/loader.js:718
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\lib\constructor.js:10:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
PS E:\Computer-Stuff\Javascript\2018\New folder>
This is the ouput of the npm install verbose
PS E:\Computer-Stuff\Javascript\2018\New folder> npm install sharp --verbose
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli 'sharp',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 670d449a1506d8f0
npm http fetch GET 200 https://registry.npmjs.org/sharp 17ms (from cache)
npm timing stage:loadCurrentTree Completed in 366ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 84ms
npm http fetch GET 200 https://registry.npmjs.org/fs-copy-file-sync 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 19ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/color 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/npmlog 20ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nan 23ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/semver 23ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tar 25ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 27ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 28ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/color-string 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/color-name 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 5ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/set-blocking 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/gauge 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/delegates 1ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/inherits 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/isarray 9ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 9ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 11ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/aproba 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/wide-align 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/string-width 11ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/code-point-at 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/number-is-nan 1ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/noop-logger 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minimist 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/os-homedir 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/pump 15ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 16ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/rc 19ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/which-pm-runs 5ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/once 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/wrappy 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ini 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 5ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 1ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/chownr 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/to-buffer 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 4ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/xtend 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/bl 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/buffer-alloc 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/buffer-alloc-unsafe 2ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/buffer-fill 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/fs-minipass 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/yallist 3ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minizlib 6ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minipass 6ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 266ms
npm timing stage:loadIdealTree Completed in 367ms
npm timing stage:generateActionsToTake Completed in 7ms
npm verb correctMkdir C:\Users\Super\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm timing audit compress Completed in 5ms
npm info audit Submitting payload of 5258bytes
npm verb lock using C:\Users\Super\AppData\Roaming\npm-cache\_locks\staging-c6dbe5b120657ecc.lock for E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.staging
npm timing action:extract Completed in 55ms
npm info lifecycle [email protected]~preuninstall: [email protected]
npm info lifecycle [email protected]~uninstall: [email protected]
npm verb unbuild rmStuff [email protected] from E:\Computer-Stuff\Javascript\2018\New folder\node_modules
npm info lifecycle [email protected]~postuninstall: [email protected]
npm timing action:unbuild Completed in 4ms
npm timing action:remove Completed in 117ms
npm timing action:finalize Completed in 1ms
npm timing action:refresh-package-json Completed in 62ms
npm info lifecycle [email protected]~preinstall: [email protected]
npm timing action:preinstall Completed in 1ms
npm info linkStuff [email protected]
npm timing action:build Completed in 1ms
npm info lifecycle [email protected]~install: [email protected]
> [email protected] install E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
info sharp Using cached C:\Users\Super\AppData\Roaming\npm-cache\_libvips\libvips-8.6.1-win32-x64.tar.gz
(node:7996) UnhandledPromiseRejectionWarning: ZlibError: zlib: unexpected end of file
at Zlib.(anonymous function).onerror (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minizlib\index.js:131:21)
at Unzip.write (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minizlib\index.js:255:31)
at Unzip.flush (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minizlib\index.js:222:10)
at Unzip.end (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minizlib\index.js:229:10)
at Unpack.end (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\tar\lib\parse.js:415:21)
at Yallist.pipes.forEach.p (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minipass\index.js:288:18)
at Yallist.forEach (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\yallist\yallist.js:154:8)
at ReadStream.emit (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minipass\index.js:285:18)
at ReadStream.emit (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\fs-minipass\index.js:153:22)
at ReadStream.[maybeEmitEnd] (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\minipass\index.js:255:12)
(node:7996) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7996) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
info sharp Creating E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release
info sharp Copying DLLs from E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\vendor\lib to E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release
prebuild-install info begin Prebuild-install version 4.0.0
prebuild-install info looking for cached prebuild @ C:\Users\Super\AppData\Roaming\npm-cache\_prebuilds\c4dc45-sharp-v0.20.8-node-v64-win32-x64.tar.gz
prebuild-install info found cached prebuild
prebuild-install info unpacking @ C:\Users\Super\AppData\Roaming\npm-cache\_prebuilds\c4dc45-sharp-v0.20.8-node-v64-win32-x64.tar.gz
prebuild-install info unpack resolved to E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node
prebuild-install WARN install The specified module could not be found.
prebuild-install WARN install \\?\E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node
E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2.7" in the PATH
gyp verb `which` failed Error: not found: python2.7
gyp verb `which` failed at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:80:29)
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:89:16
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\isexe\index.js:42:5
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp verb `which` failed python2.7 { Error: not found: python2.7
gyp verb `which` failed at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:13:12)
gyp verb `which` failed at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:68:19)
gyp verb `which` failed at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:80:29)
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:89:16
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\isexe\index.js:42:5
gyp verb `which` failed at C:\Program Files\nodejs\node_modules\npm\node_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python2.7\n at getNotFoundError (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\which\\which.js:13:12)\n at F (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\which\\which.js:68:19)\n at E (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\which\\which.js:80:29)\n at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\which\\which.js:89:16\n at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\isexe\\index.js:42:5\n at C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\isexe\\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:154:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp verb could not find "python2.7". checking python launcher
gyp verb check python launcher python executable found: "C:\\Python27\\python.exe"
gyp verb check python version `C:\Python27\python.exe -c "import sys; print "2.7.13
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 10.11.0
gyp verb command install [ '10.11.0' ]
gyp verb install input version string "10.11.0"
gyp verb install installing version: 10.11.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 10.11.0
gyp verb build dir attempting to create "build" dir: E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build
gyp verb build dir "build" dir needed to be created? E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\config.gypi
gyp verb config.gypi checking for gypi file: E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\config.gypi
gyp verb common.gypi checking for gypi file: E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=2015',
gyp info spawn args '-I',
gyp info spawn args 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\Super\\.node-gyp\\10.11.0\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\Super\\.node-gyp\\10.11.0',
gyp info spawn args '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\Super\\.node-gyp\\10.11.0\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'E:\\Computer-Stuff\\Javascript\\2018\\New folder\\node_modules\\sharp\\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\Super\.node-gyp\10.11.0
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 9/25/2018 6:08:56 PM.
Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\binding.sln" (1) is building "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\libvips-cpp.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\libvips-cpp\".
Creating directory "Release\obj\libvips-cpp\libvips-cpp.tlog\".
InitializeBuildStatus:
Creating "Release\obj\libvips-cpp\libvips-cpp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Users\Super\.node-gyp\10.11.0\include\node" /I"C:\Users\Super\.node-gyp\10.11.0\src" /I"C:\Users\Super\.node-gyp\10.11.0\deps\openssl\config" /I"C:\Users
\Super\.node-gyp\10.11.0\deps\openssl\openssl\include" /I"C:\Users\Super\.node-gyp\10.11.0\deps\uv\include" /I"C:\Users\Super\.node-gyp\10.11.0\deps\zlib" /I"C:\Users\Super\.node-gyp\10.11.0\deps\v8\include" /I..\vendor\include /I"..\
vendor\include\glib-2.0" /I"..\vendor\lib\glib-2.0\include" /Z7 /nologo /W3 /WX- /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D "NODE_GYP_MODULE_NAME=libvips-cpp" /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CR
T_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D VIPS_CPLUSPLUS_EXPORTS /D _ALLOW_KEYWORD_MACROS /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\libv
ips-cpp\\" /Fd"Release\obj\libvips-cpp\vc140.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /errorReport:queue ..\src\libvips\cplusplus\VError.cpp ..\src\libvips\cplusplus\VInterpolate.cpp ..\src\libvips\cplusplu
s\VImage.cpp "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"
VError.cpp
VInterpolate.cpp
VImage.cpp
win_delay_load_hook.cc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.dll" /INCREMENTAL:NO /NOLOGO kernel32.lib use
r32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\Users\Super\.node-gyp\10.11.0\x64\node.lib" ..\vendor\lib\libvips.lib "..\vendor\lib\libglib-2.0.lib" "..
\vendor\lib\libgobject-2.0.lib" Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sh
arp\build\Release\libvips-cpp.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.lib" /MACHINE:X64 /ignore:41
99 /LTCG:INCREMENTAL /DLL "Release\obj\libvips-cpp\VError.obj"
"Release\obj\libvips-cpp\VInterpolate.obj"
"Release\obj\libvips-cpp\VImage.obj"
"Release\obj\libvips-cpp\win_delay_load_hook.obj"
Creating library E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.lib and object E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.exp
Generating code
All 1060 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
libvips-cpp.vcxproj -> E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\\libvips-cpp.dll
libvips-cpp.vcxproj -> E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.pdb (Full PDB)
FinalizeBuildStatus:
Deleting file "Release\obj\libvips-cpp\libvips-cpp.tlog\unsuccessfulbuild".
Touching "Release\obj\libvips-cpp\libvips-cpp.tlog\libvips-cpp.lastbuildstate".
Done Building Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\libvips-cpp.vcxproj" (default targets).
Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\binding.sln" (1) is building "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\sharp.vcxproj.metaproj" (3) on node 1 (default targets).
Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\sharp.vcxproj.metaproj" (3) is building "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\sharp.vcxproj" (4) on node 1 (default targets)
.
PrepareForBuild:
Creating directory "Release\obj\sharp\".
Creating directory "Release\obj\sharp\sharp.tlog\".
InitializeBuildStatus:
Creating "Release\obj\sharp\sharp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Users\Super\.node-gyp\10.11.0\include\node" /I"C:\Users\Super\.node-gyp\10.11.0\src" /I"C:\Users\Super\.node-gyp\10.11.0\deps\openssl\config" /I"C:\Users
\Super\.node-gyp\10.11.0\deps\openssl\openssl\include" /I"C:\Users\Super\.node-gyp\10.11.0\deps\uv\include" /I"C:\Users\Super\.node-gyp\10.11.0\deps\zlib" /I"C:\Users\Super\.node-gyp\10.11.0\deps\v8\include" /I..\..\nan /I..\vendor\in
clude /I"..\vendor\include\glib-2.0" /I"..\vendor\lib\glib-2.0\include" /Z7 /nologo /W3 /WX- /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=sharp /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D
_CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D _ALLOW_KEYWORD_MACROS /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj
\sharp\\" /Fd"Release\obj\sharp\vc140.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /errorReport:queue ..\src\common.cc ..\src\metadata.cc ..\src\stats.cc ..\src\operations.cc ..\src\pipeline.cc ..\src\sharp.cc
..\src\utilities.cc "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc"
common.cc
metadata.cc
stats.cc
operations.cc
pipeline.cc
sharp.cc
utilities.cc
win_delay_load_hook.cc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.l
ib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\Users\Super\.node-gyp\10.11.0\x64\node.lib" ..\vendor\lib\libvips.lib "..\vendor\lib\libglib-2.0.lib" "..\vend
or\lib\libgobject-2.0.lib" Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\b
uild\Release\sharp.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /LTCG:INCREMENTAL /DLL Release\obj\sharp\common.obj
Release\obj\sharp\metadata.obj
Release\obj\sharp\stats.obj
Release\obj\sharp\operations.obj
Release\obj\sharp\pipeline.obj
Release\obj\sharp\sharp.obj
Release\obj\sharp\utilities.obj
Release\obj\sharp\win_delay_load_hook.obj
"E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\libvips-cpp.lib"
Creating library E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.lib and object E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.exp
Generating code
All 1458 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
sharp.vcxproj -> E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\\sharp.node
sharp.vcxproj -> E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.pdb (Full PDB)
FinalizeBuildStatus:
Deleting file "Release\obj\sharp\sharp.tlog\unsuccessfulbuild".
Touching "Release\obj\sharp\sharp.tlog\sharp.lastbuildstate".
Done Building Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\sharp.vcxproj" (default targets).
Done Building Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\sharp.vcxproj.metaproj" (default targets).
Done Building Project "E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\binding.sln" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:06.46
gyp info ok
info sharp Creating E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release
info sharp Copying DLLs from E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\vendor\lib to E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\node_modules\.bin;E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;c:\program files (x86)\common files\intel\shared libraries\redist\intel64\compiler;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)\quicktime\qtsystem\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_171\bin;C:\Uncrustify;C:\Program Files\heroku\bin;C:\Program Files\nodejs\node_modules\npm;C:\Program Files\nodejs\node_modules;C:\Users\Super\AppData\Roaming\npm;C:\Program Files\Git\cmd;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\nodejs\;C:\Users\Super\.windows-build-tools\python27;C:\Users\Super\.windows-build-tools\python27\python.exe;
npm verb lifecycle [email protected]~install: CWD: E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp
npm timing audit submit Completed in 601ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 601ms
npm timing audit body Completed in 1ms
npm timing action:install Completed in 8565ms
npm info lifecycle [email protected]~postinstall: [email protected]
npm timing action:postinstall Completed in 1ms
npm verb unlock done using C:\Users\Super\AppData\Roaming\npm-cache\_locks\staging-c6dbe5b120657ecc.lock for E:\Computer-Stuff\Javascript\2018\New folder\node_modules\.staging
npm timing stage:executeActions Completed in 8875ms
npm timing stage:rollbackFailedOptional Completed in 0ms
npm timing stage:runTopLevelLifecycles Completed in 9640ms
npm verb saving [ { name: 'sharp', spec: '^0.20.8', save: 'dependencies' } ]
npm verb shrinkwrap skipping write for package.json because there were no changes.
npm info lifecycle undefined~preshrinkwrap: undefined
npm info lifecycle undefined~shrinkwrap: undefined
npm verb shrinkwrap skipping write for package-lock.json because there were no changes.
npm info lifecycle undefined~postshrinkwrap: undefined
npm WARN New folder No description
npm WARN New folder No repository field.
npm WARN New folder No license field.
+ [email protected]
updated 1 package and audited 178 packages in 9.676s
found 0 vulnerabilities
npm verb exit [ 0, true ]
npm timing npm Completed in 10027ms
npm info ok
@lovell Here are some message logs of someone trying to help me. Might be helpful. https://pastebin.com/xAqtt30n
The salient error this time is:
info sharp Using cached C:\Users\Super\AppData\Roaming\npm-cache\_libvips\libvips-8.6.1-win32-x64.tar.gz
(node:7996) UnhandledPromiseRejectionWarning: ZlibError: zlib: unexpected end of file
Remove the C:\Users\Super\AppData\Roaming\npm-cache\_libvips directory and try again.

It doesn't exist anymore and i reopened a new instance of powershell but I still get the same error.
PS E:\Computer-Stuff\Javascript\2018\New folder> node .\test.js
internal/modules/cjs/loader.js:718
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\build\Release\sharp.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (E:\Computer-Stuff\Javascript\2018\New folder\node_modules\sharp\lib\constructor.js:10:15).js:10:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
@lovell any clues?
WHAT~! holy crap it works!
I love you man! @lovell !!!!!
I just had to rebuild npm.
Great, thanks for confirming.
It looks like there were (temporary) networking problems during a previous installation attempt that corrupted the cache. This situation came up a few days ago in #1382 so I'll see what can be done to improve error reporting in sharp.
@lovell cool锛乮t works~thx
@lovell For me it was a case of deleting yarn.lock and just rebuilding it again. It wasn't happening on my local machine but it was on my build server. Once I had the new yarn.lock it went though OK.
Most helpful comment
Great, thanks for confirming.
It looks like there were (temporary) networking problems during a previous installation attempt that corrupted the cache. This situation came up a few days ago in #1382 so I'll see what can be done to improve error reporting in sharp.