Open SarkorbekA opened 3 months ago
Same here
This happens because using defineProperty with only a getter makes it immutable. I think this is an issue with the build system.
I tried to build the code using v21.7.1 and it produces a different output. I am not sure which version the code authors used.
I had to build it myself using the latest node version. hope this gets fixed soon (build using a latest node version import from the lib folder)
My team had this issue after regenerating the package-lock.json
file during updating unrelated dependency
Our workaround is to downgrade to v2.2.0 and make it strict in package.json
terminal:
npm i react-responsive-masonry@2.2.0
package.json:
- "react-responsive-masonry": "^2.2.0",
+ "react-responsive-masonry": "2.2.0",
same issue, v2.2.1 works without issues
After running this command on node version v20.18.0 solved the issue in my case
npm i react-responsive-masonry@2.2.0
my next version is
"next": "13.4.7",
i can't understand, what is the problem?