Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Error: Hook failed with error code ENOENT: #210

@marianpavel

Description

@marianpavel

Platform & OS Version
Windows 10 x64

The version of the app you are reporting:
Latest

What is the nature of your issue
Question

Details
Tried to build the android with ( ionic build android ) and I ended up with this error:

`Error: Hook failed with error code ENOENT:

Running command: sh /s /c sh "C:\Users\Marian Pavel\Documents\GitHub\zmNinja\hooks\before_prepare\01_pp_hacks.sh" "C:\Users\Marian
Pavel\Documents\GitHub\zmNinja"
Error: Hook failed with error code ENOENT: C:\Users\Marian Pavel\Documents\GitHub\zmNinja\hooks\before_prepare\01_pp_hacks.sh
at C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:194:2
3
at _rejected (C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:797:24)
at C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:823:30
at Promise.when (C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:1035:31)
at Promise.promise.promiseDispatch (C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:74
1:41)
at C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:557:44
at flush (C:\Users\Marian Pavel\Documents\GitHub\zmNinja\node_modules\cordova\node_modules\q\q.js:108:17)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
at Function.Module.runMain (module.js:443:11)`

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions