From b9f55dc1f649b8721e7a4d4567d1fed65227c385 Mon Sep 17 00:00:00 2001 From: Daniel Stanton Date: Wed, 1 Jun 2016 12:45:08 +0100 Subject: [PATCH] Added troubleshooting section to Readme Closes #92 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 39de087..6e73fc7 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,16 @@ If `vm_config.yml` is not present when you first run `vagrant up`, it will be au See the [working on Ghost core](https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md#core) section of the Ghost [contributing guide](https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md). +## Troubleshooting + +If `grunt init` failes due to an `npm` error `EEXIST` regarding a `.lock` file, try: + +``` +rm -rf core/client/node_modules +npm cache clear +grunt init +``` + ## Copyright & License Copyright (c) 2013-2016 Ghost Foundation - Released under the [MIT license](LICENSE).