react-scripts trying to access .steampath
See original GitHub issueDescribe the bug
If some module resolution fails, react-scripts try to stat all files in user’s home directory. if there are some broken link no home folder, development server crashes.
Did you try recovering your dependencies?
Yes.
Which terms did you search for in User Guide?
.steampath
Related, and explained comment: https://github.com/facebook/create-react-app/issues/9156#issuecomment-645512859
Environment
Environment Info:
current version of create-react-app: 3.4.1
running from /home/rolivegab/.npm/_npx/171872/lib/node_modules/create-react-app
System:
OS: Linux 5.8 Fedora 32 (Workstation Edition) 32 (Workstation Edition)
CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
Binaries:
Node: 14.7.0 - ~/.nvm/versions/node/v14.7.0/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.7.0/bin/npm
Browsers:
Chrome: 86.0.4240.75
Firefox: 81.0.1
npmPackages:
react: ^16.14.0 => 16.14.0
react-dom: ^16.14.0 => 16.14.0
react-scripts: 3.4.3 => 3.4.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
-
Since it depends on machine’s having a broken link on home directory, you need to create a broken file there. My .steampath file is just a broken link:
-
npm start
-
force a module resolution failed, or something output:
Expected behavior
react-scripts should not stop development server because a broken link in home directory.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:21
- Comments:16
Top Results From Across the Web
Is react-scripts trying access my .steampath? Why? #9156
But I believe it might be true that some dependency is trying to access .steampath . I can not, however, successfully replicate the...
Read more >Error: ENOENT: no such file or directory, stat ... .steampath
I've found out the solution. This error is just a fancy/convoluted missing dependencies message. If you install all the dependencies the ...
Read more >Javascript – Error: ENOENT: no such file or directory, stat ... - iTecNote
Javascript – Error: ENOENT: no such file or directory, stat … .steampath ... I am trying to start the development server on a...
Read more >Error: Enoent: No Such File Or Directory, Stat ... - ADocLib
i got the problem spawn npm enoent < | NodeBB. How to find the version reactscripts trying to access.steampath createreactapp. MDBPro ...
Read more >Fixing 'react-scripts' is not recognized error - Nathan Sebhastian
How to fix 'react-scripts' is not recognized as an internal or external command error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Today i looked closer at why my react-scripts server is randomly crashing during development (only happens after multiple hours or days) and came across the same issue as op:
It’s easy to fix with a simple restart, but what i don’t understand is: WHY THE HECK IS IT TRYING TO ACCESS MY STEAM STUFF OR STAT-ING MY PRIVATE HOME DIR AT ALL? Does Facebook really need to know what’s in my steam lib or how many hours i’ve killed in Hatoful Boyfriend?
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.