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

[BUG] Fix local development windows environment #1738

Open
DarianM opened this issue Oct 15, 2024 · 0 comments · May be fixed by #1743
Open

[BUG] Fix local development windows environment #1738

DarianM opened this issue Oct 15, 2024 · 0 comments · May be fixed by #1743
Assignees
Labels
bug Something isn't working triage Waiting to be assigned labels

Comments

@DarianM
Copy link

DarianM commented Oct 15, 2024

Steps to reproduce

Run the script on a Windows machine:
pnpm dev

Expected result

For the concurrently package issue: The pnpm dev command should execute on Windows the same way it does on macOS/Linux

For the testnet wallet:frontend script issue: For the wallet frontend dev command should start nextjs in development mode, but does not recognize the PORT=4003 environment variable on Windows.

Actual result

  • concurrently issue: The pnpm devcommand fails on Windows due to single quotes (') being unrecognized, causing syntax errors and pnpm to not be recognized as command.
  • env variable issue for testnet wallet frontend: On Windows, the command fails with the error:

'PORT' is not recognized as an internal or external command, operable program or batch file.

and fails to open the localhost:4003 for the testnet frontend wallet

Screenshots or videos

pnpm dev command
Screenshot 2024-10-15 181757

testnet wallet frontend
Screenshot 2024-10-15 181407

Additional context

These issues occur specifically on Windows, where syntax differences for setting environment variables and handling quotes in shell scripts differ from systems like macOS and Linux.

Operating system

Windows

Operating system version

No response

Browsers

Firefox

Browser version

No response

@DarianM DarianM added bug Something isn't working triage Waiting to be assigned labels labels Oct 15, 2024
@DarianM DarianM self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Waiting to be assigned labels
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant