"file is encrypted or is not a database" using node js sqlite3 package with SQLCipher

Hello Stephen, I am using sqlite3 package. In its documentation I found about SQLCipher. So as you have described the process I followed the same. And finally I got a encrypted database. But when I use it in my nodejs project with this lines for connection:
var db = new sqlite3.Database(‘path/to/database’);
It is showing connection done but they shows error that file is encrypted or is not a database. I cannot found any solution for that after searching a lot. Anything you can suggest? Please help me regarding this.