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

unable to install node-midi (win10) #1880

Closed
zulc22 opened this issue Sep 20, 2019 · 2 comments
Closed

unable to install node-midi (win10) #1880

zulc22 opened this issue Sep 20, 2019 · 2 comments
Labels

Comments

@zulc22
Copy link

zulc22 commented Sep 20, 2019

  • Node Version:
>node -v & npm -v
v10.16.3
6.9.0
  • Platform:
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.18362 N/A Build 18362
System Type:               x64-based PC
  • Compiler:
Microsoft (R) Build Engine version 16.2.37902+b5aaefc9f for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

16.2.37902.0Microsoft (R) C/C++ Optimizing Compiler Version 19.22.27905 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.
  • Module: midi (node-midi)
Verbose output (from npm or node-gyp):
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   'i',
1 verbose cli   'midi',
1 verbose cli   '--verbose' ]
2 info using npm@6.9.0
3 info using node@v10.16.3
4 verbose npm-session f2fdbcbe1468d636
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://registry.npmjs.org/midi 363ms (from cache)
8 silly pacote tag manifest for midi@latest fetched in 383ms
9 timing stage:loadCurrentTree Completed in 858ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 3ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 208ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule midi@1.0.0 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/bindings 162ms (from cache)
18 silly pacote range manifest for bindings@~1.5.0 fetched in 168ms
19 silly resolveWithNewModule bindings@1.5.0 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/nan 258ms (from cache)
21 silly pacote range manifest for nan@^2.3.3 fetched in 261ms
22 silly resolveWithNewModule nan@2.14.0 checking installable status
23 http fetch GET 304 https://registry.npmjs.org/file-uri-to-path 117ms (from cache)
24 silly pacote version manifest for file-uri-to-path@1.0.0 fetched in 121ms
25 silly resolveWithNewModule file-uri-to-path@1.0.0 checking installable status
26 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 563ms
27 timing stage:loadIdealTree Completed in 819ms
28 silly currentTree skmid@1.0.0
28 silly currentTree +-- abbrev@1.1.1
28 silly currentTree +-- ajv@6.10.2
28 silly currentTree +-- ansi-regex@2.1.1
28 silly currentTree +-- aproba@1.2.0
28 silly currentTree +-- are-we-there-yet@1.1.5
28 silly currentTree +-- asn1@0.2.4
28 silly currentTree +-- assert-plus@1.0.0
28 silly currentTree +-- asynckit@0.4.0
28 silly currentTree +-- aws-sign2@0.7.0
28 silly currentTree +-- aws4@1.8.0
28 silly currentTree +-- balanced-match@1.0.0
28 silly currentTree +-- bcrypt-pbkdf@1.0.2
28 silly currentTree +-- brace-expansion@1.1.11
28 silly currentTree +-- caseless@0.12.0
28 silly currentTree +-- chownr@1.1.2
28 silly currentTree +-- code-point-at@1.1.0
28 silly currentTree +-- combined-stream@1.0.8
28 silly currentTree +-- concat-map@0.0.1
28 silly currentTree +-- console-control-strings@1.1.0
28 silly currentTree +-- core-util-is@1.0.2
28 silly currentTree +-- dashdash@1.14.1
28 silly currentTree +-- delayed-stream@1.0.0
28 silly currentTree +-- delegates@1.0.0
28 silly currentTree +-- ecc-jsbn@0.1.2
28 silly currentTree +-- env-paths@1.0.0
28 silly currentTree +-- extend@3.0.2
28 silly currentTree +-- extsprintf@1.3.0
28 silly currentTree +-- fast-deep-equal@2.0.1
28 silly currentTree +-- fast-json-stable-stringify@2.0.0
28 silly currentTree +-- forever-agent@0.6.1
28 silly currentTree +-- form-data@2.3.3
28 silly currentTree +-- fs-minipass@1.2.6
28 silly currentTree +-- fs.realpath@1.0.0
28 silly currentTree +-- gauge@2.7.4
28 silly currentTree +-- getpass@0.1.7
28 silly currentTree +-- glob@7.1.4
28 silly currentTree +-- graceful-fs@4.2.2
28 silly currentTree +-- har-schema@2.0.0
28 silly currentTree +-- har-validator@5.1.3
28 silly currentTree +-- has-unicode@2.0.1
28 silly currentTree +-- http-signature@1.2.0
28 silly currentTree +-- inflight@1.0.6
28 silly currentTree +-- inherits@2.0.4
28 silly currentTree +-- is-fullwidth-code-point@1.0.0
28 silly currentTree +-- is-typedarray@1.0.0
28 silly currentTree +-- isarray@1.0.0
28 silly currentTree +-- isexe@2.0.0
28 silly currentTree +-- isstream@0.1.2
28 silly currentTree +-- jsbn@0.1.1
28 silly currentTree +-- json-schema-traverse@0.4.1
28 silly currentTree +-- json-schema@0.2.3
28 silly currentTree +-- json-stringify-safe@5.0.1
28 silly currentTree +-- jsprim@1.4.1
28 silly currentTree +-- midi-player-js@2.0.5
28 silly currentTree +-- mime-db@1.40.0
28 silly currentTree +-- mime-types@2.1.24
28 silly currentTree +-- minimatch@3.0.4
28 silly currentTree +-- minimist@0.0.8
28 silly currentTree +-- minipass@2.5.1
28 silly currentTree +-- minizlib@1.2.2
28 silly currentTree +-- mkdirp@0.5.1
28 silly currentTree +-- node-gyp@5.0.3
28 silly currentTree +-- nopt@3.0.6
28 silly currentTree +-- npmlog@4.1.2
28 silly currentTree +-- number-is-nan@1.0.1
28 silly currentTree +-- oauth-sign@0.9.0
28 silly currentTree +-- object-assign@4.1.1
28 silly currentTree +-- once@1.4.0
28 silly currentTree +-- path-is-absolute@1.0.1
28 silly currentTree +-- performance-now@2.1.0
28 silly currentTree +-- process-nextick-args@2.0.1
28 silly currentTree +-- psl@1.4.0
28 silly currentTree +-- punycode@2.1.1
28 silly currentTree +-- qs@6.5.2
28 silly currentTree +-- readable-stream@2.3.6
28 silly currentTree +-- request@2.88.0
28 silly currentTree +-- rimraf@2.7.1
28 silly currentTree +-- safe-buffer@5.1.2
28 silly currentTree +-- safer-buffer@2.1.2
28 silly currentTree +-- semver@5.3.0
28 silly currentTree +-- set-blocking@2.0.0
28 silly currentTree +-- signal-exit@3.0.2
28 silly currentTree +-- sshpk@1.16.1
28 silly currentTree +-- string_decoder@1.1.1
28 silly currentTree +-- string-width@1.0.2
28 silly currentTree +-- strip-ansi@3.0.1
28 silly currentTree +-- tar@4.4.10
28 silly currentTree +-- tough-cookie@2.4.3
28 silly currentTree | `-- punycode@1.4.1
28 silly currentTree +-- tunnel-agent@0.6.0
28 silly currentTree +-- tweetnacl@0.14.5
28 silly currentTree +-- uri-js@4.2.2
28 silly currentTree +-- util-deprecate@1.0.2
28 silly currentTree +-- uuid@3.3.3
28 silly currentTree +-- verror@1.10.0
28 silly currentTree +-- which@1.3.1
28 silly currentTree +-- wide-align@1.1.3
28 silly currentTree +-- wrappy@1.0.2
28 silly currentTree `-- yallist@3.0.3
29 silly idealTree skmid@1.0.0
29 silly idealTree +-- abbrev@1.1.1
29 silly idealTree +-- ajv@6.10.2
29 silly idealTree +-- ansi-regex@2.1.1
29 silly idealTree +-- aproba@1.2.0
29 silly idealTree +-- are-we-there-yet@1.1.5
29 silly idealTree +-- asn1@0.2.4
29 silly idealTree +-- assert-plus@1.0.0
29 silly idealTree +-- asynckit@0.4.0
29 silly idealTree +-- aws-sign2@0.7.0
29 silly idealTree +-- aws4@1.8.0
29 silly idealTree +-- balanced-match@1.0.0
29 silly idealTree +-- bcrypt-pbkdf@1.0.2
29 silly idealTree +-- bindings@1.5.0
29 silly idealTree +-- brace-expansion@1.1.11
29 silly idealTree +-- caseless@0.12.0
29 silly idealTree +-- chownr@1.1.2
29 silly idealTree +-- code-point-at@1.1.0
29 silly idealTree +-- combined-stream@1.0.8
29 silly idealTree +-- concat-map@0.0.1
29 silly idealTree +-- console-control-strings@1.1.0
29 silly idealTree +-- core-util-is@1.0.2
29 silly idealTree +-- dashdash@1.14.1
29 silly idealTree +-- delayed-stream@1.0.0
29 silly idealTree +-- delegates@1.0.0
29 silly idealTree +-- ecc-jsbn@0.1.2
29 silly idealTree +-- env-paths@1.0.0
29 silly idealTree +-- extend@3.0.2
29 silly idealTree +-- extsprintf@1.3.0
29 silly idealTree +-- fast-deep-equal@2.0.1
29 silly idealTree +-- fast-json-stable-stringify@2.0.0
29 silly idealTree +-- file-uri-to-path@1.0.0
29 silly idealTree +-- forever-agent@0.6.1
29 silly idealTree +-- form-data@2.3.3
29 silly idealTree +-- fs-minipass@1.2.6
29 silly idealTree +-- fs.realpath@1.0.0
29 silly idealTree +-- gauge@2.7.4
29 silly idealTree +-- getpass@0.1.7
29 silly idealTree +-- glob@7.1.4
29 silly idealTree +-- graceful-fs@4.2.2
29 silly idealTree +-- har-schema@2.0.0
29 silly idealTree +-- har-validator@5.1.3
29 silly idealTree +-- has-unicode@2.0.1
29 silly idealTree +-- http-signature@1.2.0
29 silly idealTree +-- inflight@1.0.6
29 silly idealTree +-- inherits@2.0.4
29 silly idealTree +-- is-fullwidth-code-point@1.0.0
29 silly idealTree +-- is-typedarray@1.0.0
29 silly idealTree +-- isarray@1.0.0
29 silly idealTree +-- isexe@2.0.0
29 silly idealTree +-- isstream@0.1.2
29 silly idealTree +-- jsbn@0.1.1
29 silly idealTree +-- json-schema-traverse@0.4.1
29 silly idealTree +-- json-schema@0.2.3
29 silly idealTree +-- json-stringify-safe@5.0.1
29 silly idealTree +-- jsprim@1.4.1
29 silly idealTree +-- midi-player-js@2.0.5
29 silly idealTree +-- midi@1.0.0
29 silly idealTree +-- mime-db@1.40.0
29 silly idealTree +-- mime-types@2.1.24
29 silly idealTree +-- minimatch@3.0.4
29 silly idealTree +-- minimist@0.0.8
29 silly idealTree +-- minipass@2.5.1
29 silly idealTree +-- minizlib@1.2.2
29 silly idealTree +-- mkdirp@0.5.1
29 silly idealTree +-- nan@2.14.0
29 silly idealTree +-- node-gyp@5.0.3
29 silly idealTree +-- nopt@3.0.6
29 silly idealTree +-- npmlog@4.1.2
29 silly idealTree +-- number-is-nan@1.0.1
29 silly idealTree +-- oauth-sign@0.9.0
29 silly idealTree +-- object-assign@4.1.1
29 silly idealTree +-- once@1.4.0
29 silly idealTree +-- path-is-absolute@1.0.1
29 silly idealTree +-- performance-now@2.1.0
29 silly idealTree +-- process-nextick-args@2.0.1
29 silly idealTree +-- psl@1.4.0
29 silly idealTree +-- punycode@2.1.1
29 silly idealTree +-- qs@6.5.2
29 silly idealTree +-- readable-stream@2.3.6
29 silly idealTree +-- request@2.88.0
29 silly idealTree +-- rimraf@2.7.1
29 silly idealTree +-- safe-buffer@5.1.2
29 silly idealTree +-- safer-buffer@2.1.2
29 silly idealTree +-- semver@5.3.0
29 silly idealTree +-- set-blocking@2.0.0
29 silly idealTree +-- signal-exit@3.0.2
29 silly idealTree +-- sshpk@1.16.1
29 silly idealTree +-- string_decoder@1.1.1
29 silly idealTree +-- string-width@1.0.2
29 silly idealTree +-- strip-ansi@3.0.1
29 silly idealTree +-- tar@4.4.10
29 silly idealTree +-- tough-cookie@2.4.3
29 silly idealTree | `-- punycode@1.4.1
29 silly idealTree +-- tunnel-agent@0.6.0
29 silly idealTree +-- tweetnacl@0.14.5
29 silly idealTree +-- uri-js@4.2.2
29 silly idealTree +-- util-deprecate@1.0.2
29 silly idealTree +-- uuid@3.3.3
29 silly idealTree +-- verror@1.10.0
29 silly idealTree +-- which@1.3.1
29 silly idealTree +-- wide-align@1.1.3
29 silly idealTree +-- wrappy@1.0.2
29 silly idealTree `-- yallist@3.0.3
30 silly install generateActionsToTake
31 timing stage:generateActionsToTake Completed in 25ms
32 silly diffTrees action count 4
33 silly diffTrees add file-uri-to-path@1.0.0
34 silly diffTrees add bindings@1.5.0
35 silly diffTrees add nan@2.14.0
36 silly diffTrees add midi@1.0.0
37 silly decomposeActions action count 32
38 silly decomposeActions fetch file-uri-to-path@1.0.0
39 silly decomposeActions extract file-uri-to-path@1.0.0
40 silly decomposeActions preinstall file-uri-to-path@1.0.0
41 silly decomposeActions build file-uri-to-path@1.0.0
42 silly decomposeActions install file-uri-to-path@1.0.0
43 silly decomposeActions postinstall file-uri-to-path@1.0.0
44 silly decomposeActions finalize file-uri-to-path@1.0.0
45 silly decomposeActions refresh-package-json file-uri-to-path@1.0.0
46 silly decomposeActions fetch bindings@1.5.0
47 silly decomposeActions extract bindings@1.5.0
48 silly decomposeActions preinstall bindings@1.5.0
49 silly decomposeActions build bindings@1.5.0
50 silly decomposeActions install bindings@1.5.0
51 silly decomposeActions postinstall bindings@1.5.0
52 silly decomposeActions finalize bindings@1.5.0
53 silly decomposeActions refresh-package-json bindings@1.5.0
54 silly decomposeActions fetch nan@2.14.0
55 silly decomposeActions extract nan@2.14.0
56 silly decomposeActions preinstall nan@2.14.0
57 silly decomposeActions build nan@2.14.0
58 silly decomposeActions install nan@2.14.0
59 silly decomposeActions postinstall nan@2.14.0
60 silly decomposeActions finalize nan@2.14.0
61 silly decomposeActions refresh-package-json nan@2.14.0
62 silly decomposeActions fetch midi@1.0.0
63 silly decomposeActions extract midi@1.0.0
64 silly decomposeActions preinstall midi@1.0.0
65 silly decomposeActions build midi@1.0.0
66 silly decomposeActions install midi@1.0.0
67 silly decomposeActions postinstall midi@1.0.0
68 silly decomposeActions finalize midi@1.0.0
69 silly decomposeActions refresh-package-json midi@1.0.0
70 silly install executeActions
71 silly doSerial global-install 32
72 verbose correctMkdir C:\Users\KScott\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
73 verbose lock using C:\Users\KScott\AppData\Roaming\npm-cache\_locks\staging-925896842de79a34.lock for C:\Users\KScott\Desktop\code\skmid\node_modules\.staging
74 silly doParallel extract 4
75 silly extract file-uri-to-path@1.0.0
76 silly extract bindings@1.5.0
77 silly extract nan@2.14.0
78 silly extract midi@1.0.0
79 silly tarball trying file-uri-to-path@1.0.0 by hash: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
80 silly tarball trying bindings@~1.5.0 by hash: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
81 silly tarball trying nan@^2.3.3 by hash: sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
82 silly tarball trying midi@latest by hash: sha512-BL2xedtLEy2ExJujuvQQNs5Gz1aXv7/wpq3KKZ7FmmTvVfR3eC+OgiwtC+4+9IinsXfQnTNSOBrG2PAjMHi0ZQ==
83 silly extract bindings@~1.5.0 extracted to C:\Users\KScott\Desktop\code\skmid\node_modules\.staging\bindings-c297aff7 (70ms)
84 silly extract file-uri-to-path@1.0.0 extracted to C:\Users\KScott\Desktop\code\skmid\node_modules\.staging\file-uri-to-path-6abeba00 (81ms)
85 silly extract nan@^2.3.3 extracted to C:\Users\KScott\Desktop\code\skmid\node_modules\.staging\nan-afe94254 (119ms)
86 timing audit submit Completed in 254ms
87 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 254ms
88 timing audit body Completed in 1ms
89 silly extract midi@latest extracted to C:\Users\KScott\Desktop\code\skmid\node_modules\.staging\midi-4ad1c506 (270ms)
90 timing action:extract Completed in 275ms
91 silly doReverseSerial unbuild 32
92 silly doSerial remove 32
93 silly doSerial move 32
94 silly doSerial finalize 32
95 silly finalize C:\Users\KScott\Desktop\code\skmid\node_modules\file-uri-to-path
96 silly finalize C:\Users\KScott\Desktop\code\skmid\node_modules\bindings
97 silly finalize C:\Users\KScott\Desktop\code\skmid\node_modules\nan
98 silly finalize C:\Users\KScott\Desktop\code\skmid\node_modules\midi
99 timing action:finalize Completed in 13ms
100 silly doParallel refresh-package-json 4
101 silly refresh-package-json C:\Users\KScott\Desktop\code\skmid\node_modules\file-uri-to-path
102 silly refresh-package-json C:\Users\KScott\Desktop\code\skmid\node_modules\bindings
103 silly refresh-package-json C:\Users\KScott\Desktop\code\skmid\node_modules\nan
104 silly refresh-package-json C:\Users\KScott\Desktop\code\skmid\node_modules\midi
105 timing action:refresh-package-json Completed in 143ms
106 silly doParallel preinstall 4
107 silly preinstall file-uri-to-path@1.0.0
108 info lifecycle file-uri-to-path@1.0.0~preinstall: file-uri-to-path@1.0.0
109 silly preinstall bindings@1.5.0
110 info lifecycle bindings@1.5.0~preinstall: bindings@1.5.0
111 silly preinstall nan@2.14.0
112 info lifecycle nan@2.14.0~preinstall: nan@2.14.0
113 silly preinstall midi@1.0.0
114 info lifecycle midi@1.0.0~preinstall: midi@1.0.0
115 timing action:preinstall Completed in 3ms
116 silly doSerial build 32
117 silly build file-uri-to-path@1.0.0
118 info linkStuff file-uri-to-path@1.0.0
119 silly linkStuff file-uri-to-path@1.0.0 has C:\Users\KScott\Desktop\code\skmid\node_modules as its parent node_modules
120 silly build bindings@1.5.0
121 info linkStuff bindings@1.5.0
122 silly linkStuff bindings@1.5.0 has C:\Users\KScott\Desktop\code\skmid\node_modules as its parent node_modules
123 silly build nan@2.14.0
124 info linkStuff nan@2.14.0
125 silly linkStuff nan@2.14.0 has C:\Users\KScott\Desktop\code\skmid\node_modules as its parent node_modules
126 silly build midi@1.0.0
127 info linkStuff midi@1.0.0
128 silly linkStuff midi@1.0.0 has C:\Users\KScott\Desktop\code\skmid\node_modules as its parent node_modules
129 timing action:build Completed in 3ms
130 silly doSerial global-link 32
131 silly doParallel update-linked 0
132 silly doSerial install 32
133 silly install file-uri-to-path@1.0.0
134 info lifecycle file-uri-to-path@1.0.0~install: file-uri-to-path@1.0.0
135 silly install bindings@1.5.0
136 info lifecycle bindings@1.5.0~install: bindings@1.5.0
137 silly install nan@2.14.0
138 info lifecycle nan@2.14.0~install: nan@2.14.0
139 silly install midi@1.0.0
140 info lifecycle midi@1.0.0~install: midi@1.0.0
141 verbose lifecycle midi@1.0.0~install: unsafe-perm in lifecycle true
142 verbose lifecycle midi@1.0.0~install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\KScott\Desktop\code\skmid\node_modules\midi\node_modules\.bin;C:\Users\KScott\Desktop\code\skmid\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\dotnet\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files\OpenSSH-Win64;C:\Program Files\PuTTY\;C:\Program Files (x86)\JoeEditor\;C:\Program Files\nodejs\;C:\Program Files (x86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\WINDOWS\System32\OpenSSH\;C:\Users\KScott\AppData\Local\git-cola\bin;C:\Users\KScott\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\KScott\AppData\Roaming\npm;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files\Notepad++;C:\Users\KScott\AppData\Local\Microsoft\WindowsApps;C:\Users\KScott\AppData\Local\GitHubDesktop\bin
143 verbose lifecycle midi@1.0.0~install: CWD: C:\Users\KScott\Desktop\code\skmid\node_modules\midi
144 silly lifecycle midi@1.0.0~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
145 silly lifecycle midi@1.0.0~install: Returned: code: 7  signal: null
146 info lifecycle midi@1.0.0~install: Failed to exec install script
147 timing action:install Completed in 2190ms
148 verbose unlock done using C:\Users\KScott\AppData\Roaming\npm-cache\_locks\staging-925896842de79a34.lock for C:\Users\KScott\Desktop\code\skmid\node_modules\.staging
149 timing stage:rollbackFailedOptional Completed in 107ms
150 timing stage:runTopLevelLifecycles Completed in 4517ms
151 silly saveTree skmid@1.0.0
151 silly saveTree +-- midi-player-js@2.0.5
151 silly saveTree +-- midi@1.0.0
151 silly saveTree | +-- bindings@1.5.0
151 silly saveTree | | `-- file-uri-to-path@1.0.0
151 silly saveTree | `-- nan@2.14.0
151 silly saveTree `-- node-gyp@5.0.3
151 silly saveTree   +-- env-paths@1.0.0
151 silly saveTree   +-- glob@7.1.4
151 silly saveTree   | +-- fs.realpath@1.0.0
151 silly saveTree   | +-- inflight@1.0.6
151 silly saveTree   | | +-- once@1.4.0
151 silly saveTree   | | | `-- wrappy@1.0.2
151 silly saveTree   | | `-- wrappy@1.0.2
151 silly saveTree   | +-- inherits@2.0.4
151 silly saveTree   | +-- minimatch@3.0.4
151 silly saveTree   | | `-- brace-expansion@1.1.11
151 silly saveTree   | |   +-- balanced-match@1.0.0
151 silly saveTree   | |   `-- concat-map@0.0.1
151 silly saveTree   | +-- once@1.4.0
151 silly saveTree   | `-- path-is-absolute@1.0.1
151 silly saveTree   +-- graceful-fs@4.2.2
151 silly saveTree   +-- mkdirp@0.5.1
151 silly saveTree   | `-- minimist@0.0.8
151 silly saveTree   +-- nopt@3.0.6
151 silly saveTree   | `-- abbrev@1.1.1
151 silly saveTree   +-- npmlog@4.1.2
151 silly saveTree   | +-- are-we-there-yet@1.1.5
151 silly saveTree   | | +-- delegates@1.0.0
151 silly saveTree   | | `-- readable-stream@2.3.6
151 silly saveTree   | |   +-- core-util-is@1.0.2
151 silly saveTree   | |   +-- isarray@1.0.0
151 silly saveTree   | |   +-- process-nextick-args@2.0.1
151 silly saveTree   | |   +-- safe-buffer@5.1.2
151 silly saveTree   | |   +-- string_decoder@1.1.1
151 silly saveTree   | |   `-- util-deprecate@1.0.2
151 silly saveTree   | +-- console-control-strings@1.1.0
151 silly saveTree   | +-- gauge@2.7.4
151 silly saveTree   | | +-- aproba@1.2.0
151 silly saveTree   | | +-- has-unicode@2.0.1
151 silly saveTree   | | +-- object-assign@4.1.1
151 silly saveTree   | | +-- signal-exit@3.0.2
151 silly saveTree   | | +-- string-width@1.0.2
151 silly saveTree   | | | +-- code-point-at@1.1.0
151 silly saveTree   | | | +-- is-fullwidth-code-point@1.0.0
151 silly saveTree   | | | | `-- number-is-nan@1.0.1
151 silly saveTree   | | | `-- strip-ansi@3.0.1
151 silly saveTree   | | |   `-- ansi-regex@2.1.1
151 silly saveTree   | | +-- strip-ansi@3.0.1
151 silly saveTree   | | `-- wide-align@1.1.3
151 silly saveTree   | `-- set-blocking@2.0.0
151 silly saveTree   +-- request@2.88.0
151 silly saveTree   | +-- aws-sign2@0.7.0
151 silly saveTree   | +-- aws4@1.8.0
151 silly saveTree   | +-- caseless@0.12.0
151 silly saveTree   | +-- combined-stream@1.0.8
151 silly saveTree   | | `-- delayed-stream@1.0.0
151 silly saveTree   | +-- extend@3.0.2
151 silly saveTree   | +-- forever-agent@0.6.1
151 silly saveTree   | +-- form-data@2.3.3
151 silly saveTree   | | +-- asynckit@0.4.0
151 silly saveTree   | | `-- mime-types@2.1.24
151 silly saveTree   | |   `-- mime-db@1.40.0
151 silly saveTree   | +-- har-validator@5.1.3
151 silly saveTree   | | +-- ajv@6.10.2
151 silly saveTree   | | | +-- fast-deep-equal@2.0.1
151 silly saveTree   | | | +-- fast-json-stable-stringify@2.0.0
151 silly saveTree   | | | +-- json-schema-traverse@0.4.1
151 silly saveTree   | | | `-- uri-js@4.2.2
151 silly saveTree   | | |   `-- punycode@2.1.1
151 silly saveTree   | | `-- har-schema@2.0.0
151 silly saveTree   | +-- http-signature@1.2.0
151 silly saveTree   | | +-- assert-plus@1.0.0
151 silly saveTree   | | +-- jsprim@1.4.1
151 silly saveTree   | | | +-- extsprintf@1.3.0
151 silly saveTree   | | | +-- json-schema@0.2.3
151 silly saveTree   | | | `-- verror@1.10.0
151 silly saveTree   | | `-- sshpk@1.16.1
151 silly saveTree   | |   +-- asn1@0.2.4
151 silly saveTree   | |   | `-- safer-buffer@2.1.2
151 silly saveTree   | |   +-- bcrypt-pbkdf@1.0.2
151 silly saveTree   | |   | `-- tweetnacl@0.14.5
151 silly saveTree   | |   +-- dashdash@1.14.1
151 silly saveTree   | |   +-- ecc-jsbn@0.1.2
151 silly saveTree   | |   | `-- jsbn@0.1.1
151 silly saveTree   | |   +-- getpass@0.1.7
151 silly saveTree   | |   +-- jsbn@0.1.1
151 silly saveTree   | |   +-- safer-buffer@2.1.2
151 silly saveTree   | |   `-- tweetnacl@0.14.5
151 silly saveTree   | +-- is-typedarray@1.0.0
151 silly saveTree   | +-- isstream@0.1.2
151 silly saveTree   | +-- json-stringify-safe@5.0.1
151 silly saveTree   | +-- mime-types@2.1.24
151 silly saveTree   | +-- oauth-sign@0.9.0
151 silly saveTree   | +-- performance-now@2.1.0
151 silly saveTree   | +-- qs@6.5.2
151 silly saveTree   | +-- tough-cookie@2.4.3
151 silly saveTree   | | +-- psl@1.4.0
151 silly saveTree   | | `-- punycode@1.4.1
151 silly saveTree   | +-- tunnel-agent@0.6.0
151 silly saveTree   | `-- uuid@3.3.3
151 silly saveTree   +-- rimraf@2.7.1
151 silly saveTree   +-- semver@5.3.0
151 silly saveTree   +-- tar@4.4.10
151 silly saveTree   | +-- chownr@1.1.2
151 silly saveTree   | +-- fs-minipass@1.2.6
151 silly saveTree   | | `-- minipass@2.5.1
151 silly saveTree   | |   `-- yallist@3.0.3
151 silly saveTree   | +-- minipass@2.5.1
151 silly saveTree   | +-- minizlib@1.2.2
151 silly saveTree   | `-- yallist@3.0.3
151 silly saveTree   `-- which@1.3.1
151 silly saveTree     `-- isexe@2.0.0
152 warn skmid@1.0.0 No repository field.
153 verbose stack Error: midi@1.0.0 install: `node-gyp rebuild`
153 verbose stack Exit status 7
153 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
153 verbose stack     at EventEmitter.emit (events.js:198:13)
153 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
153 verbose stack     at ChildProcess.emit (events.js:198:13)
153 verbose stack     at maybeClose (internal/child_process.js:982:16)
153 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
154 verbose pkgid midi@1.0.0
155 verbose cwd C:\Users\KScott\Desktop\code\skmid
156 verbose Windows_NT 10.0.18362
157 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "midi" "--verbose"
158 verbose node v10.16.3
159 verbose npm  v6.9.0
160 error code ELIFECYCLE
161 error errno 7
162 error midi@1.0.0 install: `node-gyp rebuild`
162 error Exit status 7
163 error Failed at the midi@1.0.0 install script.
163 error This is probably not a problem with npm. There is likely additional logging output above.
164 verbose exit [ 7, true ]
@zulc22
Copy link
Author

zulc22 commented Sep 20, 2019

oops! only posted the NPM logs.
this is what shows up in the terminal (excluded in the NPM log)

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 node-gyp@3.8.0
gyp info using node@10.16.3 | 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" in the PATH
gyp verb `which` failed Error: not found: python2
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:153:21)
gyp verb `which` failed  python2 { Error: not found: python2
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:153:21)
gyp verb `which` failed   stack:
gyp verb `which` failed    'Error: not found: python2\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:153:21)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python27\python.EXE
gyp verb check python version `C:\Python27\python.EXE -c "import sys; print "2.7.16
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.16.3
gyp verb command install [ '10.16.3' ]
gyp verb install input version string "10.16.3"
gyp verb install installing version: 10.16.3
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.16.3
gyp verb build dir attempting to create "build" dir: C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi\build
gyp verb build dir "build" dir needed to be created? C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi\build
gyp verb find vs2017 Found installation at: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.18362
gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.VC.Tools.x86.x64
gyp verb find vs2017   - Found Microsoft.VisualStudio.VC.MSBuild.Base
gyp verb find vs2017   - Using this installation with Windows 10 SDK
gyp verb find vs2017 using installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi\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   'C:\\Users\\ScottBeebiWan\\Desktop\\code\\skmid\\node_modules\\midi\\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\\ScottBeebiWan\\.node-gyp\\10.16.3\\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\\ScottBeebiWan\\.node-gyp\\10.16.3',
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\\ScottBeebiWan\\.node-gyp\\10.16.3\\<(target_arch)\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\ScottBeebiWan\\Desktop\\code\\skmid\\node_modules\\midi',
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   'C:\\Users\\ScottBeebiWan\\Desktop\\code\\skmid\\node_modules\\midi\\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\ScottBeebiWan\.node-gyp\10.16.3
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.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' ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:415:16)
gyp ERR! stack     at process._tickCallback (internal/process/next_tick.js:63:19)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\ScottBeebiWan\Desktop\code\skmid\node_modules\midi
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>

@joaocgreis
Copy link
Member

@KScottDB you are using VS2019, but it is not supported by that version of node-gyp. Please update node-gyp by following #1753 (comment) and let us know if you still have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants