baudehlo / node-fs-ext

Extras missing from node's fs module
MIT License
101 stars 45 forks source link

Error installing fs-ext #38

Closed harveymonster closed 9 years ago

harveymonster commented 9 years ago

When I try to install fs-ext I get the following output:

C:\git\NAuth\Source [master +2 ~3 -0 !]> npm install fs-ext
npm WARN package.json PowerDMSAuthor@1.0.0 No README data
\
> fs-ext@0.4.0 install C:\git\NAuth\Source\node_modules\fs-ext
> node-gyp configure build

C:\git\NAuth\Source\node_modules\fs-ext>node "C:\Program Files (x86)\nodejs\node
_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" conf
igure build
gyp ERR! build error
gyp ERR! stack Error: ENOENT, open 'C:\Users\nathan.harvey\.node-gyp\0.10.33\x64
\node.lib'
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\nod
e_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build"
gyp ERR! cwd C:\git\NAuth\Source\node_modules\fs-ext
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! fs-ext@0.4.0 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fs-ext@0.4.0 install script.
npm ERR! This is most likely a problem with the fs-ext package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls fs-ext
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "fs-ext"
npm ERR! cwd C:\git\NAuth\Source
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
C:\git\NAuth\Source [master +2 ~3 -0 !]>

I think the issue is with the double \\ trying to get to node-gyp.js (C:\Program Files (x86)\nodejs\node _modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js)

baudehlo commented 9 years ago

This is probably fixed with a newer npm and the new release using Nan. Please re-open if it still exists.