mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #81] [CLOSED] fix(deploy): run wrangler via node instead of shell wrapper #291
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/81
Author: @gembleman
Created: 2/25/2026
Status: ❌ Closed
Base:
main← Head:fix/deploy-windows-wrangler📝 Commits (3)
435a8c1fix(deploy): run wrangler via node instead of shell wrapper6f06e56fix(deploy): add exit code check after spawnSync for wrangler923d48efix(deploy): remove unused execFileSync and ExecSyncOptions imports📊 Changes
1 file changed (+16 additions, -11 deletions)
View changed files
📝
packages/vinext/src/deploy.ts(+16 -11)📄 Description
.bin/wrangler is a platform-specific shell script that fails on Windows (ENOENT) and triggers DEP0190 deprecation warnings when invoked with execFileSync + shell option. Replace with spawnSync on the wrangler JS entry directly via process.execPath for cross-platform compatibility.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.