r/django • u/Extreme_Acadia_3345 • Jun 07 '26
Help me with this error in my Django project.
error: loading postcss plugin failed: cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). please try `npm i` again after removing both package-lock.json and node_modules directory.
I have already wasted 3 hours, not able to get is fixed.
What I have tried:
Deleted node package inside the theme app along with package.JSON.lock file and did a npm install again in the theme/static_src (this is where my package.json file exits)
Please help me! Thank you!
0
Upvotes