You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an elevated cmd.exe shell ran npm install --global --production windows-build-tools which succeeded.
Tried again: npm install get-cursor-position but it still failed.
Command line output:
C:\Users\mmcintyre\.node-gyp\4.4.7\include\node\v8.h(18): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [C:\Users\mmcintyre\node_modules\get-cursor-position\build\pos.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: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 10.0.15063
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\mmcintyre\node_modules\get-cursor-position
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "get-cursor-position"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the get-cursor-position 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 get-cursor-position
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls get-cursor-position
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\mmcintyre\npm-debug.log
npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'get-cursor-position' ]
2 info using [email protected]
3 info using [email protected]
4 verbose config Skipping project config: C:\Users\mmcintyre/.npmrc. (matches userconfig)
5 verbose install initial load of C:\Users\mmcintyre\package.json
6 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\bluebird\package.json
7 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\colors\package.json
8 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\https\package.json
9 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\https-browserify\package.json
10 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\mocha\package.json
11 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\pryjs\package.json
12 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\request\package.json
13 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\request-promise\package.json
14 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\selenium-webdriver\package.json
15 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\then-request\package.json
16 verbose installManyTop reading scoped package data from C:\Users\mmcintyre\node_modules\wd\package.json
17 info package.json [email protected] https is also the name of a node core module.
18 info package.json [email protected] No repository field.
19 info package.json [email protected] No README data
20 verbose readDependencies loading dependencies from C:\Users\mmcintyre\package.json
21 silly cache add args [ 'get-cursor-position', null ]
22 verbose cache add spec get-cursor-position
23 silly cache add parsed spec Result {
23 silly cache add raw: 'get-cursor-position',
23 silly cache add scope: null,
23 silly cache add name: 'get-cursor-position',
23 silly cache add rawSpec: '',
23 silly cache add spec: 'latest',
23 silly cache add type: 'tag' }
24 silly addNamed get-cursor-position@latest
25 verbose addNamed "latest" is being treated as a dist-tag for get-cursor-position
26 info addNameTag [ 'get-cursor-position', 'latest' ]
27 silly mapToRegistry name get-cursor-position
28 silly mapToRegistry using default registry
29 silly mapToRegistry registry https://registry.npmjs.org/
30 silly mapToRegistry data Result {
30 silly mapToRegistry raw: 'get-cursor-position',
30 silly mapToRegistry scope: null,
30 silly mapToRegistry name: 'get-cursor-position',
30 silly mapToRegistry rawSpec: '',
30 silly mapToRegistry spec: 'latest',
30 silly mapToRegistry type: 'tag' }
31 silly mapToRegistry uri https://registry.npmjs.org/get-cursor-position
32 verbose addNameTag registry:https://registry.npmjs.org/get-cursor-position not in flight; fetching
33 verbose request uri https://registry.npmjs.org/get-cursor-position
34 verbose request no auth needed
35 info attempt registry request try #1 at 3:58:47 PM
36 verbose request id ca79974c6a939c00
37 verbose etag W/"598d1353-387f"
38 verbose lastModified Fri, 11 Aug 2017 02:15:47 GMT
39 http request GET https://registry.npmjs.org/get-cursor-position
40 http 304 https://registry.npmjs.org/get-cursor-position
41 verbose headers { date: 'Sat, 02 Sep 2017 19:58:47 GMT',
41 verbose headers via: '1.1 varnish',
41 verbose headers 'cache-control': 'max-age=300',
41 verbose headers etag: 'W/"598d1353-387f"',
41 verbose headers age: '0',
41 verbose headers connection: 'keep-alive',
41 verbose headers 'x-served-by': 'cache-dfw1845-DFW',
41 verbose headers 'x-cache': 'HIT',
41 verbose headers 'x-cache-hits': '1',
41 verbose headers 'x-timer': 'S1504382328.998927,VS0,VE162',
41 verbose headers vary: 'Accept-Encoding, Accept' }
42 silly get cb [ 304,
42 silly get { date: 'Sat, 02 Sep 2017 19:58:47 GMT',
42 silly get via: '1.1 varnish',
42 silly get 'cache-control': 'max-age=300',
42 silly get etag: 'W/"598d1353-387f"',
42 silly get age: '0',
42 silly get connection: 'keep-alive',
42 silly get 'x-served-by': 'cache-dfw1845-DFW',
42 silly get 'x-cache': 'HIT',
42 silly get 'x-cache-hits': '1',
42 silly get 'x-timer': 'S1504382328.998927,VS0,VE162',
42 silly get vary: 'Accept-Encoding, Accept' } ]
43 verbose etag https://registry.npmjs.org/get-cursor-position from cache
44 verbose get saving get-cursor-position to C:\Users\mmcintyre\AppData\Roaming\npm-cache\registry.npmjs.org\get-cursor-position\.cache.json
45 verbose correctMkdir C:\Users\mmcintyre\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
46 silly addNameTag next cb for get-cursor-position with tag latest
47 silly addNamed [email protected]
48 verbose addNamed "1.0.5" is a plain semver version for get-cursor-position
49 silly cache afterAdd [email protected]
50 verbose afterAdd C:\Users\mmcintyre\AppData\Roaming\npm-cache\get-cursor-position\1.0.5\package\package.json not in flight; writing
51 verbose correctMkdir C:\Users\mmcintyre\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
52 verbose afterAdd C:\Users\mmcintyre\AppData\Roaming\npm-cache\get-cursor-position\1.0.5\package\package.json written
53 silly install resolved [ { name: 'get-cursor-position',
53 silly install resolved version: '1.0.5',
53 silly install resolved description: 'Get the cursor\'s current position in your terminal.',
53 silly install resolved main: 'index.js',
53 silly install resolved scripts:
53 silly install resolved { test: 'echo "Error: no test specified" && exit 1',
53 silly install resolved install: 'node-gyp rebuild' },
53 silly install resolved keywords: [ 'terminal', 'console', 'cursor', 'position', 'ansi', 'escape' ],
53 silly install resolved author: { name: 'bubkoo', email: '[email protected]' },
53 silly install resolved license: 'MIT',
53 silly install resolved repository:
53 silly install resolved { type: 'git',
53 silly install resolved url: 'git+https://github.com/bubkoo/get-cursor-position.git' },
53 silly install resolved bugs: { url: 'https://github.com/bubkoo/get-cursor-position/issues' },
53 silly install resolved homepage: 'https://github.com/bubkoo/get-cursor-position',
53 silly install resolved gypfile: true,
53 silly install resolved gitHead: 'f52e2de2e70f52a2855e958e5088335f9bc15ff3',
53 silly install resolved _id: '[email protected]',
53 silly install resolved _shasum: '1558c35aa056726eae704d5590aeaa5945989f5a',
53 silly install resolved _from: 'get-cursor-position@latest',
53 silly install resolved _npmVersion: '3.10.10',
53 silly install resolved _nodeVersion: '6.9.4',
53 silly install resolved _npmUser: { name: 'bubkoo', email: '[email protected]' },
53 silly install resolved dist:
53 silly install resolved { shasum: '1558c35aa056726eae704d5590aeaa5945989f5a',
53 silly install resolved tarball: 'https://registry.npmjs.org/get-cursor-position/-/get-cursor-position-1.0.5.tgz' },
53 silly install resolved maintainers: [ [Object] ],
53 silly install resolved _npmOperationalInternal:
53 silly install resolved { host: 's3://npm-registry-packages',
53 silly install resolved tmp: 'tmp/get-cursor-position-1.0.5.tgz_1502417747073_0.7977955581154674' },
53 silly install resolved directories: {},
53 silly install resolved _resolved: 'https://registry.npmjs.org/get-cursor-position/-/get-cursor-position-1.0.5.tgz',
53 silly install resolved readme: 'ERROR: No README data found!' } ]
54 info install [email protected] into C:\Users\mmcintyre
55 info installOne [email protected]
56 verbose installOne of get-cursor-position to C:\Users\mmcintyre not in flight; installing
57 verbose correctMkdir C:\Users\mmcintyre\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
58 verbose lock using C:\Users\mmcintyre\AppData\Roaming\npm-cache\_locks\get-cursor-position-0d7b08b8e77b452d.lock for C:\Users\mmcintyre\node_modules\get-cursor-position
59 silly install write writing get-cursor-position 1.0.5 to C:\Users\mmcintyre\node_modules\get-cursor-position
60 verbose unbuild node_modules\get-cursor-position
61 silly gentlyRm C:\Users\mmcintyre\node_modules\get-cursor-position is being purged from base C:\Users\mmcintyre
62 verbose gentlyRm don't care about contents; nuking C:\Users\mmcintyre\node_modules\get-cursor-position
63 verbose tar unpack C:\Users\mmcintyre\AppData\Roaming\npm-cache\get-cursor-position\1.0.5\package.tgz
64 verbose tar unpacking to C:\Users\mmcintyre\node_modules\get-cursor-position
65 silly gentlyRm C:\Users\mmcintyre\node_modules\get-cursor-position is being purged
66 verbose gentlyRm don't care about contents; nuking C:\Users\mmcintyre\node_modules\get-cursor-position
67 silly gunzTarPerm modes [ '777', '666' ]
68 silly gunzTarPerm extractEntry package.json
69 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
70 silly gunzTarPerm extractEntry README.md
71 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
72 silly gunzTarPerm extractEntry LICENSE
73 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
74 silly gunzTarPerm extractEntry index.js
75 silly gunzTarPerm modified mode [ 'index.js', 420, 438 ]
76 silly gunzTarPerm extractEntry binding.gyp
77 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ]
78 silly gunzTarPerm extractEntry src/pos.cc
79 silly gunzTarPerm modified mode [ 'src/pos.cc', 420, 438 ]
80 verbose write writing to C:\Users\mmcintyre\node_modules\get-cursor-position\package.json
81 info preinstall [email protected]
82 verbose readDependencies loading dependencies from C:\Users\mmcintyre\node_modules\get-cursor-position\package.json
83 verbose readDependencies loading dependencies from C:\Users\mmcintyre\node_modules\get-cursor-position\package.json
84 silly install resolved []
85 verbose about to build C:\Users\mmcintyre\node_modules\get-cursor-position
86 info build C:\Users\mmcintyre\node_modules\get-cursor-position
87 info linkStuff [email protected]
88 silly linkStuff [email protected] has C:\Users\mmcintyre\node_modules as its parent node_modules
89 verbose linkBins [email protected]
90 verbose linkMans [email protected]
91 verbose rebuildBundles [email protected]
92 info install [email protected]
93 verbose unsafe-perm in lifecycle true
94 info [email protected] Failed to exec install script
95 verbose unlock done using C:\Users\mmcintyre\AppData\Roaming\npm-cache\_locks\get-cursor-position-0d7b08b8e77b452d.lock for C:\Users\mmcintyre\node_modules\get-cursor-position
96 verbose stack Error: [email protected] install: `node-gyp rebuild`
96 verbose stack Exit status 1
96 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
96 verbose stack at emitTwo (events.js:87:13)
96 verbose stack at EventEmitter.emit (events.js:172:7)
96 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
96 verbose stack at emitTwo (events.js:87:13)
96 verbose stack at ChildProcess.emit (events.js:172:7)
96 verbose stack at maybeClose (internal/child_process.js:827:16)
96 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
97 verbose pkgid [email protected]
98 verbose cwd C:\Users\mmcintyre
99 error Windows_NT 10.0.15063
100 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "get-cursor-position"
101 error node v4.4.7
102 error npm v2.15.8
103 error code ELIFECYCLE
104 error [email protected] install: `node-gyp rebuild`
104 error Exit status 1
105 error Failed at the [email protected] install script 'node-gyp rebuild'.
105 error This is most likely a problem with the get-cursor-position package,
105 error not with npm itself.
105 error Tell the author that this fails on your system:
105 error node-gyp rebuild
105 error You can get information on how to open an issue for this project with:
105 error npm bugs get-cursor-position
105 error Or if that isn't available, you can get their info via:
105 error
105 error npm owner ls get-cursor-position
105 error There is likely additional logging output above.
106 verbose exit [ 1, true ]
107 verbose unbuild node_modules\get-cursor-position
108 info preuninstall [email protected]
109 info uninstall [email protected]
110 verbose unbuild rmStuff [email protected] from C:\Users\mmcintyre\node_modules
111 info postuninstall [email protected]
112 silly gentlyRm C:\Users\mmcintyre\node_modules\get-cursor-position is being purged from base C:\Users\mmcintyre
113 verbose gentlyRm don't care about contents; nuking C:\Users\mmcintyre\node_modules\get-cursor-position
114 silly vacuum-fs purging C:\Users\mmcintyre\node_modules\get-cursor-position
115 silly vacuum-fs quitting because other entries in C:\Users\mmcintyre\node_modules
The text was updated successfully, but these errors were encountered:
On Windows 10 installing via git bash shell
node v4.4.7
npm v2.15.8
npm install get-cursor-position
npm install --global --production windows-build-tools
which succeeded.npm install get-cursor-position
but it still failed.Command line output:
npm-debug.log:
The text was updated successfully, but these errors were encountered: