Skip to content

Instantly share code, notes, and snippets.

@jschilli
Created September 9, 2011 01:01
Show Gist options
  • Save jschilli/1205228 to your computer and use it in GitHub Desktop.
Save jschilli/1205228 to your computer and use it in GitHub Desktop.
bpm error on windows
C:/Users/Jeff/AppData/Local/Temp/execjs20110908-4612-eywkxz.js(6,5) : error JS1135: Variable 'result' has not been declared
C:/Users/Jeff/AppData/Local/Temp/execjs20110908-4612-eywkxz.js(11,15) : error JS1135: Variable 'JSON' has not been declared
(in C:/Users/Jeff/.bpm/gems/uglify-js-1.0.7/lib/parse-js.js)
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.2.4/lib/execjs/external_runtime.rb:25:in `block in exec'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.2.4/lib/execjs/external_runtime.rb:38:in `compile_to_tempfile'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.2.4/lib/execjs/external_runtime.rb:24:in `exec'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/execjs-1.2.4/lib/execjs/external_runtime.rb:17:in `eval'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/plugin_processor.rb:61:in `evaluate'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/context.rb:175:in `block in evaluate'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/context.rb:172:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/context.rb:172:in `evaluate'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:171:in `build_dependency_con
text_and_body'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:135:in `dependency_context'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_p
aths_and_assets'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:81:in `to_a'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:239:in `block in build_sourc
e'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:235:in `build_source'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:153:in `find_asset'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/base.rb:110:in `[]'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:200:in `block in build_depen
dencies_paths_and_assets'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:194:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_p
aths_and_assets'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:81:in `to_a'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:239:in `block in build_sourc
e'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:235:in `build_source'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/generated_asset.rb:108:in `build_source'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/bundled_asset.rb:93:in `to_s'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:190:in `build_plugin_js'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:146:in `plugin_js_for'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/generated_asset.rb:73:in `minify_body'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/generated_asset.rb:120:in `block in minify'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sprockets-2.0.0/lib/sprockets/caching.rb:23:in `cache_hash'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/generated_asset.rb:119:in `minify'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline/generated_asset.rb:108:in `build_source'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:153:in `find_asset'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:142:in `block in buildable_assets'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:142:in `map'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/pipeline.rb:142:in `buildable_assets'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/project.rb:301:in `build'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/cli/base.rb:350:in `run_init'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/cli/base.rb:269:in `block in init'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/cli/base.rb:251:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/cli/base.rb:251:in `init'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/cli/base.rb:25:in `start'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/bin/bpm:8:in `<top (required)>'
from C:/Ruby192/bin/bpm:19:in `load'
from C:/Ruby192/bin/bpm:19:in `<main>'
C:\temp>gem list
*** LOCAL GEMS ***
bpm (1.0.0.rc.1, 1.0.0.beta.14)
bundler (1.0.18)
execjs (1.2.4)
gemcutter (0.6.1)
highline (1.6.2)
hike (1.2.1)
json_pure (1.4.6)
libgems (0.1.3, 0.1.2)
minitest (2.5.1, 1.6.0)
multi_json (1.0.3)
rack (1.3.2)
rake (0.9.2, 0.8.7)
rdoc (3.9.4, 2.5.8)
sass (3.1.7)
sprockets (2.0.0, 2.0.0.beta.15)
thor (0.14.6)
tilt (1.3.3)
C:\temp>bpm list
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/libgems_ext/config_file.rb:9: warning: already initialized consta
nt CSIDL_COMMON_APPDATA
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/libgems_ext/config_file.rb:12: warning: already initialized const
ant SHGetFolderPath
You do not appear to be inside of a bpm project
C:\temp>cd myapp2
C:\temp\myapp2>bpm list
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/libgems_ext/config_file.rb:9: warning: already initialized consta
nt CSIDL_COMMON_APPDATA
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bpm-1.0.0.rc.1/lib/bpm/libgems_ext/config_file.rb:12: warning: already initialized const
ant SHGetFolderPath
C:\temp\myapp2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment