Skip to content

Commit 0bf8503

Browse files
docs: explain solutions for Windows maxpath limitation
Fixes #1162
1 parent 63f6586 commit 0bf8503

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/troubleshooting.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ See "I'm not using Compute Engine. What do I need to do?" from the [FAQ](https:/
66

77
Reference Issue: [#261](https://github.com/GoogleCloudPlatform/gcloud-node/issues/261)
88

9+
10+
## The app crashes with an error: "The system cannot find the path specified"
11+
12+
Windows users may face this issue when using npm modules such as `gcloud-node`, see ["Node's nested node_modules approach is basically incompatible with Windows"](https://github.com/nodejs/node-v0.x-archive/issues/6960#issuecomment-46704998). There are 3 solutions you should try:
13+
14+
1. Install npm version 3 or greater, which [dedupes](https://docs.npmjs.com/cli/dedupe) by default
15+
1. Manually run `npm dedupe` from inside your project directory
16+
1. Move your project to the `C:\` directory
17+
18+
Reference Issue: [#1162](https://github.com/GoogleCloudPlatform/gcloud-node/issues/1162)
19+
20+
921
## My requests are returning errors instructing me to retry the request.
1022

1123
If you ever see an error like this, you might be pinging the API too rapidly, hitting a rate limit:

0 commit comments

Comments
 (0)