-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add troubleshooting for tutorial with Gatsby
- Loading branch information
1 parent
74b2f70
commit 9b1f842
Showing
6 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Troubleshooting | ||
|
||
Throughout this tutorial, you may come across common errors that have already tricked other FastStore users. This article is intended to help you troubleshoot some of these issues. | ||
|
||
## Part 1: Setting up your development environment | ||
|
||
### Error: command settings not found | ||
|
||
This error occurs because the `settings` plugin from the VTEX IO CLI is not installed. To fix this problem, please run the following command: | ||
|
||
``` | ||
vtex plugins install settings | ||
``` | ||
|
||
![](/img/tutorials/gatsby/settings-notfound.png) | ||
|
||
### Error: App has route conflict | ||
|
||
This error occurs because a version of the app with route conflict is already installed in your VTEX Account. To fix this problem, please use the `--force` flag after the app specification, for example: | ||
|
||
```shell | ||
vtex install vtex.store-sitemap@2.x --force | ||
``` | ||
|
||
![](/img/tutorials/gatsby/route-conflict.png) | ||
|
||
### Error: API 403 Forbidden | ||
|
||
This error occurs because the user trying to set up the `enableOrderFormOptimization` setting doesn't have the necessary [User Role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc?&utm_source=autocomplete) to perform this action. To fix this issue, please ask for a VTEX user with the **Owner (Admin Super)** role to run this command. | ||
|
||
![](/img/tutorials/gatsby/403-api.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.