build-tools icon indicating copy to clipboard operation
build-tools copied to clipboard

The GN scripts to use for Electron dev-flows

Results 62 build-tools issues
Sort by recently updated
recently updated
newest added

I tried to follow the instructions to build the latest stable release (17.4.10), but: ``` [475/40379] LINK ./flatc FAILED: flatc TOOL_VERSION=1657385378 ../../build/toolchain/apple/linker_driver.py -Wcrl,strippath,/Users/mike/.electron_build_tools/third_party/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ../../third_party/llvm-build/Release+Asserts/bin/clang++ -fuse-ld=lld -Wl,-fatal_warnings -Wl,--icf=all -Wl,--color-diagnostics -stdlib=libc++ -arch...

bug

We've switched this to GitHub Actions.

env: windows 10 node 14.19.3 missing file v8_union_gpucanvascontext_imagebitmaprenderingcontext_offscreencanvasrenderingcontext2d_webgl2renderingcontext_webglrenderingcontext.h and v8_union_gpucanvascontext_imagebitmaprenderingcontext_offscreencanvasrenderingcontext2d_webgl2renderingcontext_webglrenderingcontext.cc. ``` %User%>e build Running "ninja.exe -j 200 electron" in %User%\Desktop\jscode\github\electron-test\electron\src\out\Testing [347/38278] ACTION //third_party/blink/renderer/bindings:generate_bindings_all(//build/toolchain/win:win_clang_x64) FAILED: gen/third_party/blink/renderer/bindings/core/v8/v8_align_setting.cc gen/third_party/blink/renderer/bindings/core/v8/v8_align_setting.h ... %User%/.electron_build_tools/third_party/depot_tools/bootstrap-2@3_8_10_chromium_23_bin/python3/bin/python3.exe ../../third_party/blink/renderer/bindings/scripts/generate_bindings.py --web_idl_database...

Closes https://github.com/electron/build-tools/issues/404.

``` internal/modules/cjs/loader.js:895 throw err; ^ Error: Cannot find module '/home/ross/.electron_build_tools/src/e' Require stack: - /usr/lib/node_modules/@electron/build-tools/run.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:892:15) at Function.Module._load (internal/modules/cjs/loader.js:742:27) at Module.require (internal/modules/cjs/loader.js:964:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (/usr/lib/node_modules/@electron/build-tools/run.js:15:1) at...

:beetle: bug

``` Hook 'vpython.bat src/electron/script/apply_all_patches.py src/electron/patches/config.json' took 15669.14 secs subprocess2(154) __init__:python3 src/electron/script/update-external-binaries.py; cwd=C:\src\electron ________ running 'python3 src/electron/script/update-external-binaries.py' in 'C:\src\electron' Downloading https://electron-build-tools.s3-us-west-2.amazonaws.com/build-dependencies/b6a20fd1c2026f3792e7286bc768a7ebc261847b76449b49f55455e1f841fecd/sccache-win32-x64.zip to C:\Users\NICOLE~1\AppData\Local\Temp\electron-xzab9lsb\sccache-win32-x64.zip Download sccache-win32-x64.zip 4151947 [103798675.0%] Hook 'python3 src/electron/script/update-external-binaries.py' took...

:beetle: bug
windows
:notebook: documentation

When running `e build -v electron:dist` I get: ``` [954/41113] C:\Users\ContainerAdministrator\.electron_build_tools\third_party\goma\gomacc.exe ..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user /winsysroot..\..\third_party\depot_tools\win_toolchain\vs_files\e146e01913 -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-13-init-794-g83e2710e-1\"" -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -D_LIBCPP_DEBUG=0 -D_LIBCPP_NO_AUTO_LINK -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS...

windows
build-failure

I've seen this a couple of times now, on my local machine and on CI. A subsequent run passes. ``` $ nyc --reporter=lcov --reporter=text-summary jest --config=jest.fast.json FAIL tests/e-remove-spec.js (24.473s) ●...

windows

My OS: ``` Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic ``` When I used `sudo npm i -g @electron/build-tools` It didn't install the build tools and...

good first issue
documentation