Add node dependencies
Fixed SQL error