You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installation.mdx
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -123,18 +123,23 @@ If you use JetBrains, we recommend the [MDX IntelliJ IDEA plugin](https://plugin
123
123
3. Reinstall the mint CLI: `npm install -g mint`
124
124
</Accordion>
125
125
<Accordiontitle="Issue: Encountering an unknown error">
126
-
Solution: Go to the root of your device and delete the `~/.mintlify` folder. Afterwards, run `mint dev` again.
126
+
**Solution**: Go to the root of your device and delete the `~/.mintlify` folder. Afterwards, run `mint dev` again.
127
127
</Accordion>
128
128
<Accordiontitle="Error: permission denied">
129
129
This is due to not having the required permissions to globally install node packages.
130
-
Solution: Try running `sudo npm i -g mint`. You will be prompted for your password, which is the one you use to unlock your computer.
130
+
131
+
**Solution**: Try running `sudo npm i -g mint`. You will be prompted for your password, which is the one you use to unlock your computer.
131
132
</Accordion>
132
133
<Accordiontitle="The local preview doesn't look the same as my docs do on the web">
133
-
Likely this is due to an outdated version of the CLI.
134
-
Solution: Run `mint update` to get the latest changes.
134
+
This is likely due to an outdated version of the CLI.
135
+
136
+
**Solution:** Run `mint update` to get the latest changes.
135
137
</Accordion>
136
138
<Accordiontitle="mintlify vs. mint package">
137
-
When having any problems with the CLI package, the first thing we'll ask you to do when troubleshooting is paste the output of `npm ls -g`, which shows what packages are globally installed on your machine. You may see that you have a package named "mint" and a package named "mintlify" installed. It will be less confusing to have only one of them installed.
139
+
If you have any problems with the CLI package, you should first run `npm ls -g`. This command shows what packages are globally installed on your machine.
140
+
141
+
If you have a package named `mint` and a package named `mintlify` installed, you should uninstall `mintlify`.
0 commit comments