Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

pipeline error with vite5 due to bitbucket estree-walker version

jmannDev43 February 29, 2024

Hi, I'm continually running into this error after migrating our application to use Vite 5.

It seems to be related to the estree-walker package that's used by atlassian/pipelines.

After some digging, I found this issue with the estree-walker package.

Is there any way I can circumvent this? Any advice would be appreciated!

Thanks!

Josh 

image.png

1 answer

1 accepted

1 vote
Answer accepted
jmannDev43 March 2, 2024

In case it helps anyone else running into this, my issue was that I was trying to install dependencies using a bun image, and then run tests with a node image. I updated all of my steps to use squishyu/bun-alpine:latest, which fixed the issue.

Also, for our app, it seems bun can install dependencies as fast as the pipelines can download cached node_modules, so I didn't bother to cache.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events