Next.js Discord

Discord Forum

Vercel build error prettier

Unanswered
Odorous house ant posted this in #help-forum
Open in Discord
Odorous house antOP
My build is failing on Vercel (works locally), however it is still deployed silently. So, the deploy is failing with an error message about typing and linting regarding prettier. Note, I do not use prettier in the project.

Failed to compile. Type error: Cannot find type definition file for 'prettier'. The file is in the program because: Entry point for implicit type library 'prettier'  ELIFECYCLE  Command failed with exit code 1.

Even weirder development, is that the deployment changed status after a while to succeded

0 Replies