-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Description
Hi! ๐
Firstly, thanks for your work on this project! ๐
Today I used patch-package to patch [email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-dev-utils/checkRequiredFiles.js b/node_modules/react-dev-utils/checkRequiredFiles.js
index 9799cf6..3293818 100644
--- a/node_modules/react-dev-utils/checkRequiredFiles.js
+++ b/node_modules/react-dev-utils/checkRequiredFiles.js
@@ -16,7 +16,7 @@ function checkRequiredFiles(files) {
try {
files.forEach(filePath => {
currentFilePath = filePath;
- fs.accessSync(filePath, fs.F_OK);
+ fs.accessSync(filePath, fs.constants.F_OK);
});
return true;
} catch (err) {
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels