gpt4 book ai didi

linux - 如何在 Linux 上运行 Dartium?

转载 作者:太空狗 更新时间:2023-10-29 12:01:51 24 4
gpt4 key购买 nike

我是 Dart 的新手,想开始为 Dart 开发应用程序。现在,我只是在使用 dart2js --minify为此,效果很好,但是当我需要通过更改代码、运行代码、更改代码、运行代码等来调试我的错误时,它真的很慢。这需要大量编译,所以 dart2js通常,使用 dart2js 调试 Dart Web 应用程序非常快真的很慢。

我想在 Dartium 中使用 Dart VM 并按照 this video 的说明下载它(尽管不可否认,我没有观看整个视频,因为其中一部分是关于我不使用的 Atom 的)。但是,当我打开 Dartium(./chrome./chrome-wrapper)时,它看起来与普通 Chrome 浏览器没有任何不同。没有 --no-sandbox警告和用户代理与 Chromium 中的相同(无 (Dart) )。当我尝试使用 <script type="application/dart" [...]> 运行 Dart Web 应用程序时, 它不起作用。

我在运行 Dartium 时也遇到了以下错误(同样的错误发生在 ./chrome./chrome-wrapper 上):

[18997:18997:0829/163445:ERROR:browser_main_loop.cc(163)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Created new window in existing browser session.
[19044:19044:0829/163446:ERROR:zygote_linux.cc(587)] write: Broken pipe
[0829/163446:ERROR:nacl_helper_linux.cc(282)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

但是,当我转到 the link in the error 时,这些说明引用了一堆我不认识的命令和文件。

有人可以帮我弄清楚如何构建 Dartium 吗?非常感谢!

附加信息:

  • 我正在运行 Ubuntu 15.04,我的默认浏览器是 Chromium。
  • 当我同时运行 ./chrome./chrome-wrapper ,我关闭了原来的 Chromium。
  • 我已经上传了我的项目to GitHub .

最佳答案

也许 Dartium 正在连接到现有版本的 Chromium。尝试使用 --user-data-dir=/tmp/dartium_dir 启动 Dartium。这将确保它与任何现有的 Chromium 分开启动。

关于linux - 如何在 Linux 上运行 Dartium?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32290544/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com