首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动Lucky服务器时出现问题

启动Lucky服务器时出现问题
EN

Stack Overflow用户
提问于 2021-03-27 17:44:23
回答 1查看 57关注 0票数 0

我刚刚安装了crystal和幸运框架。我在Windows10上使用WSL2。这是错误消息

代码语言:javascript
复制
Unhandled exception: Unable to get file info: '/mnt/c/Python27/overmind': Input/output error (File::Error)
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/crystal/system/unix/file.cr:44:9 in 'info?'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/file.cr:132:5 in 'info?'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/process/executable_path.cr:32:12 in 'is_executable_file?'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/process/executable_path.cr:49:10 in 'find_executable'
  from /home/sashacode/apps/lucky_cli/src/lucky_cli/process_runner.cr:26:9 in 'installed?'
  from /home/sashacode/apps/lucky_cli/src/lucky_cli/process_runner.cr:22:24 in 'installed_process_runners'
  from /home/sashacode/apps/lucky_cli/src/lucky_cli/process_runner.cr:13:20 in 'start'
  from /home/sashacode/apps/lucky_cli/src/lucky_cli/process_runner.cr:12:5 in 'start'
  from /home/sashacode/apps/lucky_cli/src/dev.cr:5:5 in 'call'
  from /home/sashacode/apps/lucky_cli/src/dev.cr:4:3 in 'call'
  from /home/sashacode/apps/lucky_cli/src/lucky.cr:30:3 in '__crystal_main'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/crystal/main.cr:110:5 in 'main_user_code'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/crystal/main.cr:96:7 in 'main'
  from /home/sashacode/.asdf/installs/crystal/0.36.1/share/crystal/src/crystal/main.cr:119:3 in 'main'
  from __libc_start_main
  from _start
  from ???
EN

回答 1

Stack Overflow用户

发布于 2021-06-25 23:33:25

幸运的是,在使用WSL2 https://luckyframework.org/guides/getting-started/installing#process-manager时,实际上不推荐使用Overmind

有关更多信息,请参阅Overmind上的此问题https://github.com/DarthSim/overmind/issues/88

我还没有和Lucky一起使用过WSL,但我想ForegoForeman可能会更好。

为了了解更多的背景知识,Lucky使用了一个进程管理器来启动Crystal dev服务器和webpack开发服务器,因为Lucky默认情况下附带了webpack (通过Laravel Mix)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66829927

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档