Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Applying Patches Error: spawn patch ENOENT #236

@twmarr

Description

@twmarr

I cannot get past this error to build my app and I am not sure why it doesn't just download the binaries.

pkg server.js -o server.exe -t node6-win-x64 -debug

pkg@4.2.4
Building base binary from source:
built-v6.10.3-win-x64
Cloning Node.js repository from GitHub...
git [====================] 100%
Checking out v6.10.3
Applying patches

Error! Error: spawn patch ENOENT
at exports._errnoException (util.js:1020:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)
at onErrorNT (internal/child_process.js:376:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

I will add that my app will build and run if I use EncloseJS. I realize EncloseJS is not a solution, but it seems that it doesn't have the spawn issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions