Repository: create-react-app
Issue: Create-react-app does not work with USB drive
Labels: needs triage,issue: bug report

### Describe the bug

When I run: 'create-react-app test-app --verbose'. I get the following message:

npm verb stack RangeError: Maximum call stack size exceeded
npm verb stack     at RegExp.test (<anonymous>)
npm verb stack     at isDepOptional (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:432:45)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:441:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)

At first, I thought there was an issue with node configuration. So I re-installed node and verfied the environment variables were correct. I thought that packages were the issue, so I tried to update the packages. Since those changes didn't work and I couldn't find any reasonable solution. I tried using my 2nd internal HD. Using the same command on a separate drive worked! HUH? 
Is there some restriction on USB drives or exFAT file systems that I don't know about

Here is my system configuration:

I'm using a Windows 10 system using Intel Core i7-8700 with 16GB of RAM
with 2 internal HDs (system drive has 33 GB of free space while the secondary drive has 922 GB of free space) and 
1 external USB HD (3.16 TB of free space)

The internal HDs use NTFS as the file system while the external drive uses exFAT as the file system.

There are other message I took note of.

When I run the script on the external drive I see the following messages

npm verb correctMkdir C:\Users\shawn\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm verb makeCacheDir UID & GID are irrelevant on win32
npm verb lock using C:\Users\shawn\AppData\Roaming\npm-cache\_locks\staging-48c89677c95d5780.lock for E:\Source\Workspace\react\test-app\node_modules\.staging
npm timing audit submit Completed in 6012ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 6013ms
npm timing audit body Completed in 1ms
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime
npm WARN tar EINVAL: invalid argument, futime

this does not happen when the run the script on the internal drive

### Environment

Node configuration
Node was installed on the primary drive using 

node v12.19.0
npm v6.14.8

### Steps to reproduce

1. npm install -g create-react-app
2. Change to the workspace directory: cwd 'E:\Source\workspace\react'
3. Execute script: 'create-react-app'

### Expected behavior

I thought that regardless of the drive I'm using that the build would create the project structure

### Actual behavior

Build failed

npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

npm verb stack RangeError: Maximum call stack size exceeded
npm verb stack     at RegExp.test (<anonymous>)
npm verb stack     at isDepOptional (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:432:45)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:441:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb stack     at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
npm verb cwd E:\Source\Workspace\react\test-app
npm verb Windows_NT 10.0.18363
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts" "cra-template" "--verbose"
npm verb node v12.19.0
npm verb npm  v6.14.8
npm ERR! Maximum call stack size exceeded
npm verb exit [ 1, true ]
npm timing npm Completed in 1148410ms

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\shawn\AppData\Roaming\npm-cache\_logs\2020-10-14T14_50_21_097Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template --verbose has failed.

Deleting generated file... package.json
Deleting generated file... node_modules
Deleting test-app/ from E:\Source\Workspace\react
Done.