> install /Users/abhijit/workspace/image-optimization/gulp-responsive/node_modules/gulp-responsive/node_modules/sharp gulp-responsive % npm install -save-dev gulp-responsive ~ % curl -sL | bashĬommand Line Tools version: 12.33įinally, we'll run the initial npm install that failed for us. If the below acid test passes, we are good to go. Xcode-select: note: install requested for command line developer toolsĬlick "Install" button in the wizard, accept "License Agreement" and click "Done" once the software is installed. Or gulp-responsive % sudo rm -rf $(xcode-select -print-path) gulp-responsive % sudo rm -r -f /Library/Developer/CommandLineTools gulp-responsive % xcode-select -print-path Actually, if ProductVersion is less then 10.15, then fix of this post may not be applicable. Run sw_vers in terminal to check your MacOS version. Reference: Installation notes for macOS Catalina (v10.15) Check MacOS version This might manifest as the following error during npm install: Node-gyp uses XCode Command Line Tools for macOS.īoth upgrading to macOS Catalina and running a Software Update in Catalina may cause normal node-gyp installations to fail. Gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) Gyp ERR! stack Error: `gyp` failed with exit code: 1 Info sharp Building from source via node-gyp Info sharp Detected globally-installed libvips v8.9.2 > (node install/libvips & node install/dll-copy & prebuild-install) || (node-gyp rebuild & node install/dll-copy) > install /Users/abhijit/workspace/image-optimization/gulp-responsive/node_modules/sharp Explainer Video: Sample Error gulp-responsive % npm install -save-dev gulp-responsive Is node-gyp (Node.js native addon build tool) failing during yarn install or npm install? If your macOS got upgraded to Catalina (10.15) recently, then you will find the fix right here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |