electron - //v8/BUILD.gn:503:30 处的电子构建错误:未定义的标识符
问题描述
我正在尝试使用命令构建电子源 -
gn gen out/Testing --args="import(\"//electron/build/args/testing.gn\")"
不断收到此错误 -
ERROR at //v8/BUILD.gn:503:30: Undefined identifier
if (!is_component_build && is_electron_build) {
^----------------
See //BUILD.gn:219:7: which caused the file to be included.
"//v8:gn_all",
^------------
我无法弄清楚我错过了什么。我再次检查,所有的说明和要求,都很好。看起来它指向is_electron_build
. 我不知道这是从哪里来的。
我正在关注这个https://www.electronjs.org/docs/development/build-instructions-gn
解决方案
推荐阅读
- javascript - 如何一个接一个地同时单击页面上的所有按钮?
- c# - 通过 HTTPS 上传 .mp4
- c++ - QVTKWidget SetRenderWindow() 与 PCLVisualizer 异常
- python-3.x - 卡在 Cryptopals 加密挑战 3 设置 1
- python - vscode 导入错误:从 scapy.all 导入 IP
- c# - 数据库同步 - 本地和在线,无需复制
- java - StreamTokenizer 输入数和解析数不同
- r - R(e1071)中奇怪的 svm 行为
- xamarin - 如何将 SQLite 数据库中的数据绑定到选取器 Xamarin Forms?
- jmeter - 什么是 Ab 工具中的 100 个线程和 JMeter 中的 250 个循环的等效项