Skip to content

Fix: npm run start script on Windows - #4287

Open
ijiki16 wants to merge 1 commit into
ubports:masterfrom
ijiki16:fix/run-start-script-windows
Open

Fix: npm run start script on Windows#4287
ijiki16 wants to merge 1 commit into
ubports:masterfrom
ijiki16:fix/run-start-script-windows

Conversation

@ijiki16

@ijiki16 ijiki16 commented Oct 26, 2025

Copy link
Copy Markdown

This code fixes #4286
I used cross-env lib to run start.sh script witch sets env.
cross-env uses git bash to run shell commands on windows but uses native shell on macOS.

image

Tested works on Windows 10 x64 and on MacOS 15.7.1 ARM64

@ijiki16
ijiki16 force-pushed the fix/run-start-script-windows branch from 903bb99 to d5a793d Compare October 26, 2025 10:43
Comment thread package.json Outdated
@ijiki16
ijiki16 force-pushed the fix/run-start-script-windows branch from d5a793d to 09fc2d6 Compare November 2, 2025 18:43
@ijiki16
ijiki16 requested a review from maciek134 November 3, 2025 20:24
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

Successfully merging this pull request may close these issues.

NPM start: '.' is not recognized as an internal or external command

2 participants