问题描述
在Mac OS High Sierra 10.13.6上保存对mix.exs
文件所做的任何更改都会导致文件开头的字符为空.
saving any changes made to mix.exs
file on Mac OS High Sierra 10.13.6 results in null character at beginning of file.
我最初是针对intellij elixir插件打开的,但是问题是使用ANY文本编辑器(sublime,vim,intellij)创建的.
I originally opened this against the intellij elixir plugin, but the problem is created from using ANY text editor (sublime, vim, intellij).
问题演示: https://github.com/KronicDeth/intellij-elixir/issues/1165
这是什么Mac设置?我该如何解决?
What Mac setting is this? How do I fix?
所有这些怪异现象都是在Mac上编辑代码并在VM(Linux)中运行它时发生的.
All this weirdness happens when editing code on a mac, and running it within the VM (linux).
推荐答案
您在使用Erlang 21吗?如果是这样,请尝试降级到Erlang20.我听说该版本和VirtualBox之间存在问题.一个类似的问题: https://elixirforum.com/t/error-unexpected-token-column-1-codepoint-u-0000-when-making-file-changes-with-a- code-editor/15785/3
Are you on Erlang 21? If so, try downgrading to Erlang 20. I've heard there are issues between that version and VirtualBox. A similar question: https://elixirforum.com/t/error-unexpected-token-column-1-codepoint-u-0000-when-making-file-changes-with-a-code-editor/15785/3
这篇关于Mix.exs文件更改-(SyntaxError)mix.exs:65:意外令牌:“" (第1列,代码点U + 0000)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!