Deploy React App with unknown error

Hello!

I have node-sass dependencies inside the react app.
I have tried to adjust the package.json a few times, still get the following error.

ENOENT: no such file or directory, scandir ‘/opt/render/project/src/node_modules/node-sass/vendor’

Deploy type: Static site
Package manager: yarn; yarn build according to other discussion in side the render.

Does anyone know ho to deal with it?

Hi there,

Can you please double-check that you are not committing your node_modules folder to git.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.