Add troubleshooting doc (#1852)

* - add troubleshooting doc

* fix duplicate
This commit is contained in:
brendanlaschke 2023-10-04 15:07:02 +02:00 committed by GitHub
parent 56eea72110
commit 59a7e7ead3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
---
sidebar_position: 2
sidebar_custom_props:
icon: TbExclamationCircle
---
# Troubleshooting
## Windows setup eslint prettier error: `CR` line breaks found
This is due to the linebreak characters of windows and the git configuration. Try running:
```
git config --global core.autocrlf false
```
Then delete the repository and clone it again.
## Yarn lock file changed and new files are created (`yarn.lock`, `.yarnrc.yml`, `.yarn`)
Maybe you are using yarn 3? Try installing [yarn classic](https://classic.yarnpkg.com/lang/en/)!

View File

@ -12,6 +12,7 @@ export {
TbChecklist,
TbCloud,
TbDeviceDesktop,
TbExclamationCircle,
TbEyeglass,
TbFaceIdError,
TbFolder,