From 4c3a349641860a48cef0e9fa9fb69c564e6c82d7 Mon Sep 17 00:00:00 2001 From: "netlify[bot]" Date: Tue, 26 May 2026 08:42:58 +0000 Subject: [PATCH] Netlify deploy error due to permission issue with react-scripts (6a155bac9bd7dd33a8a53dce) --- frontend/.gitignore | 7 +++++++ frontend/package.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 frontend/.gitignore diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 00000000..bc67f550 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,7 @@ +node_modules/ +build/ +dist/ +.eslintcache +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/frontend/package.json b/frontend/package.json index 2f285e2b..94fd44d3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,8 +10,9 @@ "papaparse": "^5.4.1" }, "scripts": { + "postinstall": "chmod +x ./node_modules/.bin/react-scripts || true", "start": "react-scripts start", - "build": "react-scripts build" + "build": "node ./node_modules/react-scripts/bin/react-scripts.js build" }, "proxy": "http://localhost:5000", "browserslist": {