-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is react-scripts trying access my .steampath? Why? #9156
Is react-scripts trying access my .steampath? Why? #9156
Comments
I wonder if you have a |
That does not seem to be the case. But I believe it might be true that some dependency is trying to access Could running node in a docker container help avoid those situations? |
I also had this issue today, it surfaced when one of my JS imports was not installed (redux). Adding the dependency fixed the issue. When the dependency was absent from the Incidentally, on my machine the file |
@Rawieo I think @cullenr has it right, .steampath is a broken symlink.
Yes, this is how Node module resolution algorithm works. It backs off folders until it finds the module and then fails (we warn about this with the core CRA modules too). Closing this as answered, but feel free to ask any other questions too :) Now that I looked it closer (the .steampath threw me off the loop :)), the other issue is that you should be using the named export from ReactSVG instead of the default one - import ReactSVG from 'react-svg';
+ import { ReactSVG } from 'react-svg'; |
I sure am not comfortable with it even leaving project directory, let alone Running the project inside docker container could help (at least hypothetically) avoid security risks, right? |
react-scripts
version is3.4.1
The text was updated successfully, but these errors were encountered: