~ \node_modules\sharp: Command failed.
Command: (node install/libvips && node install/dll-copy && prebuild-install) ||
(node-gyp rebuild && node install/dll-copy)
...
sharp라는 플러그인이 develop할때 에러나고 deploy할때도 에러나고
몇시간을 헤맸다.
node 버전도 바꿔보고 프로젝트를 아예 지우고 다시설치하고
노드모듈을 몇번이나 삭제하고 인스톨해보고 🤯
삽질 몇시간후 찾은 해결책은
rm -rf /Users/{username}/.npm/_libvips
brew install vips // If this command throws some error about could not download cfitsio, just ignore.
rm -rf node_modules
npm install
대체 이유가 뭔지는 몰라도..저도 해결됐네요 도움됐습니다