首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >设置Webmachine机器时出错

设置Webmachine机器时出错
EN

Stack Overflow用户
提问于 2014-12-08 21:09:19
回答 1查看 76关注 0票数 0

我在OSX10.10.1上,我安装了Erlang。即:

Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

我想遵循许多介绍教程的网页机器之一,并创建一个新的项目-不幸的是,我总是陷入困境。下面是我的流程:

  1. $ git clone https://github.com/basho/webmachine.git
  2. $ ./webmachine/scripts/new_webmachine.sh testproject

第二个命令失败:

==> priv (create) ERROR: Template wmskel not found. ERROR: create failed while processing /Users/wasabii/webmachine/priv: rebar_abort

除了上面显示在Ubuntu 14和OS上的错误消息之外,我还没有得到更多的信息。在前一种情况下,这是一个新的设置,在尝试运行shell脚本之前只执行了一个sudo apt-get git/erlang

我遗漏了什么吗?我不太明白错误信息。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-12-09 01:50:46

不幸的是,在rebar存储库的顶层目录中,您似乎遇到了对webmachine可执行文件进行更新所导致的问题。如果您签出提交a85499e,那么一切都应该如您所期望的那样正常工作:

代码语言:javascript
复制
$ git checkout develop
Switched to branch 'develop'
Your branch is up-to-date with 'origin/develop'.
$ ./scripts/new_webmachine.sh testproject /tmp
==> priv (create)
ERROR: Template wmskel not found.
ERROR: create failed while processing /usr/local/src/webmachine/priv: rebar_abort
$ git checkout a85499e
Note: checking out 'a85499e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at a85499e... Merge pull request #210 from basho/feature/log-request-times
$ ./scripts/new_webmachine.sh testproject /tmp
==> priv (create)
Writing /tmp/testproject/README
Writing /tmp/testproject/Makefile
Writing /tmp/testproject/rebar.config
Writing /tmp/testproject/rebar
Writing /tmp/testproject/start.sh
Writing /tmp/testproject/src/testproject.app.src
Writing /tmp/testproject/src/testproject.erl
Writing /tmp/testproject/src/testproject_app.erl
Writing /tmp/testproject/src/testproject_sup.erl
Writing /tmp/testproject/src/testproject_config.erl
Writing /tmp/testproject/src/testproject_resource.erl

我把这件事报告给webmachine github存储库中的一个问题了。

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

https://stackoverflow.com/questions/27366971

复制
相关文章

相似问题

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