no-assign-module-variable.mdx
title: No assign module variable
Prevent assignment to the
modulevariable.
Why This Error Occurred
A value is being assigned to the module variable. The module variable is already used and it is highly likely that assigning to this variable will cause errors.
Possible Ways to Fix It
Use a different variable name:
let myModule = {...}
Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.