Build Failure - node-sass Compilation Error with Node v22.13.1 #837
Replies: 8 comments 7 replies
-
We've been trying to set up the finance module locally for the monu-ui, but we're encountering an above error. Looking for your support to solve this issue. Thanks.! |
Beta Was this translation helpful? Give feedback.
-
Hi @rajayush97, To run Citizen App : App will be available at: (http://localhost:3000) To run Employee App : App will be available at: (http://localhost:3006) Update the eg: "proxy": "https://egov-demo-env.org/", based on which app you are running. Use your environment’s backend URL. Note for Windows users : If Let me know if you need help further. |
Beta Was this translation helpful? Give feedback.
-
Hey @rajayush97 , you can paste the below "resolutions": { please remove the yarn.lock file and do then install it again and try to run the project |
Beta Was this translation helpful? Give feedback.
-
Hey @rajayush97 , Update the proxy field in the respective package.json files: eg: "proxy": "https://egov-demo-env.org/", |
Beta Was this translation helpful? Give feedback.
-
Hi @rajayush97, The error you're encountering is due to the MDMS data not being returned correctly. This typically happens when the To resolve this, please update the
Example: REACT_APP_DEFAULT_TENANT_ID=pg Make sure to do the same update for the citizen side as well. Let me know if you face any further issues. |
Beta Was this translation helpful? Give feedback.
-
@rajayush97 have you restarted the local server after changing .env files ? |
Beta Was this translation helpful? Give feedback.
-
Hey @rajayush97,
Could you please try restarting the local development server after
making the changes?
We've already verified the steps, and it's working as expected on our
end. I’ve added all the steps in the comments — please go through them
once again just to be sure nothing was missed.
Let me know if you’re still facing any issues.
…On Sat, Aug 2, 2025 at 2:43 PM rajayush97 ***@***.***> wrote:
Hi @Hari-egov ,
As you guided me i navigate to frontend/mono-ui/web/rainmaker/packages/employee/.env file.,
here i found REACT_APP_DEFAULT_TENANT_ID as REACT_APP_DEFAULT_TENANT_ID=pb
pb
I update that as REACT_APP_DEFAULT_TENANT_ID=pg.
But still the issue is same.
Attaching screenshot.
Screenshot.2025-08-02.at.2.39.05.PM.png (view on web)
Screenshot.2025-08-02.at.2.39.28.PM.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
in case yarn run go failed with any minimatch issue frontend/mono-ui/web/rainmaker/dev-packages/egov-inbox-dev/package.json "resolutions": { |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I'm encountering a build failure while trying to install dependencies for the rainmaker module. The issue appears to be related to node-sass (via node-sass-chokidar) being incompatible with Node.js version v22.13.1.
Here’s a snippet of the error trace:
error /.../node_modules/node-sass-chokidar/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
...
gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
...
gyp ERR! node -v v22.13.1
gyp ERR! node-gyp -v v3.8.0
Beta Was this translation helpful? Give feedback.
All reactions