Deployment failed today, yesterday was okay "Error: Do not use isMounted"

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.

Hi, @angel-luis!

That is odd - thanks for reporting! Are you still seeing this same issue with new deployments?

After skipping that rule no, but the linter is very sensitive with the Facebook lexical library, it catches more errors with this specific library that my local Eslint.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.