node-fs-ext: npm install fs-ext -g FAILS

Fails installing fs-ext with compilation errors:

C:\Dani-R&D\JS\mqttd>npm install fs-ext -g

fs-ext@0.5.0 install C:\Dani-R&D\nodejs\node_modules\fs-ext node-gyp configure build

C:\Dani-R&D\nodejs\node_modules\fs-ext>if not defined npm_config_node_gyp (node “C:\Dani-R&D\nodejs\node_modules\npm\bin\node-gyp-bin.…\node_modules\node-gyp\bin\node-gyp.js” configure build ) else (node “” configure build ) Building the projects in this solution one at a time. To enable parallel build, please add the “/m” switch. fs-ext.cc …\fs-ext.cc(108): warning C4996: ‘Nan::NanErrnoException’: was declared deprecated [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] C:\Dani-R&D\nodejs\node_modules\fs-ext\node_modules\nan\nan.h(866): note: see declaration of ‘Nan::NanErrnoException’ …\fs-ext.cc(195): error C3861: ‘fcntl’: identifier not found [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] …\fs-ext.cc(297): warning C4996: ‘Nan::NanErrnoException’: was declared deprecated [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] C:\Dani-R&D\nodejs\node_modules\fs-ext\node_modules\nan\nan.h(866): note: see declaration of ‘Nan::NanErrnoException’ …\fs-ext.cc(339): warning C4996: ‘Nan::NanErrnoException’: was declared deprecated [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] C:\Dani-R&D\nodejs\node_modules\fs-ext\node_modules\nan\nan.h(866): note: see declaration of ‘Nan::NanErrnoException’ …\fs-ext.cc(374): error C3861: ‘fcntl’: identifier not found [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] …\fs-ext.cc(375): warning C4996: ‘Nan::NanErrnoException’: was declared deprecated [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] C:\Dani-R&D\nodejs\node_modules\fs-ext\node_modules\nan\nan.h(866): note: see declaration of ‘Nan::NanErrnoException’ …\fs-ext.cc(433): warning C4996: ‘Nan::NanErrnoException’: was declared deprecated [C:\Dani-R&D\nodejs\node_modules\fs-ext\build\fs-ext.vcxproj] C:\Dani-R&D\nodejs\node_modules\fs-ext\node_modules\nan\nan.h(866): note: see declaration of ‘Nan::NanErrnoException’ 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:\Dani-R&D\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js💯13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Windows_NT 10.0.10586 gyp ERR! command “C:\Dani-R&D\nodejs\node.exe” “C:\Dani-R&D\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “configure” “build” gyp ERR! cwd C:\Dani-R&D\nodejs\node_modules\fs-ext gyp ERR! node -v v5.10.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm ERR! Windows_NT 10.0.10586 npm ERR! argv “C:\Dani-R&D\nodejs\node.exe” “C:\Dani-R&D\nodejs\node_modules\npm\bin\npm-cli.js” “install” “fs-ext” “-g” npm ERR! node v5.10.0 npm ERR! npm v3.8.3 npm ERR! code ELIFECYCLE

npm ERR! fs-ext@0.5.0 install: node-gyp configure build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the fs-ext@0.5.0 install script ‘node-gyp configure build’. 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 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 information on how to open an issue for this project with: npm ERR! npm bugs fs-ext npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls fs-ext npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Dani-R&D\JS\mqttd\npm-debug.log npm-debug.log.txt

windows 10 pro 64-bit, VS2015 Community installed, node -v 5.10.0

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 54 (35 by maintainers)

Most upvoted comments

Hopefully fs-ext compiles fine with that, fingers crossed.

Per https://github.com/davedoesdev/qlobber-fsq/issues/4#issuecomment-212574172 I won’t be needing Windows support from fs-ext. So @baudehlo over to you 😃