Open amanape opened 2 weeks ago
OpenHands started fixing the issue! You can monitor the progress here.
A potential fix has been generated and a draft PR #4467 has been created. Please review the changes.
Is this still open? If not, I'd like to take this up
@amanape how does the OpenHands PR look? Are you going to work off of that or should sikehish take a look at this issue?
@sikehish Feel free to do so! You can look into #4467 as reference. It already solves the issue but introduces some other problems
Our current
npm
scripts for development (dev
anddev:mock
) are written in a way that works on Unix-like shells but may not work on Windows PowerShell due to differences in how environment variables are set.The issue arises from setting environment variables inline (e.g.,
VITE_MOCK_API=false
), which isn't compatible with PowerShell.SUGGESTED FIX: Use the cross-env package to ensure that environment variables are set in a way that's compatible across all platforms.
Originally posted by @danicruz0415 in https://github.com/All-Hands-AI/OpenHands/issues/4397#issuecomment-2421181635