I'm trying to fetch/build v8 and need to install depot_tools first. While running update_depot_tools
, I keep getting errors starting with the error
我正在尝试获取/构建V8,并且需要首先安装depot_Tools。在运行UPDATE_DEPOT_TOOLS时,我不断收到从错误开始的错误
[P59642 22:11:48.064 deployer.go:355 W] [unzip 1/12] Deploy aborted, cleaning up /home/vagrant/<path>/depot_tools/.cipd_bin/.cipd/pkgs/0/Hz9uNZz5u8kQl3EeiK9dDXUNuFSGNvUCIKeDFSxkf4QC
And cannot for the life of me figure out why/cannot find the source to debug the underlying go code.
而且我永远也想不出为什么/找不到调试底层GO代码的源代码。
更多回答
优秀答案推荐
It worked once I cloned depot_tools directly into my home directory! I hate computers sometimes.
一旦我将depot_Tools直接克隆到我的主目录中,它就起作用了!我有时讨厌电脑。
Hope this saves someone a couple of hours that I wasted.
希望这能帮我省下几个小时的时间。
更多回答
If you follow the official instructions (v8.dev/docs/source-code), it also works out of the box. I've just done that on a freshly installed machine last week. Maybe you forgot to update your PATH
or something? depot_tools definitely don't care where exactly they're checked out.
如果您遵循官方说明(v8.dev/docs/source-code),它也可以开箱即用。上周,我刚刚在一台新安装的机器上完成了这项操作。也许你忘了更新你的路径还是怎么的?Depot_Tools绝对不关心它们在哪里被签出。
I definitely updated my PATH
. I'm not sure what to tell you but this solved the issue for me.
我绝对更新了我的路径。我不知道该怎么跟你说,但这解决了我的问题。
我是一名优秀的程序员,十分优秀!