Add node_modules dep
Fix deps
First arg is error
Fix foreign key constraint