This is actually not an error but a warning (see "npm WARN"). On
Windows one optional dependency can't be compiled but it doesn't
matter much, the module should still work fine.

On Sep 12, 12:50 pm, Thomas White <[email protected]> wrote:
> Dear group,
>
> I have the following build error while installing nodemailer on Win 7. Any
> ideas?
>
> Thomas
>
> ----------------------
>
> C:\Users\twhite>npm -g install nodemailer
> npm http GEThttp://registry.npmjs.org/nodemailer
> npm http 304http://registry.npmjs.org/nodemailer
> npm http GEThttp://registry.npmjs.org/mailcomposer
> npm http GEThttp://registry.npmjs.org/simplesmtp
> npm http GEThttp://registry.npmjs.org/optimist
> npm http 304http://registry.npmjs.org/simplesmtp
> npm http 304http://registry.npmjs.org/mailcomposer
> npm http 304http://registry.npmjs.org/optimist
> npm http GEThttp://registry.npmjs.org/xoauth2
> npm http GEThttp://registry.npmjs.org/rai
> npm http GEThttp://registry.npmjs.org/mimelib
> npm http GEThttp://registry.npmjs.org/wordwrap
> npm http 304http://registry.npmjs.org/rai
> npm http 304http://registry.npmjs.org/xoauth2
> npm http GEThttp://registry.npmjs.org/request
> npm http 304http://registry.npmjs.org/mimelib
> npm http 304http://registry.npmjs.org/wordwrap
> npm http 304http://registry.npmjs.org/request
> npm http GEThttp://registry.npmjs.org/addressparser
> npm http GEThttp://registry.npmjs.org/encoding
> npm http 304http://registry.npmjs.org/addressparser
> npm http 304http://registry.npmjs.org/encoding
> npm http GEThttp://registry.npmjs.org/iconv-lite
> npm http GEThttp://registry.npmjs.org/iconv
> npm http 304http://registry.npmjs.org/iconv
> npm http 304http://registry.npmjs.org/iconv-lite
>
> > [email protected] install
>
> C:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer\node_modules\ma 
> ilcomposer\node_modules
> \mimelib\node_modules\encoding\node_modules\iconv
>
> > node-gyp rebuild
>
> C:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer\node_modules\ma 
> ilcomposer\node_modules\mimelib\node_modules\encoding\node_modules\iconv>no de
> "C:\Program Files
> x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\ 
> bin\node-gyp.js"
> rebuild
> Building the projects in this solution one at a time. To enable parallel
> build, please add the "/m" switch.
> C:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer\node_modules\ma 
> ilcomposer\node_modules\mimelib\node_modules
> \encoding\node_modules\iconv\build\iconv.vcxproj(18,3):
> error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was
> not found. Confirm that the path in the <Import> declaration is correct,
> and that the file exists on disk.
> 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 (C:\Program Files
> (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:219:23)
> gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
> gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
> gyp ERR! System Windows_NT 6.1.7601
> gyp ERR! command "node" "C:\\Program Files
> (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js"
> "rebuild"
> gyp ERR! cwd
> C:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer\node_modules\ma 
> ilcomposer\node_modules\mimelib\node_modules\encoding\node_modules\iconv
> gyp ERR! node -v v0.8.9
> gyp ERR! node-gyp -v v0.6.8
> gyp ERR! not ok
> npm WARN optional dep failed, continuing [email protected]
> C:\Users\twhite\AppData\Roaming\npm\nodemailer ->
> C:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer\bin\nodema
> iler
> [email protected]:\Users\twhite\AppData\Roaming\npm\node_modules\nodemailer
> ├── [email protected] ([email protected])
> ├── [email protected] ([email protected], [email protected])
> └── [email protected] ([email protected])

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to