bpm/bpm — Issue #93: No such file or directory -  C:/Program Files  (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-1.2.4/lib/execjs/support/whic h.bat nodejs
Author: lhwong
Created: 2012-01-01 07:05:23+00:00
State: open

I got the following error when running "bpm init hello_world"

My system details:
bpm version 1.0.0
OS: Windows 7

C:\Users\lhwong\Desktop\Zilant Health Server\hello_world>bpm init hello_world
C:/Program Files (x86)/BPM/local/bpm/lib/bpm/libgems_ext/config_file.rb:9: warni
ng: already initialized constant CSIDL_COMMON_APPDATA
C:/Program Files (x86)/BPM/local/bpm/lib/bpm/libgems_ext/config_file.rb:12: warn
ing: already initialized constant SHGetFolderPath
create lib
create LICENSE
create README.md
create index.html
create lib/main.js
create css/main.css
create hello_world.json
Building static assets...
~ Using fetched package 'uglify-js' (1.0.7)
~ Using fetched package 'spade' (1.0.2)
Unfortunately, a fatal error has occurred. Please report this error to the BPM i
ssue tracker at https://github.com/bpm/bpm/issues so that we can fix it. Thanks!

C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-1.2.4/lib/exe
cjs/external_runtime.rb:146:in ``': No such file or directory - C:/Program Files
(x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-1.2.4/lib/execjs/support/whic
h.bat nodejs (Errno::ENOENT)
(in C:/Users/lhwong/.bpm/gems/uglify-js-1.0.7/lib/parse-js.js)
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/external_runtime.rb:146:in `block in which'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/external_runtime.rb:143:in `each'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/external_runtime.rb:143:in `which'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/external_runtime.rb:132:in `locate_binary'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/external_runtime.rb:94:in `initialize'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/runtimes.rb:18:in `new'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/runtimes.rb:18:in `'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/runtimes.rb:9:in `'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs/runtimes.rb:8:in `'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/libgems
-0.1.3/lib/libgems/custom_require.rb:42:in `require'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/execjs-
1.2.4/lib/execjs.rb:2:in `'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/libgems
-0.1.3/lib/libgems/custom_require.rb:42:in `require'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/execjs_ext.rb:1:in `'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/ruby/lib/ruby/site_ruby/1.9.1/rubygems/c
ustom_require.rb:36:in `require'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/libgems
-0.1.3/lib/libgems/custom_require.rb:42:in `require'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm.rb:31:in `compile_js'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/plugin_proces
sor.rb:60:in `evaluate'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/tilt-1.
3.3/lib/tilt/template.rb:76:in `render'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/context.rb:175:in `block in evaluate'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/context.rb:172:in `each'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/context.rb:172:in `evaluate'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:171:in `build_dependency_context_and_bod
y'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:135:in `dependency_context'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_paths_and_ass
ets'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:81:in `to_a'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:239:in `block in build_source'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:235:in `build_source'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:153:in `fi
nd_asset'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/base.rb:110:in `[]'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:200:in `block in build_dependencies_path
s_and_assets'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:194:in `each'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_paths_and_ass
ets'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:81:in `to_a'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:239:in `block in build_source'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:235:in `build_source'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/generated_ass
et.rb:108:in `build_source'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/bundled_asset.rb:93:in `to_s'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:196:in `bu
ild_plugin_js'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:146:in `pl
ugin_js_for'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/generated_ass
et.rb:73:in `minify_body'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/generated_ass
et.rb:120:in `block in minify'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/sprocke
ts-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/generated_ass
et.rb:119:in `minify'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline/generated_ass
et.rb:108:in `build_source'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:153:in `fi
nd_asset'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:142:in `bl
ock in buildable_assets'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:142:in `ma
p'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/pipeline.rb:142:in `bu
ildable_assets'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/project.rb:297:in `bui
ld'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/cli/base.rb:503:in `ru
n_init'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/cli/base.rb:400:in `bl
ock in init'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/cli/base.rb:382:in `ea
ch'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/cli/base.rb:382:in `in
it'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/thor-0.
14.6/lib/thor/task.rb:22:in `run'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/thor-0.
14.6/lib/thor/invocation.rb:118:in `invoke_task'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/thor-0.
14.6/lib/thor.rb:263:in `dispatch'
from C:/Program Files (x86)/BPM/local/bpm/bundle/ruby/1.9.1/gems/thor-0.
14.6/lib/thor/base.rb:389:in `start'
from C:/Program Files (x86)/BPM/local/bpm/lib/bpm/cli/base.rb:59:in `sta
rt'
from C:/Program Files (x86)/BPM/bin/bpm:8:in `

'