sebhildebrandt / systeminformation

System Information Library for Node.JS
MIT License
2.72k stars 309 forks source link

systeminformation not installing on Windows #37

Closed MaxJeong closed 7 years ago

MaxJeong commented 7 years ago

Here is the debug log: npm_debug_log.txt

I ran the command "npm install systeminformation --save" but ended up getting these errors:

$ npm install systeminformation --save npm WARN package.json Gamempire@0.5.1 license should be a valid SPDX license expression

systeminformation@3.18.0 install D:\GamingHub\Gamempire\node_modules\systeminformation node-gyp rebuild

D:\GamingHub\Gamempire\node_modules\systeminformation>if not defined npm_config_node_gyp (node "D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [D:\GamingHub\Gamempire\node_modules\systeminformation\build\binding.sln] gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (D:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd D:\GamingHub\Gamempire\node_modules\systeminformation gyp ERR! node -v v4.6.1 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Windows_NT 6.3.9600 npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "systeminformation" "--save" npm ERR! node v4.6.1 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE

npm ERR! systeminformation@3.18.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the systeminformation@3.18.0 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the systeminformation package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs systeminformation npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls systeminformation npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\GamingHub\Gamempire\npm-debug.log

At first, there was also a python error, trying to run 3.3.0 which isn't supported in this module so I renamed my python 3.3.0 exe file to python3 so it recognized my 2.7.8 version. But now, I'm not sure what to do. I also tried to download it through github and put the module in my node_module folder but that didn't work, got this error:

Error: Cannot find module '../build/Release/smc' from 'D:\GamingHub\Gamempire\node_modules\systeminformation\lib'

capperstrnd commented 7 years ago

Same issue here, bump.

capperstrnd commented 7 years ago

After installing python 2.X.X and having it added to Windows PATH through the installer, the npm went a bit further. But now it complained about missing a SDK for Windows 8.1, which I acquired from here: https://developer.microsoft.com/sv-se/windows/downloads/windows-8-1-sdk

And again it went a bit further and this popped up in the command prompt:

repository> if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.

TRACKER : error TRK0005: Failed to locate: "CL.exe". Unable to locate file.
[G:\Github\ElectronApp\node_modules\
systeminformation\build\none.vcxproj]

gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
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 G:\Github\ElectronApp\node_modules\systeminformation
gyp ERR! node -v v6.10.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN MDeditorJ@0.0.1 No repository field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "systeminformation"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! systeminformation@3.18.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the systeminformation@3.18.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the systeminformation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs systeminformation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls systeminformation
npm ERR! There is likely additional logging output above.

The debug.log file contains the following:

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   'systeminformation' ]
2 info using npm@3.10.10
3 info using node@v6.10.3
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData systeminformation
8 silly fetchNamedPackageData systeminformation
9 silly mapToRegistry name systeminformation
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry   raw: 'systeminformation',
12 silly mapToRegistry   scope: null,
12 silly mapToRegistry   escapedName: 'systeminformation',
12 silly mapToRegistry   name: 'systeminformation',
12 silly mapToRegistry   rawSpec: '',
12 silly mapToRegistry   spec: 'latest',
12 silly mapToRegistry   type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/systeminformation
14 verbose request uri https://registry.npmjs.org/systeminformation
15 verbose request no auth needed
16 info attempt registry request try #1 at 17:46:33
17 verbose request id dbaf9ebd840b2590
18 verbose etag W/"592c8925-19d63"
19 verbose lastModified Mon, 29 May 2017 20:48:37 GMT
20 http request GET https://registry.npmjs.org/systeminformation
21 http 304 https://registry.npmjs.org/systeminformation
22 verbose headers { date: 'Sun, 04 Jun 2017 15:46:34 GMT',
22 verbose headers   via: '1.1 varnish',
22 verbose headers   'cache-control': 'max-age=300',
22 verbose headers   etag: 'W/"592c8925-19d63"',
22 verbose headers   age: '70',
22 verbose headers   connection: 'keep-alive',
22 verbose headers   'x-served-by': 'cache-bma7026-BMA',
22 verbose headers   'x-cache': 'HIT',
22 verbose headers   'x-cache-hits': '1',
22 verbose headers   'x-timer': 'S1496591195.883774,VS0,VE1',
22 verbose headers   vary: 'Accept-Encoding' }
23 silly get cb [ 304,
23 silly get   { date: 'Sun, 04 Jun 2017 15:46:34 GMT',
23 silly get     via: '1.1 varnish',
23 silly get     'cache-control': 'max-age=300',
23 silly get     etag: 'W/"592c8925-19d63"',
23 silly get     age: '70',
23 silly get     connection: 'keep-alive',
23 silly get     'x-served-by': 'cache-bma7026-BMA',
23 silly get     'x-cache': 'HIT',
23 silly get     'x-cache-hits': '1',
23 silly get     'x-timer': 'S1496591195.883774,VS0,VE1',
23 silly get     vary: 'Accept-Encoding' } ]
24 verbose etag https://registry.npmjs.org/systeminformation from cache
25 verbose get saving systeminformation to C:\Users\Casper Strand\AppData\Roaming\npm-cache\registry.npmjs.org\systeminformation\.cache.json
26 verbose correctMkdir C:\Users\Casper Strand\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
27 silly install normalizeTree
28 silly loadCurrentTree Finishing
29 silly loadIdealTree Starting
30 silly install loadIdealTree
31 silly cloneCurrentTree Starting
32 silly install cloneCurrentTreeToIdealTree
33 silly cloneCurrentTree Finishing
34 silly loadShrinkwrap Starting
35 silly install loadShrinkwrap
36 silly loadShrinkwrap Finishing
37 silly loadAllDepsIntoIdealTree Starting
38 silly install loadAllDepsIntoIdealTree
39 silly resolveWithNewModule systeminformation@3.18.0 checking installable status
40 silly cache add args [ 'systeminformation', null ]
41 verbose cache add spec systeminformation
42 silly cache add parsed spec Result {
42 silly cache add   raw: 'systeminformation',
42 silly cache add   scope: null,
42 silly cache add   escapedName: 'systeminformation',
42 silly cache add   name: 'systeminformation',
42 silly cache add   rawSpec: '',
42 silly cache add   spec: 'latest',
42 silly cache add   type: 'tag' }
43 silly addNamed systeminformation@latest
44 verbose addNamed "latest" is being treated as a dist-tag for systeminformation
45 info addNameTag [ 'systeminformation', 'latest' ]
46 silly mapToRegistry name systeminformation
47 silly mapToRegistry using default registry
48 silly mapToRegistry registry https://registry.npmjs.org/
49 silly mapToRegistry data Result {
49 silly mapToRegistry   raw: 'systeminformation',
49 silly mapToRegistry   scope: null,
49 silly mapToRegistry   escapedName: 'systeminformation',
49 silly mapToRegistry   name: 'systeminformation',
49 silly mapToRegistry   rawSpec: '',
49 silly mapToRegistry   spec: 'latest',
49 silly mapToRegistry   type: 'tag' }
50 silly mapToRegistry uri https://registry.npmjs.org/systeminformation
51 verbose addNameTag registry:https://registry.npmjs.org/systeminformation not in flight; fetching
52 verbose get https://registry.npmjs.org/systeminformation not expired, no request
53 silly addNameTag next cb for systeminformation with tag latest
54 silly addNamed systeminformation@3.18.0
55 verbose addNamed "3.18.0" is a plain semver version for systeminformation
56 silly cache afterAdd systeminformation@3.18.0
57 verbose afterAdd C:\Users\Casper Strand\AppData\Roaming\npm-cache\systeminformation\3.18.0\package\package.json not in flight; writing
58 verbose correctMkdir C:\Users\Casper Strand\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
59 verbose afterAdd C:\Users\Casper Strand\AppData\Roaming\npm-cache\systeminformation\3.18.0\package\package.json written
60 silly loadAllDepsIntoIdealTree Finishing
61 silly loadIdealTree Finishing
62 silly currentTree MDeditorJ@0.0.1
62 silly currentTree +-- @types/node@7.0.27
62 silly currentTree +-- ajv@4.11.8
62 silly currentTree +-- ansi-regex@2.1.1
62 silly currentTree +-- array-find-index@1.0.2
62 silly currentTree +-- asn1@0.2.3
62 silly currentTree +-- assert-plus@0.2.0
62 silly currentTree +-- asynckit@0.4.0
62 silly currentTree +-- aws-sign2@0.6.0
62 silly currentTree +-- aws4@1.6.0
62 silly currentTree +-- balanced-match@0.4.2
62 silly currentTree +-- bcrypt-pbkdf@1.0.1
62 silly currentTree +-- boom@2.10.1
62 silly currentTree +-- brace-expansion@1.1.7
62 silly currentTree +-- builtin-modules@1.1.1
62 silly currentTree +-- camelcase-keys@2.1.0
62 silly currentTree +-- camelcase@2.1.1
62 silly currentTree +-- caseless@0.12.0
62 silly currentTree +-- co@4.6.0
62 silly currentTree +-- code-point-at@1.1.0
62 silly currentTree +-- combined-stream@1.0.5
62 silly currentTree +-- concat-map@0.0.1
62 silly currentTree +-- concat-stream@1.6.0
62 silly currentTree | +-- isarray@1.0.0
62 silly currentTree | +-- readable-stream@2.2.10
62 silly currentTree | `-- string_decoder@1.0.1
62 silly currentTree +-- core-util-is@1.0.2
62 silly currentTree +-- cryptiles@2.0.5
62 silly currentTree +-- currently-unhandled@0.4.1
62 silly currentTree +-- dashdash@1.14.1
62 silly currentTree | `-- assert-plus@1.0.0
62 silly currentTree +-- debug@2.6.8
62 silly currentTree +-- decamelize@1.2.0
62 silly currentTree +-- deep-extend@0.4.2
62 silly currentTree +-- delayed-stream@1.0.0
62 silly currentTree +-- ecc-jsbn@0.1.1
62 silly currentTree +-- electron-download@3.3.0
62 silly currentTree +-- electron-titlebar@0.0.3
62 silly currentTree +-- electron@1.6.10
62 silly currentTree +-- error-ex@1.3.1
62 silly currentTree +-- es6-promise@4.1.0
62 silly currentTree +-- extend@3.0.1
62 silly currentTree +-- extract-zip@1.6.5
62 silly currentTree | +-- debug@2.2.0
62 silly currentTree | `-- ms@0.7.1
62 silly currentTree +-- extsprintf@1.0.2
62 silly currentTree +-- fd-slicer@1.0.1
62 silly currentTree +-- find-up@1.1.2
62 silly currentTree +-- forever-agent@0.6.1
62 silly currentTree +-- form-data@2.1.4
62 silly currentTree +-- fs-extra@0.30.0
62 silly currentTree +-- fs.realpath@1.0.0
62 silly currentTree +-- get-stdin@4.0.1
62 silly currentTree +-- getpass@0.1.7
62 silly currentTree | `-- assert-plus@1.0.0
62 silly currentTree +-- glob@7.1.2
62 silly currentTree +-- graceful-fs@4.1.11
62 silly currentTree +-- har-schema@1.0.5
62 silly currentTree +-- har-validator@4.2.1
62 silly currentTree +-- hawk@3.1.3
62 silly currentTree +-- hoek@2.16.3
62 silly currentTree +-- home-path@1.0.5
62 silly currentTree +-- hosted-git-info@2.4.2
62 silly currentTree +-- http-signature@1.1.1
62 silly currentTree +-- indent-string@2.1.0
62 silly currentTree +-- inflight@1.0.6
62 silly currentTree +-- inherits@2.0.3
62 silly currentTree +-- ini@1.3.4
62 silly currentTree +-- is-arrayish@0.2.1
62 silly currentTree +-- is-builtin-module@1.0.0
62 silly currentTree +-- is-finite@1.0.2
62 silly currentTree +-- is-fullwidth-code-point@1.0.0
62 silly currentTree +-- is-typedarray@1.0.0
62 silly currentTree +-- is-utf8@0.2.1
62 silly currentTree +-- isarray@0.0.1
62 silly currentTree +-- isstream@0.1.2
62 silly currentTree +-- jodid25519@1.0.2
62 silly currentTree +-- jquery@3.2.1
62 silly currentTree +-- jsbn@0.1.1
62 silly currentTree +-- json-schema@0.2.3
62 silly currentTree +-- json-stable-stringify@1.0.1
62 silly currentTree +-- json-stringify-safe@5.0.1
62 silly currentTree +-- jsonfile@2.4.0
62 silly currentTree +-- jsonify@0.0.0
62 silly currentTree +-- jsprim@1.4.0
62 silly currentTree | `-- assert-plus@1.0.0
62 silly currentTree +-- klaw@1.3.1
62 silly currentTree +-- load-json-file@1.1.0
62 silly currentTree +-- loud-rejection@1.6.0
62 silly currentTree +-- map-obj@1.0.1
62 silly currentTree +-- meow@3.7.0
62 silly currentTree +-- mime-db@1.27.0
62 silly currentTree +-- mime-types@2.1.15
62 silly currentTree +-- minimatch@3.0.4
62 silly currentTree +-- minimist@1.2.0
62 silly currentTree +-- mkdirp@0.5.0
62 silly currentTree | `-- minimist@0.0.8
62 silly currentTree +-- ms@2.0.0
62 silly currentTree +-- normalize-package-data@2.3.8
62 silly currentTree +-- nugget@2.0.1
62 silly currentTree +-- number-is-nan@1.0.1
62 silly currentTree +-- oauth-sign@0.8.2
62 silly currentTree +-- object-assign@4.1.1
62 silly currentTree +-- object-keys@0.4.0
62 silly currentTree +-- once@1.4.0
62 silly currentTree +-- parse-json@2.2.0
62 silly currentTree +-- path-exists@2.1.0
62 silly currentTree +-- path-is-absolute@1.0.1
62 silly currentTree +-- path-type@1.1.0
62 silly currentTree +-- pend@1.2.0
62 silly currentTree +-- performance-now@0.2.0
62 silly currentTree +-- pify@2.3.0
62 silly currentTree +-- pinkie-promise@2.0.1
62 silly currentTree +-- pinkie@2.0.4
62 silly currentTree +-- pretty-bytes@1.0.4
62 silly currentTree +-- process-nextick-args@1.0.7
62 silly currentTree +-- progress-stream@1.2.0
62 silly currentTree +-- punycode@1.4.1
62 silly currentTree +-- python@0.0.4
62 silly currentTree +-- qs@6.4.0
62 silly currentTree +-- rc@1.2.1
62 silly currentTree +-- read-pkg-up@1.0.1
62 silly currentTree +-- read-pkg@1.1.0
62 silly currentTree +-- readable-stream@1.1.14
62 silly currentTree +-- redent@1.0.0
62 silly currentTree +-- repeating@2.0.1
62 silly currentTree +-- request@2.81.0
62 silly currentTree +-- rimraf@2.6.1
62 silly currentTree +-- safe-buffer@5.1.0
62 silly currentTree +-- semver@5.3.0
62 silly currentTree +-- signal-exit@3.0.2
62 silly currentTree +-- single-line-log@1.1.2
62 silly currentTree +-- sntp@1.0.9
62 silly currentTree +-- spdx-correct@1.0.2
62 silly currentTree +-- spdx-expression-parse@1.0.4
62 silly currentTree +-- spdx-license-ids@1.2.2
62 silly currentTree +-- speedometer@0.1.4
62 silly currentTree +-- sshpk@1.13.0
62 silly currentTree | `-- assert-plus@1.0.0
62 silly currentTree +-- string_decoder@0.10.31
62 silly currentTree +-- string-width@1.0.2
62 silly currentTree +-- stringstream@0.0.5
62 silly currentTree +-- strip-ansi@3.0.1
62 silly currentTree +-- strip-bom@2.0.0
62 silly currentTree +-- strip-indent@1.0.1
62 silly currentTree +-- strip-json-comments@2.0.1
62 silly currentTree +-- sumchecker@1.3.1
62 silly currentTree +-- throttleit@0.0.2
62 silly currentTree +-- through2@0.2.3
62 silly currentTree +-- tough-cookie@2.3.2
62 silly currentTree +-- trim-newlines@1.0.0
62 silly currentTree +-- tunnel-agent@0.6.0
62 silly currentTree +-- tweetnacl@0.14.5
62 silly currentTree +-- typedarray@0.0.6
62 silly currentTree +-- util-deprecate@1.0.2
62 silly currentTree +-- uuid@3.0.1
62 silly currentTree +-- validate-npm-package-license@3.0.1
62 silly currentTree +-- verror@1.3.6
62 silly currentTree +-- wrappy@1.0.2
62 silly currentTree +-- xtend@2.1.2
62 silly currentTree `-- yauzl@2.4.1
63 silly idealTree MDeditorJ@0.0.1
63 silly idealTree +-- @types/node@7.0.27
63 silly idealTree +-- ajv@4.11.8
63 silly idealTree +-- ansi-regex@2.1.1
63 silly idealTree +-- array-find-index@1.0.2
63 silly idealTree +-- asn1@0.2.3
63 silly idealTree +-- assert-plus@0.2.0
63 silly idealTree +-- asynckit@0.4.0
63 silly idealTree +-- aws-sign2@0.6.0
63 silly idealTree +-- aws4@1.6.0
63 silly idealTree +-- balanced-match@0.4.2
63 silly idealTree +-- bcrypt-pbkdf@1.0.1
63 silly idealTree +-- boom@2.10.1
63 silly idealTree +-- brace-expansion@1.1.7
63 silly idealTree +-- builtin-modules@1.1.1
63 silly idealTree +-- camelcase-keys@2.1.0
63 silly idealTree +-- camelcase@2.1.1
63 silly idealTree +-- caseless@0.12.0
63 silly idealTree +-- co@4.6.0
63 silly idealTree +-- code-point-at@1.1.0
63 silly idealTree +-- combined-stream@1.0.5
63 silly idealTree +-- concat-map@0.0.1
63 silly idealTree +-- concat-stream@1.6.0
63 silly idealTree | +-- isarray@1.0.0
63 silly idealTree | +-- readable-stream@2.2.10
63 silly idealTree | `-- string_decoder@1.0.1
63 silly idealTree +-- core-util-is@1.0.2
63 silly idealTree +-- cryptiles@2.0.5
63 silly idealTree +-- currently-unhandled@0.4.1
63 silly idealTree +-- dashdash@1.14.1
63 silly idealTree | `-- assert-plus@1.0.0
63 silly idealTree +-- debug@2.6.8
63 silly idealTree +-- decamelize@1.2.0
63 silly idealTree +-- deep-extend@0.4.2
63 silly idealTree +-- delayed-stream@1.0.0
63 silly idealTree +-- ecc-jsbn@0.1.1
63 silly idealTree +-- electron-download@3.3.0
63 silly idealTree +-- electron-titlebar@0.0.3
63 silly idealTree +-- electron@1.6.10
63 silly idealTree +-- error-ex@1.3.1
63 silly idealTree +-- es6-promise@4.1.0
63 silly idealTree +-- extend@3.0.1
63 silly idealTree +-- extract-zip@1.6.5
63 silly idealTree | +-- debug@2.2.0
63 silly idealTree | `-- ms@0.7.1
63 silly idealTree +-- extsprintf@1.0.2
63 silly idealTree +-- fd-slicer@1.0.1
63 silly idealTree +-- find-up@1.1.2
63 silly idealTree +-- forever-agent@0.6.1
63 silly idealTree +-- form-data@2.1.4
63 silly idealTree +-- fs-extra@0.30.0
63 silly idealTree +-- fs.realpath@1.0.0
63 silly idealTree +-- get-stdin@4.0.1
63 silly idealTree +-- getpass@0.1.7
63 silly idealTree | `-- assert-plus@1.0.0
63 silly idealTree +-- glob@7.1.2
63 silly idealTree +-- graceful-fs@4.1.11
63 silly idealTree +-- har-schema@1.0.5
63 silly idealTree +-- har-validator@4.2.1
63 silly idealTree +-- hawk@3.1.3
63 silly idealTree +-- hoek@2.16.3
63 silly idealTree +-- home-path@1.0.5
63 silly idealTree +-- hosted-git-info@2.4.2
63 silly idealTree +-- http-signature@1.1.1
63 silly idealTree +-- indent-string@2.1.0
63 silly idealTree +-- inflight@1.0.6
63 silly idealTree +-- inherits@2.0.3
63 silly idealTree +-- ini@1.3.4
63 silly idealTree +-- is-arrayish@0.2.1
63 silly idealTree +-- is-builtin-module@1.0.0
63 silly idealTree +-- is-finite@1.0.2
63 silly idealTree +-- is-fullwidth-code-point@1.0.0
63 silly idealTree +-- is-typedarray@1.0.0
63 silly idealTree +-- is-utf8@0.2.1
63 silly idealTree +-- isarray@0.0.1
63 silly idealTree +-- isstream@0.1.2
63 silly idealTree +-- jodid25519@1.0.2
63 silly idealTree +-- jquery@3.2.1
63 silly idealTree +-- jsbn@0.1.1
63 silly idealTree +-- json-schema@0.2.3
63 silly idealTree +-- json-stable-stringify@1.0.1
63 silly idealTree +-- json-stringify-safe@5.0.1
63 silly idealTree +-- jsonfile@2.4.0
63 silly idealTree +-- jsonify@0.0.0
63 silly idealTree +-- jsprim@1.4.0
63 silly idealTree | `-- assert-plus@1.0.0
63 silly idealTree +-- klaw@1.3.1
63 silly idealTree +-- load-json-file@1.1.0
63 silly idealTree +-- loud-rejection@1.6.0
63 silly idealTree +-- map-obj@1.0.1
63 silly idealTree +-- meow@3.7.0
63 silly idealTree +-- mime-db@1.27.0
63 silly idealTree +-- mime-types@2.1.15
63 silly idealTree +-- minimatch@3.0.4
63 silly idealTree +-- minimist@1.2.0
63 silly idealTree +-- mkdirp@0.5.0
63 silly idealTree | `-- minimist@0.0.8
63 silly idealTree +-- ms@2.0.0
63 silly idealTree +-- normalize-package-data@2.3.8
63 silly idealTree +-- nugget@2.0.1
63 silly idealTree +-- number-is-nan@1.0.1
63 silly idealTree +-- oauth-sign@0.8.2
63 silly idealTree +-- object-assign@4.1.1
63 silly idealTree +-- object-keys@0.4.0
63 silly idealTree +-- once@1.4.0
63 silly idealTree +-- parse-json@2.2.0
63 silly idealTree +-- path-exists@2.1.0
63 silly idealTree +-- path-is-absolute@1.0.1
63 silly idealTree +-- path-type@1.1.0
63 silly idealTree +-- pend@1.2.0
63 silly idealTree +-- performance-now@0.2.0
63 silly idealTree +-- pify@2.3.0
63 silly idealTree +-- pinkie-promise@2.0.1
63 silly idealTree +-- pinkie@2.0.4
63 silly idealTree +-- pretty-bytes@1.0.4
63 silly idealTree +-- process-nextick-args@1.0.7
63 silly idealTree +-- progress-stream@1.2.0
63 silly idealTree +-- punycode@1.4.1
63 silly idealTree +-- python@0.0.4
63 silly idealTree +-- qs@6.4.0
63 silly idealTree +-- rc@1.2.1
63 silly idealTree +-- read-pkg-up@1.0.1
63 silly idealTree +-- read-pkg@1.1.0
63 silly idealTree +-- readable-stream@1.1.14
63 silly idealTree +-- redent@1.0.0
63 silly idealTree +-- repeating@2.0.1
63 silly idealTree +-- request@2.81.0
63 silly idealTree +-- rimraf@2.6.1
63 silly idealTree +-- safe-buffer@5.1.0
63 silly idealTree +-- semver@5.3.0
63 silly idealTree +-- signal-exit@3.0.2
63 silly idealTree +-- single-line-log@1.1.2
63 silly idealTree +-- sntp@1.0.9
63 silly idealTree +-- spdx-correct@1.0.2
63 silly idealTree +-- spdx-expression-parse@1.0.4
63 silly idealTree +-- spdx-license-ids@1.2.2
63 silly idealTree +-- speedometer@0.1.4
63 silly idealTree +-- sshpk@1.13.0
63 silly idealTree | `-- assert-plus@1.0.0
63 silly idealTree +-- string_decoder@0.10.31
63 silly idealTree +-- string-width@1.0.2
63 silly idealTree +-- stringstream@0.0.5
63 silly idealTree +-- strip-ansi@3.0.1
63 silly idealTree +-- strip-bom@2.0.0
63 silly idealTree +-- strip-indent@1.0.1
63 silly idealTree +-- strip-json-comments@2.0.1
63 silly idealTree +-- sumchecker@1.3.1
63 silly idealTree +-- systeminformation@3.18.0
63 silly idealTree +-- throttleit@0.0.2
63 silly idealTree +-- through2@0.2.3
63 silly idealTree +-- tough-cookie@2.3.2
63 silly idealTree +-- trim-newlines@1.0.0
63 silly idealTree +-- tunnel-agent@0.6.0
63 silly idealTree +-- tweetnacl@0.14.5
63 silly idealTree +-- typedarray@0.0.6
63 silly idealTree +-- util-deprecate@1.0.2
63 silly idealTree +-- uuid@3.0.1
63 silly idealTree +-- validate-npm-package-license@3.0.1
63 silly idealTree +-- verror@1.3.6
63 silly idealTree +-- wrappy@1.0.2
63 silly idealTree +-- xtend@2.1.2
63 silly idealTree `-- yauzl@2.4.1
64 silly generateActionsToTake Starting
65 silly install generateActionsToTake
66 silly generateActionsToTake Finishing
67 silly diffTrees action count 1
68 silly diffTrees add systeminformation@3.18.0
69 silly decomposeActions action count 8
70 silly decomposeActions fetch systeminformation@3.18.0
71 silly decomposeActions extract systeminformation@3.18.0
72 silly decomposeActions test systeminformation@3.18.0
73 silly decomposeActions preinstall systeminformation@3.18.0
74 silly decomposeActions build systeminformation@3.18.0
75 silly decomposeActions install systeminformation@3.18.0
76 silly decomposeActions postinstall systeminformation@3.18.0
77 silly decomposeActions finalize systeminformation@3.18.0
78 silly runTopLevelLifecycles Starting
79 silly executeActions Starting
80 silly install executeActions
81 silly doSerial global-install 0
82 silly doParallel fetch 1
83 verbose correctMkdir C:\Users\Casper Strand\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
84 verbose lock using C:\Users\Casper Strand\AppData\Roaming\npm-cache\_locks\staging-f5cf3f2e4630de8a.lock for G:\Github\ElectronApp\node_modules\.staging
85 silly doParallel extract 1
86 silly extract systeminformation@3.18.0
87 verbose unbuild node_modules\.staging\systeminformation-6469a9fb
88 silly gentlyRm G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb is being purged from base G:\Github\ElectronApp
89 verbose gentlyRm don't care about contents; nuking G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb
90 verbose tar unpack C:\Users\Casper Strand\AppData\Roaming\npm-cache\systeminformation\3.18.0\package.tgz
91 verbose tar unpacking to G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb
92 silly gentlyRm G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb is being purged
93 verbose gentlyRm don't care about contents; nuking G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb
94 silly gunzTarPerm modes [ '777', '666' ]
95 silly gunzTarPerm extractEntry package.json
96 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
97 silly gunzTarPerm extractEntry .npmignore
98 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
99 silly gunzTarPerm extractEntry README.md
100 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
101 silly gunzTarPerm extractEntry LICENSE
102 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
103 silly gunzTarPerm extractEntry .editorconfig
104 silly gunzTarPerm modified mode [ '.editorconfig', 420, 438 ]
105 silly gunzTarPerm extractEntry CHANGELOG.md
106 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 420, 438 ]
107 silly gunzTarPerm extractEntry binding.gyp
108 silly gunzTarPerm modified mode [ 'binding.gyp', 493, 511 ]
109 silly gunzTarPerm extractEntry lib/util.js
110 silly gunzTarPerm modified mode [ 'lib/util.js', 420, 438 ]
111 silly gunzTarPerm extractEntry lib/dockerSocket.js
112 silly gunzTarPerm modified mode [ 'lib/dockerSocket.js', 420, 438 ]
113 silly gunzTarPerm extractEntry lib/filesystem.js
114 silly gunzTarPerm modified mode [ 'lib/filesystem.js', 420, 438 ]
115 silly gunzTarPerm extractEntry lib/graphics.js
116 silly gunzTarPerm modified mode [ 'lib/graphics.js', 420, 438 ]
117 silly gunzTarPerm extractEntry lib/index.js
118 silly gunzTarPerm modified mode [ 'lib/index.js', 420, 438 ]
119 silly gunzTarPerm extractEntry lib/docker.js
120 silly gunzTarPerm modified mode [ 'lib/docker.js', 420, 438 ]
121 silly gunzTarPerm extractEntry lib/memory.js
122 silly gunzTarPerm modified mode [ 'lib/memory.js', 420, 438 ]
123 silly gunzTarPerm extractEntry lib/network.js
124 silly gunzTarPerm modified mode [ 'lib/network.js', 420, 438 ]
125 silly gunzTarPerm extractEntry lib/osinfo.js
126 silly gunzTarPerm modified mode [ 'lib/osinfo.js', 420, 438 ]
127 silly gunzTarPerm extractEntry lib/processes.js
128 silly gunzTarPerm modified mode [ 'lib/processes.js', 420, 438 ]
129 silly gunzTarPerm extractEntry lib/system.js
130 silly gunzTarPerm modified mode [ 'lib/system.js', 420, 438 ]
131 silly gunzTarPerm extractEntry lib/cpu.js
132 silly gunzTarPerm modified mode [ 'lib/cpu.js', 420, 438 ]
133 silly gunzTarPerm extractEntry lib/users.js
134 silly gunzTarPerm modified mode [ 'lib/users.js', 420, 438 ]
135 silly gunzTarPerm extractEntry lib/battery.js
136 silly gunzTarPerm modified mode [ 'lib/battery.js', 420, 438 ]
137 silly gunzTarPerm extractEntry lib/internet.js
138 silly gunzTarPerm modified mode [ 'lib/internet.js', 420, 438 ]
139 silly gunzTarPerm extractEntry lib/OSX/smc.cc
140 silly gunzTarPerm modified mode [ 'lib/OSX/smc.cc', 493, 511 ]
141 silly gunzTarPerm extractEntry lib/OSX/smc.h
142 silly gunzTarPerm modified mode [ 'lib/OSX/smc.h', 493, 511 ]
143 silly gentlyRm G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb\node_modules is being purged
144 verbose gentlyRm don't care about contents; nuking G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb\node_modules
145 silly doParallel preinstall 1
146 silly preinstall systeminformation@3.18.0 G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb
147 info lifecycle systeminformation@3.18.0~preinstall: systeminformation@3.18.0
148 silly lifecycle systeminformation@3.18.0~preinstall: no script for preinstall, continuing
149 silly doReverseSerial remove 0
150 silly doSerial move 0
151 silly doSerial finalize 1
152 silly finalize G:\Github\ElectronApp\node_modules\systeminformation
153 silly doSerial build 1
154 silly build systeminformation@3.18.0
155 info linkStuff systeminformation@3.18.0
156 silly linkStuff systeminformation@3.18.0 has G:\Github\ElectronApp\node_modules as its parent node_modules
157 verbose linkBins systeminformation@3.18.0
158 verbose linkMans systeminformation@3.18.0
159 silly doSerial global-link 0
160 silly doParallel update-linked 0
161 silly doSerial install 1
162 silly install systeminformation@3.18.0 G:\Github\ElectronApp\node_modules\.staging\systeminformation-6469a9fb
163 info lifecycle systeminformation@3.18.0~install: systeminformation@3.18.0
164 verbose lifecycle systeminformation@3.18.0~install: unsafe-perm in lifecycle true
165 verbose lifecycle systeminformation@3.18.0~install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;G:\Github\ElectronApp\node_modules\systeminformation\node_modules\.bin;G:\Github\ElectronApp\node_modules\.bin;C:\Users\Casper Strand\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Casper Strand\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\Casper Strand\AppData\Local\Microsoft\WindowsApps;C:\Users\Casper Strand\AppData\Local\atom\bin;C:\Users\Casper Strand\AppData\Roaming\npm;G:\Program Files (x86)\Microsoft VS Code\bin
166 verbose lifecycle systeminformation@3.18.0~install: CWD: G:\Github\ElectronApp\node_modules\systeminformation
167 silly lifecycle systeminformation@3.18.0~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
168 silly lifecycle systeminformation@3.18.0~install: Returned: code: 1  signal: null
169 info lifecycle systeminformation@3.18.0~install: Failed to exec install script
170 verbose unlock done using C:\Users\Casper Strand\AppData\Roaming\npm-cache\_locks\staging-f5cf3f2e4630de8a.lock for G:\Github\ElectronApp\node_modules\.staging
171 silly rollbackFailedOptional Starting
172 silly rollbackFailedOptional Finishing
173 silly runTopLevelLifecycles Finishing
174 silly install printInstalled
175 warn MDeditorJ@0.0.1 No repository field.
176 verbose If you need help, you may report this error at:
176 verbose     <https://github.com/npm/npm/issues>
177 verbose stack Error: systeminformation@3.18.0 install: `node-gyp rebuild`
177 verbose stack Exit status 1
177 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
177 verbose stack     at emitTwo (events.js:106:13)
177 verbose stack     at EventEmitter.emit (events.js:191:7)
177 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
177 verbose stack     at emitTwo (events.js:106:13)
177 verbose stack     at ChildProcess.emit (events.js:191:7)
177 verbose stack     at maybeClose (internal/child_process.js:886:16)
177 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
178 verbose pkgid systeminformation@3.18.0
179 verbose cwd G:\Github\ElectronApp
180 error Windows_NT 10.0.14393
181 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "systeminformation"
182 error node v6.10.3
183 error npm  v3.10.10
184 error code ELIFECYCLE
185 error systeminformation@3.18.0 install: `node-gyp rebuild`
185 error Exit status 1
186 error Failed at the systeminformation@3.18.0 install script 'node-gyp rebuild'.
186 error Make sure you have the latest version of node.js and npm installed.
186 error If you do, this is most likely a problem with the systeminformation package,
186 error not with npm itself.
186 error Tell the author that this fails on your system:
186 error     node-gyp rebuild
186 error You can get information on how to open an issue for this project with:
186 error     npm bugs systeminformation
186 error Or if that isn't available, you can get their info via:
186 error     npm owner ls systeminformation
186 error There is likely additional logging output above.
187 verbose exit [ 1, true ]
sebhildebrandt commented 7 years ago

The major problem here started, when I introduces a small library needed for OSX (temperature detection). I will have to find a way to NOT start node-gyp on windows and linux. I made a little investigation how this can be done but I have to carefully test it before releasing a new version. If this does not work, I will remove temperature detection on OSX for now to make installation on all other platforms more smooth. Will work on it next weekend.

capperstrnd commented 7 years ago

My workaround was just to download the library and place it in my node_modules manually. Works fine for now :)

clark-nextoner commented 7 years ago

Same issue. Bump

MaxJeong commented 7 years ago

@fngryboi I tried the same but still doesn't work for me. I assume you downloaded the module as ZIP, extract the file and put the module in your node_modules correct? If there is a proper way to download, please let me know.

This is my error when I put the module manually.

events.js:141 throw er; // Unhandled 'error' event ^

Error: Cannot find module '../build/Release/smc' from 'D:\GamingHub\Gamempire\node_modules\systeminformation\lib' at D:\GamingHub\Gamempire\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\GamingHub\Gamempire\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\GamingHub\Gamempire\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31) at D:\GamingHub\Gamempire\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47 at FSReqWrap.oncomplete (fs.js:82:15)

I get this error as soon as I require systeminformation.

capperstrnd commented 7 years ago

@MaxJeong Did you install the Windows 8.1 SDK? I had to do that when I tried installing through npm but then we learned it was some stuff required for macOS that breaks it for Windows.

I have it installed and I suspect that might be the reason it isn't working on your end?

EDIT: Here is the link https://developer.microsoft.com/sv-se/windows/downloads/windows-8-1-sdk

sebhildebrandt commented 7 years ago

I now changed systeminformation to no longer need to execute gyp on Windows and Linux. So now it should install here smoothly.