diff --git a/packages/twenty-docs/docs/start/local-setup/troubleshooting.mdx b/packages/twenty-docs/docs/start/local-setup/troubleshooting.mdx index a11133fd9..3a0fb1b25 100644 --- a/packages/twenty-docs/docs/start/local-setup/troubleshooting.mdx +++ b/packages/twenty-docs/docs/start/local-setup/troubleshooting.mdx @@ -6,21 +6,16 @@ sidebar_custom_props: icon: TbExclamationCircle --- - ## CR line breaks found [Windows] This is due to the line break characters of Windows and the git configuration. Try running: + ``` git config --global core.autocrlf false ``` Then delete the repository and clone it again. -## Extra yarn files - -If you have extra files created by yarn (`yarn.lock`, `.yarnrc.yml`, `.yarn`), you may have a yarn version issue. -Try installing [yarn classic](https://classic.yarnpkg.com/lang/en/)! - ## Missing metadata schema During Twenty installation, you need to provision your postgres database with the right schemas, extensions, and users. @@ -28,3 +23,17 @@ This documentation includes [different ways](/start/local-setup/yarn-setup#step- If you're successful in running this provisioning, you should have `default` and `metadata` schemas in your database. If you don't, make sure you don't have more than one postgres instance running on your computer. + +## Missing twenty-x package + +Make sure to run yarn in the root directory and then run `yarn nx server:dev twenty-server`. If this still doesn't work try building the missing package manually. + +## Lint on Save not working + +This should work out of the box with the eslint extension installed. If this doens't work try adding this to your vscode setting (on the dev container scope): + +``` +"editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" +} +```