Firebase-deploy:0.2.1 return was compiled against a different Node.js version using.

Puwadon Sricharoen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2019

carbon (2).png

 

Error: The module '/opt/atlassian/pipelines/agent/build/functions/node_modules/sharp/build/Release/sharp.node'was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requiresNODE_MODULE_VERSION 67. Please try re-compiling or re-installing

 

Screenshot 2019-04-17 20.23.31.png

2 answers

0 votes
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2019

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).

0 votes
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2019

Hi Puwadon, 

This version of the pipe uses NodeJS v11.13.0. Try using the node:11 image in your bitbucket-pipelines.yml.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events