From 59a7e7ead3d2dfd9b0eca0af0f4ad426daa3574c Mon Sep 17 00:00:00 2001 From: brendanlaschke Date: Wed, 4 Oct 2023 15:07:02 +0200 Subject: [PATCH] Add troubleshooting doc (#1852) * - add troubleshooting doc * fix duplicate --- .../developer/additional/troubleshooting.mdx | 22 +++++++++++++++++++ docs/src/theme/icons.js | 1 + 2 files changed, 23 insertions(+) create mode 100644 docs/docs/developer/additional/troubleshooting.mdx diff --git a/docs/docs/developer/additional/troubleshooting.mdx b/docs/docs/developer/additional/troubleshooting.mdx new file mode 100644 index 0000000000..1a4d215689 --- /dev/null +++ b/docs/docs/developer/additional/troubleshooting.mdx @@ -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/)! diff --git a/docs/src/theme/icons.js b/docs/src/theme/icons.js index fcfbf6e81c..aafac9bf96 100644 --- a/docs/src/theme/icons.js +++ b/docs/src/theme/icons.js @@ -12,6 +12,7 @@ export { TbChecklist, TbCloud, TbDeviceDesktop, + TbExclamationCircle, TbEyeglass, TbFaceIdError, TbFolder,