node.js - Failed at the sharp@0.18.2 install script 'node-gyp rebuild' -
facing issue while build docker file.here docker file , local ubuntu machine it's working docker, can build successfully. error throw npm sharp other module working fine.
npm err! linux 4.4.0-83-generic npm err! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm err! node v7.10.0 npm err! npm v4.2.0 npm err! code elifecycle npm err! errno 1 npm err! sharp@0.18.2 install: `node-gyp rebuild` npm err! exit status 1 npm err! npm err! failed @ sharp@0.18.2 install script 'node-gyp rebuild'. npm err! make sure have latest version of node.js , npm installed. npm err! if do, problem sharp package, npm err! not npm itself. npm err! tell author fails on system: npm err! node-gyp rebuild npm err! can information on how open issue project with: npm err! npm bugs sharp npm err! or if isn't available, can info via: npm err! npm owner ls sharp npm err! there additional logging output above. npm err! please include following file support request: npm err! /app/.npm/_logs/2017-08-18t07_20_00_066z-debug.log
Comments
Post a Comment