npm install fails on Windows (2003) #3

Closed
anodynos opened this Issue Jan 16, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@anodynos

I would really like to use better-require for uRequire, unfortunatelly it fails on Windows:

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

y:\WebStormWorkspace\p\test>npm install better-require
npm http GET http://registry.npmjs.org/better-require
npm http 304 http://registry.npmjs.org/better-require
npm http GET http://registry.npmjs.org/require-json
npm http GET http://registry.npmjs.org/require-yaml
npm http GET http://registry.npmjs.org/require-csv
npm http GET http://registry.npmjs.org/require-xml
npm http GET http://registry.npmjs.org/coffee-script
npm http GET http://registry.npmjs.org/colors
npm http GET http://registry.npmjs.org/six
npm http GET http://registry.npmjs.org/require-ini
npm http 304 http://registry.npmjs.org/require-yaml
npm http 304 http://registry.npmjs.org/require-xml
npm http 304 http://registry.npmjs.org/require-csv
npm http 304 http://registry.npmjs.org/coffee-script
npm http 304 http://registry.npmjs.org/require-json
npm http 304 http://registry.npmjs.org/colors
npm http 304 http://registry.npmjs.org/six
npm http 304 http://registry.npmjs.org/require-ini
npm http GET http://registry.npmjs.org/js-yaml
npm http GET http://registry.npmjs.org/csv2array
npm http 304 http://registry.npmjs.org/js-yaml
npm http 304 http://registry.npmjs.org/csv2array
npm http GET http://registry.npmjs.org/xml2json
npm http GET http://registry.npmjs.org/node-ini
npm http 304 http://registry.npmjs.org/xml2json
npm http 304 http://registry.npmjs.org/node-ini
npm http GET http://registry.npmjs.org/node-expat/2.0.0
npm http 304 http://registry.npmjs.org/node-expat/2.0.0
npm http GET http://registry.npmjs.org/escodegen
npm http GET http://registry.npmjs.org/esprima-six
npm http 304 http://registry.npmjs.org/esprima-six
npm http 304 http://registry.npmjs.org/escodegen
npm http GET http://registry.npmjs.org/source-map
npm http GET http://registry.npmjs.org/esprima
npm http 304 http://registry.npmjs.org/source-map
npm http 304 http://registry.npmjs.org/esprima
npm http GET http://registry.npmjs.org/amdefine
npm http 304 http://registry.npmjs.org/amdefine

> node-expat@2.0.0 install y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-xml\node_modules\xml2json\node_modules\node-expat
> node-gyp rebuild


y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-xml\node_modules\xml2json\node_modules\node-expat>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-xml\node_modules\xml2json\node_modules\node-expat\build\deps\libexpat\expat.vcxproj(18,3): error MSB4019: The i
mported project "y:\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\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 5.2.3790
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-xml\node_modules\xml2json\node_modules\node-expat
gyp ERR! node -v v0.8.12
gyp ERR! node-gyp -v v0.7.0
gyp ERR! not ok
npm ERR! Error: ENOENT, chmod 'y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-yaml\node_modules\js-yaml\test\functional\data\spec-09-33.data'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Windows_NT 5.2.3790
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "better-require"
npm ERR! cwd y:\WebStormWorkspace\p\test
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! path y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-yaml\node_modules\js-yaml\test\functional\data\spec-09-33.data
npm ERR! fstream_path y:\WebStormWorkspace\p\test\node_modules\better-require\node_modules\require-yaml\node_modules\js-yaml\test\functional\data\spec-09-33.data
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack Writer._finish (C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:305:19)
npm ERR! fstream_stack Object.oncomplete (fs.js:297:15)
npm ERR! node-expat@2.0.0 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the node-expat@2.0.0 install script.
npm ERR! This is most likely a problem with the node-expat 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 their info via:
npm ERR!     npm owner ls node-expat
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 5.2.3790
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "better-require"
npm ERR! cwd y:\WebStormWorkspace\p\test
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     y:\WebStormWorkspace\p\test\npm-debug.log
npm ERR! not ok code 0

Any change of looking into it ?

@olalonde

This comment has been minimized.

Show comment Hide comment
@olalonde

olalonde Jun 6, 2013

Owner

I'm sorry I don't have a Windows machine but if someone can do a pull request I will be very happy.

Owner

olalonde commented Jun 6, 2013

I'm sorry I don't have a Windows machine but if someone can do a pull request I will be very happy.

@olalonde olalonde closed this Jun 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment