Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

[build] cross building on linux is not working #203

Open
anjannath opened this issue Mar 14, 2022 · 1 comment
Open

[build] cross building on linux is not working #203

anjannath opened this issue Mar 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@anjannath
Copy link
Member

circle CI job is failing with the following error, can be reproduced locally on a linux machine (make release)

Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".

Full logs from Circle CI:

npm run release:cross


> [email protected] release:cross
> npm run build && npm run build:react && electron-packager . --ignore='/frontend/package.json' --ignore='/frontend/node_modules' --ignore='/frontend/src' --overwrite --asar --out=release --platform=darwin,win32 --prune=true --icon=assets/appicon --app-bundle-id='com.redhat.codeready.containers'


> [email protected] build
> tsc -p .


> [email protected] build:react
> cd frontend && npm run build


> [email protected] build
> react-scripts build

Creating an optimized production build...
Compiled successfully.

File sizes after gzip:

  90.62 kB  build/static/js/main.b7e1ce78.js
  37.17 kB  build/static/css/main.f962c967.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  https://cra.link/deployment

Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".

Exited with code exit status 1

CircleCI received exit code 1

@anjannath anjannath added the bug Something isn't working label Mar 14, 2022
@anjannath anjannath changed the title cross building on linux is not working [build] cross building on linux is not working Mar 14, 2022
@anjannath
Copy link
Member Author

cross building on macOS is working fine, npm run release:cross

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant