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

from AutoGen studio run yarn install wrong #5115

Open
Shouone opened this issue Jan 20, 2025 · 1 comment
Open

from AutoGen studio run yarn install wrong #5115

Shouone opened this issue Jan 20, 2025 · 1 comment
Labels
awaiting-op-response Issue or pr has been triaged or responded to and is now awaiting a reply from the original poster proj-studio Related to AutoGen Studio.

Comments

@Shouone
Copy link

Shouone commented Jan 20, 2025

What happened?

I want to start the source code of AutoGen Studio, but when I run yarn install, it reports an error. The error message is:
error D:\mys\mytest\autogen-main\autogen-main\python\packages\autogen-studio\frontend\node_modules\sharp: Command failed.
Exit code: 1
Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
Arguments:
Directory: D:\mys\mytest\autogen-main\autogen-main\python\packages\autogen-studio\frontend\node_modules\sharp
Output:

What did you expect to happen?

can yarn install success

How can we reproduce it (as minimally and precisely as possible)?

i node version is v18.20.5; npm version is 10.8.2; yarn version is 1.22.22

AutoGen version

main

Which package was this bug in

AutoGen Studio

Model used

No response

Python version

3.10.0

Operating system

No response

Any additional info you think would be helpful for fixing this bug

No response

@victordibia
Copy link
Collaborator

victordibia commented Jan 20, 2025

The error above indicates an issue with your installation of dependencies - specifically sharp seems to not be correctly installed on your windows machine.

Can you follow the guide here to install Gatsby on windows? https://www.gatsbyjs.com/docs/how-to/local-development/gatsby-on-windows/

Alternatively, I would recommend you create a linux WSL instance and use that for dev work on the AGS source code.

@victordibia victordibia added proj-studio Related to AutoGen Studio. awaiting-op-response Issue or pr has been triaged or responded to and is now awaiting a reply from the original poster and removed needs-triage labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-op-response Issue or pr has been triaged or responded to and is now awaiting a reply from the original poster proj-studio Related to AutoGen Studio.
Projects
None yet
Development

No branches or pull requests

2 participants