You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried printing the files/folders after the next build in github actions. I get the following result:
Run ls -a
.
..
.eslintrc.json
.git
.github
.gitignore
.next
README.md
next-env.d.ts
next.config.js
next.config.mjs
node_modules
package-lock.json
package.json
postcss.config.js
public
src
tailwind.config.ts
tsconfig.json```
There is no `/out` folder created, However, when running on my local machine, it works just fine. Can anyone please help me with this?
The text was updated successfully, but these errors were encountered:
@xtanion I solved this problem removing this part:
- name: Setup Pages
uses: actions/configure-pages@v4
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
#
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next
This was injecting wrong parameters for this version of Nextjs:
⚠ Invalid next.config.js options detected:
⚠ Unrecognized key(s) in object: 'images' at "experimental"
But the next.config.mjs must have: output, images and basePath parameters:
Thanks a lot, it is sooooo annoying to have to deal with unsolicited advise from GH with relatively complex workflow with flaws. A bug like a needle in a haystack.
I tried printing the files/folders after the next build in github actions. I get the following result:
The text was updated successfully, but these errors were encountered: