Openlayers Custom build tutorial is crashing -


i working through openlayers custom build tutorial , getting following error

info ol parsing dependencies info ol compiling 345 sources events.js:141   throw er; // unhandled 'error' event   ^  error: spawn java enoent    @ exports._errnoexception (util.js:870:11)    @ process.childprocess._handle.onexit     (internal/child_process.js:178:32)    @ onerrornt (internal/child_process.js:344:16)    @ nexttickcallbackwith2args (node.js:441:9)    @ process._tickcallback (node.js:355:17) exit 1 

when run:

 node tasks/build.js build/ol-custom.json build/ol-custom.js 

googling error gives solution node instance running in background (there isnt)

also tutorial says closure-util should in:

node_modules/openlayers/node_modules 

but in:

node_modules/closure-util 

any idea why happening?

it turns out java wasn't set on path , couldn't build. remember check environment java -version.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -