<span>Error: The module '/opt/atlassian/pipelines/agent/build/functions/node_modules/sharp/build/Release/sharp.node'</span><span>was compiled against a different Node.js version using</span> <span>NODE_MODULE_VERSION 64. This version of Node.js requires</span><span>NODE_MODULE_VERSION 67. Please try re-compiling or re-installing</span>
<span>Error: The module '/opt/atlassian/pipelines/agent/build/functions/node_modules/sharp/build/Release/sharp.node'</span>
<span>was compiled against a different Node.js version using</span>
<span>NODE_MODULE_VERSION 64. This version of Node.js requires</span>
<span>NODE_MODULE_VERSION 67. Please try re-compiling or re-installing</span>
Hi Puwadon,
This version of the pipe uses NodeJS v11.13.0. Try using the node:11 image in your bitbucket-pipelines.yml.
Hi Puwadon. We were unable to reproduce the issue. We've recreated the bitbucket_pipelines.yml configuration that you've provided and in worked. The issue might be related to the Sharp library version that you use (maybe it's too old).
It looks like you're new here. Sign in or register to get started.