diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ebd247e..cd2d27c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,6 +128,8 @@ To run migrations: `node_modules/.bin/typeorm migration:run -c ` This is also pre-defined in the npm script `typeorm:migrate`. +For now you need to `npm rebuild` better-sqlite3 for your local node version to run these since there is no easy way to make them work inside electron. Don't forget to run `npm run rebuild` after to rebuild for electron again. + ### Formatting and Linters This project uses [Prettier](https://prettier.io/) for code formatting (and an [.editorconfig](.editorconfig) which you should respect). [ESLint](https://eslint.org/) is used for linting.\