Skip to content

Commit f847584

Browse files
evanstrevor-scheer
authored andcommitted
add note to use npm run clean to troubleshoot (#1073)
1 parent c1599de commit f847584

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

packages/apollo/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ ARGUMENTS
9696
OUTPUT
9797
Directory to which generated files will be written.
9898
- For TypeScript/Flow generators, this specifies a directory relative to each source file by default.
99-
- For TypeScript/Flow generators with the "outputFlat" flag is set, and for the Swift generator, this specifies a
99+
- For TypeScript/Flow generators with the "outputFlat" flag is set, and for the Swift generator, this specifies a
100100
file or directory (absolute or relative to the current working directory) to which:
101101
- a file will be written for each query (if "output" is a directory)
102102
- all generated types will be written
103-
- For all other types, this defines a file (absolute or relative to the current working directory) to which all
103+
- For all other types, this defines a file (absolute or relative to the current working directory) to which all
104104
generated types are written.
105105
106106
OPTIONS
@@ -308,15 +308,15 @@ DESCRIPTION
308308
309309
Installation of a user-installed plugin will override a core plugin.
310310
311-
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
312-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
311+
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
312+
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
313313
the CLI without the need to patch and update the whole CLI.
314314
315315
ALIASES
316316
$ apollo plugins:add
317317
318318
EXAMPLES
319-
$ apollo plugins:install myplugin
319+
$ apollo plugins:install myplugin
320320
$ apollo plugins:install https://github.com/someuser/someplugin
321321
$ apollo plugins:install someuser/someplugin
322322
```
@@ -341,7 +341,7 @@ OPTIONS
341341
DESCRIPTION
342342
Installation of a linked plugin will override a user-installed or core plugin.
343343
344-
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
344+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
345345
command will override the user-installed or core plugin implementation. This is useful for development work.
346346
347347
EXAMPLE
@@ -612,6 +612,8 @@ npm test
612612
613613
You can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).
614614
615+
> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around
616+
615617
## Nock tests
616618
617619
To display the debugging messages for nock, run the following command:

0 commit comments

Comments
 (0)