trying to use node-sqlite-purejs in Cloud9 - getting errors

Typo - fx.exists() should be fs.exists()

BTW, while it works it is slow. For our purposes, letting a single user change a few parameters in our app using a browser, it might be adequate. But if you need to do any heavy duty SQL access, look for one of the compiled extensions. I may be doing that down the road myself.