i am trying to deploy a nextjs website
but it fails when it reach the step of installing netlify next js pluging
saying that the publish folder is wrong.
the error is (Error: The directory “out” does not contain a Next.js production build. Perhaps the build command was not run, or you specified the wrong publish directory.
Your publish directory is set to “out”, but in most cases it should be “.next”.)
it says that the publish folder should be .next not out
but i already doing that
i tired clearing cashe and deplying but still not working
its like its not reading my deploy settings but rather using some default settings
thank you for your help in advance