Commit ce4d91d5 authored by Eric Eastwood's avatar Eric Eastwood

Move npm troubleshooting to developer FAQ

Now that https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1724 is merged
we should run a lot less into this problem. Moving it off the main README.md to
the developer FAQ
parent 4568bfd6
Pipeline #109446719 passed with stages
in 38 minutes and 11 seconds
......@@ -42,22 +42,7 @@ Follow these instructions to setup an environment to hack on Gitter.
1. Run `npm install`
* Go and make a cup of tea, because this will take a rather long time.
### Troubleshooting
#### `npm ERR! Maximum call stack size exceeded`
If you are running into `npm ERR! Maximum call stack size exceeded`
```bash
# Remove nested `node_modules` directories
$ find . -name "node_modules" -exec rm -rf '{}' +
# Remove nested `package-lock.json`
$ find . -name "package-lock.json" -exec rm -rf '{}' +
# Try installing again
$ npm install
```
## Starting Gitter
......
......@@ -170,6 +170,25 @@ Once you are sure the above is done, preform the following:
3. `make sprites`
4. Commit your changes and release!
## Troubleshooting
### `npm ERR! Maximum call stack size exceeded`
If you are running into `npm ERR! Maximum call stack size exceeded`
```bash
# Remove nested `node_modules` directories
$ find . -name "node_modules" -exec rm -rf '{}' +
# Remove nested `package-lock.json`
$ find . -name "package-lock.json" -exec rm -rf '{}' +
# Try installing again
$ npm install
```
## Miscellaneous tips & tricks
- You can access the homepage even when signed in by using the `?redirect=no` query - https://gitter.im/?redirect=no (http://localhost:5000/?redirect=no)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment