我在使用Windows8上的Elixir Phoenix Framework时遇到了严重的麻烦。经过大部分特定于平台的错误后,一个错误告诉我无法找到钢筋,并且没有编译牧场。我甚至把螺纹钢放在我的环境中,但它仍然抱怨。总而言之,我应该怎样编译牧场,下面是一个错误的例子。无法在Windows上生成Phoenix应用程序
Programming [email protected] ~/Documents/GitHub/Elixir/phoenix ((v0.6.1))
$mix phoenix.new newapp ~/newapp
'c:/Program' is not recognized as an internal or external command,
operable program or batch file.
←[31m←[1m** (Mix) Could not compile dependency ranch, c:/Program Files/rebar/reb
ar.cmd command failed. If you want to recompile this dependency, please run: mix
deps.compile ranch←[0m
零件'c:/ Program'不被识别为内部或外部命令'表明某些东西对于'rebar'路径中的空间不满意。也许你可以尝试把它放在别的地方,在一个不包含空格的路径中作为快速修复。 – 2014-12-03 08:31:50
谢谢我的评论帮助我找到了解决方案。如果你不介意你能提出我的问题或我的回答吗?我需要积分,以便我可以开始upvoting人。更不用说,我相信Windows上还有其他的开发者可能会遇到这种恼人的bug。 – coderrick 2014-12-04 09:34:14