Process failed with error: Error: Public folder assets must be nested in public/assets folder
iamvade opened this issue · comments
Use case:
NextJS 13 blank project
standalone and compress options on next.config.js added
"Process failed with error: Error: Public folder assets must be nested in public/assets folder"
Getting error above when run "npx --package @sladg/nextjs-lambda cli pack" command.
You need to create assets folder directly in the public folder and move all content of the public folder into it.
In Readme file you can find what's the reason behind it.
Exactly as @davulrich stated.