Hello,
Yesterday I deployed my Next.js website without any problem. Today, exactly the same build, is giving me an error. Since it’s the same build, it must be a Vercel problem.
The log is:
Failed to compile.
./app/lexical/nodes/image-node.tsx
143:16 Error: Do not use isMounted react/no-is-mounted
148:12 Error: Do not use isMounted react/no-is-mounted
159:22 Error: Do not use isMounted react/no-is-mounted
165:22 Error: Do not use isMounted react/no-is-mounted
202:20 Error: Do not use isMounted react/no-is-mounted
Well, I don’t have in isMounted
in that file or in any lexical
node_modules, so I don’t understand why is throwing that error, but again, I say that the same build it was working perfectly yesterday.
Using the linter in the local environment doesn’t throw any error, and also I’ve checked that the Node version is correct, so I don’t have any clue of what can be the problem.
Regards.
PS: I’ve skipped this issue disabling the rule in .eslintrc
but, something in Vercel must have change, I think.