cedricdelpoux / react-responsive-masonry

React responsive masonry component built with css flexbox
https://cedricdelpoux.github.io/react-responsive-masonry/
MIT License
377 stars 37 forks source link

ResponsiveMasonry #128

Open SarkorbekA opened 3 months ago

SarkorbekA commented 3 months ago

image i can't understand, what is the problem? image

chintanw3nuts commented 3 months ago

Same here

rusith commented 2 months ago

image

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.

rusith commented 2 months ago

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)

MNITD commented 1 month ago

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",
AndreyMarchuk commented 3 weeks ago

same issue, v2.2.1 works without issues

deskofnia commented 3 weeks ago

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",