Skip to content

Commit

Permalink
Merge pull request #6435 from wso2/pavinduLakshan-patch-9
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan authored Jun 11, 2024
2 parents d02118c + 72dbddc commit 548bc0b
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,38 @@ Look through here if you come across any issue.

✨ If your issues isn't here and you were able to figure a solution, please consider contribute to the guide.

* [Changesets](#changesets)
* [Node](#node)
* [Dev Server Failures](#dev-server-failures)
* [File watchers exceed error](#file-watchers-exceed-error)
* [Package Install Failures](#package-install-failures)
* [Global npm package install errors on Mac System](#global-npm-package-install-errors-on-mac-ystem)
* [Global npm package install errors on Mac System](#global-npm-package-install-errors-on-mac-system)
* [Maven](#maven)
* [Build Failures](#build-failures)

## Changesets

### Failed to find where HEAD diverged from master

You may sometimes see the following error when trying to generate changeset on your feature branch.

```
❯ pnpm changeset
🦋 error Error: Failed to find where HEAD diverged from master. Does master exist?
```

**How to fix:**

1. First you need to checkout to master branch.
`git checkout master`

2. Then get the latest changes from upstream.
`git pull upstream master`

3. Rebase the feature branch on master branch, and try generating changesets again.
`git checkout <your_feature_branch>`
`git rebase master`

## Node

### Dev Server Failures
Expand Down

0 comments on commit 548bc0b

Please sign in to comment.