teddybee
teddybee
As far as I know it is a nextjs 13.x bug. [https://github.com/vercel/next.js/issues/43878](https://github.com/vercel/next.js/issues/43878)
@violetbee Are you using Windows? Could you check if a turbo.exe exists somewhere in your node_modules dir after pnpm i? If not: What kind of antivirus program running on your...
@violetbee That means, the turborepo's exe is moved to quarantine. Try to update your antivirus, remove your node modules and do pnpm i again. This helped for me.
Another solution is to use it in WSL
> Delete your node modules dir and do an npm/yarn install in wsl. And use linux style paths in folder setup (/mnt/d/somedir)
I have similar issues, I cant set the (max) cropSize to the image's size. The image is 1500x1100 px, but when I set the cropSize to that, the light box...
I tried that as well(aspect set to 15/11, container div's aspectRatio as well), not helped. Also, I need to cut the image pixel perfect. The cropSize somewhere around 1340*970 covers...
Do you need a sample app for reproduction?
I think the problem is, there is no possibility to keep the image size the same 1-1px mapping with zoom=1. The image will always squeezed. I have tried without cover...
I got it now, and find logically strange to use the cropSize prop relative to bounding div`s size. It would be better if we can set it eighter in percentage...