question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install fs-ext -g FAILS

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:54 (35 by maintainers)

github_iconTop GitHub Comments

1reaction
davedoesdevcommented, Jan 8, 2018

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

1reaction
davedoesdevcommented, Apr 22, 2016

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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install yo · Issue #5334 · npm/npm - GitHub
I'm on osx using latest version of npm 1.4.13 → npm install yo -g npm ERR! Error: ENOENT, utime ...
Read more >
cfonts - npm
This is a silly little command line tool for sexy ANSI fonts in the console. Give your cli some love. Installing. npm. npm...
Read more >
Run Into a NPM Node-gyp Compilation Error on Windows 10 ...
This error can happen when you are installing a number of packages from NPM ... G o to Tools > Options > Projects...
Read more >
having trouble running node js on server - Stack Overflow
You need to update nodeJS. upgrade node using the typical instructions , if that doesn't work : sudo npm install -g npm sudo...
Read more >
webworker-threads - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages ... Install the Snyk CLI and test your project copy. npm i snyk -g && snyk...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found