Next.js Discord

Discord Forum

Build Issue 16.1.1

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
Does anyone know why after updating NextJS, the version from 16.0.10 to 16.1.1 is generating a node_modules inside the .next folder? Is there a way to prevent that from causing me build issues on aws amplify

2 Replies

Acacia-ants
try --webpack flag, maybe it will help
@Acacia-ants try `--webpack` flag, maybe it will help
Spectacled bearOP
Work thanks!