Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Heroku deploy worked, but the web shows only "OhMyForm API endpoint" #154

Closed
dinoue opened this issue Feb 10, 2022 · 2 comments
Closed

Heroku deploy worked, but the web shows only "OhMyForm API endpoint" #154

dinoue opened this issue Feb 10, 2022 · 2 comments

Comments

@dinoue
Copy link

dinoue commented Feb 10, 2022

What's this issue about?

OMF, deployed to Heroku with 1-click button, does not show the screen like I expected.

Actual behavior

Like this.
image

@wodka
Copy link
Contributor

wodka commented Feb 13, 2022

:/ just confirmed the error

Generating map from "./pages"
Error: Image Optimization using Next.js' default loader is not compatible with `next export`.
  Possible solutions:
    - Use `next start` to run a server, which includes the Image Optimization API.
    - Use any provider which supports Image Optimization (like Vercel).
    - Configure a third-party loader in `next.config.js`.
    - Use the `loader` prop for `next/image`.
  Read more: https://nextjs.org/docs/messages/export-image-api
    at /tmp/build_6368a64b/ui/node_modules/next/dist/export/index.js:256:23
    at async Span.traceAsyncFn (/tmp/build_6368a64b/ui/node_modules/next/dist/trace/trace.js:74:20)
error Command failed with exit code 1.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This will need to work around the image loader in nextjs

@wodka
Copy link
Contributor

wodka commented Feb 13, 2022

installing now will fix the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants