- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我是 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 吗?非常感谢!
附加信息:
./chrome
和 ./chrome-wrapper
,我关闭了原来的 Chromium。最佳答案
也许 Dartium 正在连接到现有版本的 Chromium。尝试使用 --user-data-dir=/tmp/dartium_dir
启动 Dartium。这将确保它与任何现有的 Chromium 分开启动。
关于linux - 如何在 Linux 上运行 Dartium?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32290544/
我是一名优秀的程序员,十分优秀!