Closed
Description
system info
node: v6.3.1
Windows 10 Pro x64-based
npm: 3.10.3
Expected behavior
Haraka installs globally.
Observed behavior
$ npm i -g Haraka
C:\Users\user\AppData\Roaming\npm\spf -> C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\bin\spf
C:\Users\user\AppData\Roaming\npm\haraka -> C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\bin\haraka
C:\Users\user\AppData\Roaming\npm\haraka_grep -> C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\bin\haraka_grep
C:\Users\user\AppData\Roaming\npm\dkimverify -> C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\bin\dkimverify
> [email protected] install C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\node_modules\bunyan\node_modules\dtrace-provider
> node scripts/install.js
> [email protected] install C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\node_modules\dtrace-provider
> node scripts/install.js
> [email protected] install C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\node_modules\iconv
> node-gyp rebuild
C:\Users\user\AppData\Roaming\npm\node_modules\Haraka\node_modules\iconv>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.
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "12.0", "14.0", "4.0".
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:204:12)
gyp ERR! System Windows_NT 10.0.10240
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\user\AppData\Roaming\npm\node_modules\Haraka\node_modules\iconv
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
C:\Users\user\AppData\Roaming\npm
`-- (empty)
npm WARN optional Skipping failed optional dependency /Haraka/modern-syslog:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "-g" "Haraka"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
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! 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 iconv 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 iconv
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls iconv
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\user\app\npm-debug.log
npm ERR! code 1
Steps to reproduce
$ npm i -g Haraka
Metadata
Metadata
Assignees
Labels
No labels