Skip to content

Instantly share code, notes, and snippets.

@abernix
Created June 22, 2017 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abernix/5f8dc4a5856a5919a4c2908f6a40c164 to your computer and use it in GitHub Desktop.
Save abernix/5f8dc4a5856a5919a4c2908f6a40c164 to your computer and use it in GitHub Desktop.
pathwatcher install fail
PS C:\Users\abern\meteor\dev_bundle\lib> ..\..\meteor.bat npm install pathwatcher@7.0.0 --verbose
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Users\\abern\\meteor\\dev_bundle\\bin\\node.exe',
npm verb cli 'C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli 'pathwatcher@7.0.0',
npm verb cli '--verbose' ]
npm info using npm@5.0.3
npm info using node@v8.1.2
npm verb npm-session 8e4dbaf8ac7ac17a
npm http fetch GET 200 https://registry.npmjs.org/pathwatcher 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/emissary 16ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/async 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/fs-plus 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/event-kit 22ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/grim 23ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/iconv-lite 22ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nan 24ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/underscore-plus 24ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/runas 26ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/property-accessors 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mixto 19ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/underscore 136ms (from cache)
npm verb correctMkdir C:\Users\abern\meteor\dev_bundle\.npm\_locks correctMkdir not in flight; initializing
npm verb lock using C:\Users\abern\meteor\dev_bundle\.npm\_locks\staging-bf9d622dd82abb7d.lock for C:\Users\abern\meteor
\dev_bundle\lib\node_modules\.staging
npm info lifecycle pathwatcher@7.0.0~preinstall: pathwatcher@7.0.0
npm info lifecycle runas@3.1.1~preinstall: runas@3.1.1
npm info lifecycle async@0.2.10~preinstall: async@0.2.10
npm info lifecycle iconv-lite@0.4.18~preinstall: iconv-lite@0.4.18
npm info lifecycle grim@2.0.1~preinstall: grim@2.0.1
npm info lifecycle fs-plus@3.0.1~preinstall: fs-plus@3.0.1
npm info lifecycle emissary@1.3.3~preinstall: emissary@1.3.3
npm info lifecycle underscore-plus@1.6.6~preinstall: underscore-plus@1.6.6
npm info lifecycle underscore@1.6.0~preinstall: underscore@1.6.0
npm info lifecycle property-accessors@1.1.3~preinstall: property-accessors@1.1.3
npm info lifecycle nan@2.6.2~preinstall: nan@2.6.2
npm info lifecycle mixto@1.0.0~preinstall: mixto@1.0.0
npm info lifecycle async@1.5.2~preinstall: async@1.5.2
npm info lifecycle event-kit@2.3.0~preinstall: event-kit@2.3.0
npm info linkStuff pathwatcher@7.0.0
npm verb linkBins pathwatcher@7.0.0
npm verb linkMans pathwatcher@7.0.0
npm info linkStuff runas@3.1.1
npm verb linkBins runas@3.1.1
npm verb linkMans runas@3.1.1
npm info linkStuff async@0.2.10
npm verb linkBins async@0.2.10
npm verb linkMans async@0.2.10
npm info linkStuff iconv-lite@0.4.18
npm verb linkBins iconv-lite@0.4.18
npm verb linkMans iconv-lite@0.4.18
npm info linkStuff grim@2.0.1
npm verb linkBins grim@2.0.1
npm verb linkMans grim@2.0.1
npm info linkStuff fs-plus@3.0.1
npm verb linkBins fs-plus@3.0.1
npm verb linkMans fs-plus@3.0.1
npm info linkStuff emissary@1.3.3
npm verb linkBins emissary@1.3.3
npm verb linkMans emissary@1.3.3
npm info linkStuff underscore-plus@1.6.6
npm verb linkBins underscore-plus@1.6.6
npm verb linkMans underscore-plus@1.6.6
npm info linkStuff underscore@1.6.0
npm verb linkBins underscore@1.6.0
npm verb linkMans underscore@1.6.0
npm info linkStuff property-accessors@1.1.3
npm verb linkBins property-accessors@1.1.3
npm verb linkMans property-accessors@1.1.3
npm info linkStuff nan@2.6.2
npm verb linkBins nan@2.6.2
npm verb linkMans nan@2.6.2
npm info linkStuff mixto@1.0.0
npm verb linkBins mixto@1.0.0
npm verb linkMans mixto@1.0.0
npm info linkStuff async@1.5.2
npm verb linkBins async@1.5.2
npm verb linkMans async@1.5.2
npm info linkStuff event-kit@2.3.0
npm verb linkBins event-kit@2.3.0
npm verb linkMans event-kit@2.3.0
npm info lifecycle pathwatcher@7.0.0~install: pathwatcher@7.0.0
> pathwatcher@7.0.0 install C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Users\\abern\\meteor\\dev_bundle\\bin\\node.exe',
gyp verb cli 'C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@3.6.2
gyp info using node@8.1.2 | win32 | ia32
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 "C:\Users\abern\meteor\dev_bundle\python\python.exe" in the PATH
gyp verb `which` succeeded C:\Users\abern\meteor\dev_bundle\python\python.exe C:\Users\abern\meteor\dev_bundle\python\py
thon.exe
gyp verb check python version `C:\Users\abern\meteor\dev_bundle\python\python.exe -c "import platform; print(platform.py
thon_version());"` returned: "2.7.12\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.1.2
gyp verb command install [ '8.1.2' ]
gyp verb install input version string "8.1.2"
gyp verb install installing version: 8.1.2
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: 8.1.2
gyp verb build dir attempting to create "build" dir: C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build
gyp verb build dir "build" dir needed to be created? C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build
gyp verb Not using VS2017: Could not use PowerShell to find VS2017
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\
config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Users\abern\meteor\dev_bundle\python\python.exe
gyp info spawn args [ 'C:\\Users\\abern\\meteor\\dev_bundle\\lib\\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=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\pathwatcher\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\abern\\meteor\\dev_bundle\\.node-gyp\\8.1.2\\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\\abern\\meteor\\dev_bundle\\.node-gyp\\8.1.2',
gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\abern\\meteor\\dev_bundle\\.node-gyp\\8.1.2\\<(target_arch)\\node.lib'
,
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_modules\\pathwatcher',
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\\abern\\meteor\\dev_bundle\\lib\\node_modules\\pathwatcher\\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture ia32
gyp verb node dev dir C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2
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=Win32' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 6/22/2017 3:23:47 AM.
Project "C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\binding.sln" (1) is building "C:\Users\abe
rn\meteor\dev_bundle\lib\node_modules\pathwatcher\build\pathwatcher.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\pathwatcher\".
Creating directory "Release\obj\pathwatcher\pathwatcher.tlog\".
InitializeBuildStatus:
Creating "Release\obj\pathwatcher\pathwatcher.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\CL.exe /c /I"C:\Users\abern\meteor\dev_bundle\.n
ode-gyp\8.1.2\include\node" /I"C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2\src" /I"C:\Users\abern\meteor\dev_bun
dle\.node-gyp\8.1.2\deps\uv\include" /I"C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2\deps\v8\include" /I..\src /I
..\..\nan /Zi /nologo /W3 /WX /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=pathwatcher /D USING_UV_SHARED=1 /D US
ING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HA
S_EXCEPTIONS=0 /D _WIN32_WINNT=0x0600 /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Z
c:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\pathwatcher\\" /Fd"Release\obj\pathwatcher\vc140.pdb" /Gd /TP
/wd4267 /wd4351 /wd4355 /wd4800 /wd4251 /wd4018 /wd4244 /wd4267 /wd4530 /wd4506 /wd4577 /wd4996 /analyze- /errorRepor
t:queue /MP ..\src\main.cc ..\src\common.cc ..\src\handle_map.cc ..\src\pathwatcher_win.cc "C:\Users\abern\meteor\dev
_bundle\lib\node_modules\node-gyp\src\win_delay_load_hook.cc"
main.cc
common.cc
handle_map.cc
pathwatcher_win.cc
win_delay_load_hook.cc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\abern
\meteor\dev_bundle\lib\node_modules\pathwatcher\build\Release\pathwatcher.node" /INCREMENTAL:NO /NOLOGO kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib De
layImp.lib "C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2\ia32\node.lib" Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLO
AD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\abern\m
eteor\dev_bundle\lib\node_modules\pathwatcher\build\Release\pathwatcher.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF
/LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /SAFESEH /ignore:4199 /DLL Release\obj\pathwatcher\main.obj
Release\obj\pathwatcher\common.obj
Release\obj\pathwatcher\handle_map.obj
Release\obj\pathwatcher\pathwatcher_win.obj
Release\obj\pathwatcher\win_delay_load_hook.obj
C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2\ia32\node.lib : fatal error LNK1127: library is corrupt [C:\Users\aber
n\meteor\dev_bundle\lib\node_modules\pathwatcher\build\pathwatcher.vcxproj]
Done Building Project "C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\pathwatcher.vcxproj" (defaul
t targets) -- FAILED.
Done Building Project "C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\binding.sln" (default target
s) -- FAILED.
Build FAILED.
"C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\binding.sln" (default target) (1) ->
"C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\pathwatcher.vcxproj" (default target) (2) ->
(Link target) ->
C:\Users\abern\meteor\dev_bundle\.node-gyp\8.1.2\ia32\node.lib : fatal error LNK1127: library is corrupt [C:\Users\ab
ern\meteor\dev_bundle\lib\node_modules\pathwatcher\build\pathwatcher.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.87
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:\Users\abern\meteor\dev_bundle\lib\node_modules\node-gyp\lib\build.js:258:2
3)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Users\\abern\\meteor\\dev_bundle\\bin\\node.exe" "C:\\Users\\abern\\meteor\\dev_bundle\\lib\\node_
modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher
gyp ERR! node -v v8.1.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm verb lifecycle pathwatcher@7.0.0~install: unsafe-perm in lifecycle true
npm verb lifecycle pathwatcher@7.0.0~install: PATH: C:\Users\abern\meteor\dev_bundle\lib\node_modules\npm\bin\node-gyp-b
in;C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher\node_modules\.bin;C:\Users\abern\meteor\dev_bundle\lib\
node_modules\.bin;C:\Users\abern\meteor\dev_bundle\bin;C:\Users\abern\meteor\dev_bundle\lib\node_modules\.bin;C:\Program
Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Prog
ramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShe
ll\v1.0\;C:\Users\abern\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files (x86)\Windows Kits\8.1\Windows Perf
ormance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\7-zip;C:\Program Files\Intel\Intel(R) Management Engine Compo
nents\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Managem
ent Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\
ATI Technologies\ATI.ACE\Core-Static;C:\Users\abern\AppData\Local\Microsoft\WindowsApps;C:\Users\abern\AppData\Local\.me
teor\;C:\Users\abern\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\abern\AppData\Local\android_sdk\tools;C:\Users
\abern\AppData\Local\android_sdk\platform-tools;
npm verb lifecycle pathwatcher@7.0.0~install: CWD: C:\Users\abern\meteor\dev_bundle\lib\node_modules\pathwatcher
npm info lifecycle pathwatcher@7.0.0~install: Failed to exec install script
npm verb unlock done using C:\Users\abern\meteor\dev_bundle\.npm\_locks\staging-bf9d622dd82abb7d.lock for C:\Users\abern
\meteor\dev_bundle\lib\node_modules\.staging
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\abern\meteor\dev_bundle\lib\package.json'
npm verb enoent This is related to npm not being able to find a file.
npm verb enoent
npm WARN babel-preset-meteor@6.26.0 requires a peer of babel-runtime@^6.22.0 but none was installed.
npm WARN lib No description
npm WARN lib No repository field.
npm WARN lib No README data
npm WARN lib No license field.
npm verb stack Error: pathwatcher@7.0.0 install: `node-gyp rebuild`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment