Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Error while executing "yarn build" #2806

Closed
athmey opened this issue May 28, 2024 · 5 comments
Closed

[Issue]: Error while executing "yarn build" #2806

athmey opened this issue May 28, 2024 · 5 comments

Comments

@athmey
Copy link

athmey commented May 28, 2024

Describe the issue

branch: master
tag: v0.2.27

Building the autogen-studio frondend from src code. Follow the instructions step by step in this page:
https://microsoft.github.io/autogen/blog/2023/12/01/AutoGenStudio

npm install -g gatsby-cli
npm install --global yarn
cd frontend
yarn install
yarn build

after excuting the "yarn build", the error occurs:

"gatsby-plugin-manifest" threw an error while running the onPostBootstrap lifecycle:
Input file contains unsupported image format

Steps to reproduce

npm install -g gatsby-cli
npm install --global yarn
cd frontend
yarn install
yarn build

Screenshots and logs

企业微信截图_20240528112910

Additional Information

OS: Ubuntu 20.04

@lfnovo
Copy link

lfnovo commented Jun 12, 2024

I found a way to work around it. Just replaced the icon.png with another png file.. it was corrupted somehow.

@ghost
Copy link

ghost commented Jun 14, 2024 via email

@icoco
Copy link

icoco commented Jul 3, 2024

the icon.png can not be preview, what is that

@athmey
Copy link
Author

athmey commented Jul 23, 2024

I found a way to work around it. Just replaced the icon.png with another png file.. it was corrupted somehow.

Great!it works. Thank you so much. For whom encoutering the same issue, just replace the icon.png in "frontend" dir using the attached image.
icon

@athmey athmey closed this as completed Jul 23, 2024
@jems-lee
Copy link

jems-lee commented Aug 6, 2024

I ran into this exact same issue on the main and autogenstudio branches. Replacing icon.png with random png allowed the build to succeed. Would this merit a PR for a permanent fix?

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

No branches or pull requests

4 participants