question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bitbucket pipeline wine is required

See original GitHub issue
  • Version: 22.9.1
  • Electron Version: 11.0.0
  • Electron Type (current, beta, nightly): current
  • electron-updater version: 4.2.0
  • Target: Windows

Suddenly I got an error when I tried to run my usual pipeline on Bitbucket:

⨯ wine is required, please see https://electron.build/multi-platform-build#linux ⨯ /opt/atlassian/pipelines/agent/build/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE

The last successful result I got on 29th of December 2020. I didn’t run any builds ever since until now.

My pipeline configuration looks like this:

image: electronuserland/builder:wine

definitions:
  steps:
    - step: &make-build
        name: Create Build
        script:
          - npm i
          - electron-builder -w
        artifacts:
          - dist/*
pipelines:
  branches:
    master:
      - step: *make-build

I also tried to debug the error on local machine using docker, but got the successful results without any errors. I assume that Bitbucket changed something. Any clues appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jbool24commented, Sep 30, 2021

@abdulghanitech It looks like Bitbucket will be releasing a Windows based container for windows builds but its not coming around until sometime this quarter 2021. We might have to wait until then. 😭

Screenshot from 2021-09-30 10-06-06

1reaction
mmaiettacommented, Aug 29, 2022

From what I understand, it’s basically a toolkit for electron-builder to set up a build env at runtime, such as makensis and appimages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specify dependencies in your Pipelines build | Bitbucket Cloud
Bitbucket Pipelines runs your builds in a Docker container that provides the build environment. There are a few ways you can specify any...
Read more >
electron-builder doesn't recognize wine on Bitbucket Pipelines
I'm building an electron app with electron-builder , hosted on Bitbucket. I'm using a pipeline to build releases for Linux and Windows on ......
Read more >
How to get electron-builder to build on Bitbucket Pipelines?
wine is required, please see https://electron.build/multi-platform-build#linux • Above command failed, retrying 0 more times ...
Read more >
Announcing Linux Shell Runners in Bitbucket Pipelines
We are happy to announce that Bitbucket Pipelines now supports ... the next available Linux Shell Runner that has all the required label(s)....
Read more >
DevOps. How To Build Pipelines With Bitbucket Pipelines + ...
From that e-book you can learn how to build pipelines with Bitbucket Pipelines, docker containers, AWS ECS, JDK 11 and maven 3.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found