Yesterday I reported an issue to Blaast developer support forum. Before you continue to read, I have to tell you the issue I write on this blog post is already fixed by the Blaast engineer, so on this post you will only read my own documentations of the issue and the work-around I have done to solve the issue.
What is the issue
Basically, I have an installation issue. Yesterday I tried to install the Blaast SDK (release of August 26th 2011) but failed. Why failed? Okay, let me explain what I did yesterday. What I did yesterday is doing fresh installation, which means I deleted the old Blaast SDK directory and replaced it with the newest one. Sadly, the installation process is failed and is the installation log message I got when the installation failed:
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/opt/blaast-sdk/runtime/bootstrap.js'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at Array. (module.js:423:10)
at EventEmitter._tickCallback (node.js:126:26)
Work-around for the issue
It looks like the bootstrap.js module was not there. So, the work-around just copy the bootstrap.js module from the source of previous Blaast SDK to the newest one. This module must be located at the BLAAST_SDK_DIR/runtime/. I think if I did not delete the old Blaast SDK directory it will works fine, because the bootstrap.js module will still be there.
My development environment
Okay, that’s it and by the way here is the information of my dev environment:
- Ubuntu Linux 10.04 LTS
- JDK 6 Update 25
Further reading
If you want to read the complete discussion of the issue please have a read here:
Failed to install Blaast SDK on Ubuntu Linux. Cannot find module ‘/opt/blaast-sdk/runtime/bootstrap.js’