无法使用bpm创建Ember.js应用程序 [英] Can't create an Ember.js application using bpm

查看:80
本文介绍了无法使用bpm创建Ember.js应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照这个ud3323 / bpm维基页面的说明使用bpm创建一个Ember.js应用程序。这个页面上的第一个命令(bpm init hello_world)抛出异常 - 没有这样的文件或目录 - C:/apps/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.2 .13 / lib / execjs / support / which.bat(请参阅 here 记录的问题 - 我的评论是第二个)。我检查了execjs目录下的文件 - 没有名为which.bat的文件。请注意,我使用gem install bpm安装了bpm。我不知道如何构建ud3323的fork(不知道Ruby - 我安装它只是尝试bpm)。有人可以帮助我解决这个问题吗?

I am trying to follow the directions on this ud3323/bpm wiki page to create an Ember.js application using bpm. The very first command on this page (bpm init hello_world) is throwing an exception - "No such file or directory - C:/apps/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.2.13/lib/execjs/support/which.bat" (see the issue logged here - my comment is the second one). I checked the files under execjs directory - there is no file called which.bat. Note that I installed bpm using "gem install bpm". I don't know how to build ud3323's fork (don't know Ruby - I installed it just to try out bpm). Can anybody help me get past this issue?

提前感谢你的时间。

推荐答案

Naresh,

我有空闲时间找到问题。当前构建的BPM需要使用gem execjs版本1.2.4。您可能有最新版本是1.3.0或最新的1.2.x分支。

I got some free time and found the issue. The current build of BPM requires the use of the gem execjs version 1.2.4. You probably have the latest version which is 1.3.0 or the latest from the 1.2.x branch.

您需要做的是通过运行命令来安装正确的版本 gem install execjs --version 1.2.4 。之后BPM应该正常工作。我已经在Windows7 64位上安装了一个干净的Ruby 1.9.2安装程序。

What you need to do is install the correct version by running the command gem install execjs --version 1.2.4. After that BPM should work fine. I have it running on Windows7 64bit with a clean installation of Ruby 1.9.2.

另外对于其他任何人,我有详细的说明,我在这个页面上做了什么: https://github.com/ud3323/bpm/wiki/Installing-with-Windows

Also for anyone else, I have detailed instructions of exactly what I did on this page: https://github.com/ud3323/bpm/wiki/Installing-with-Windows

这篇关于无法使用bpm创建Ember.js应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆