Skip to content

build error #554

@jiawulin001

Description

@jiawulin001

An error occurred while I was building xml2js:

D:\Code\node-xml2js>npm run build

> [email protected] build D:\Code\node-xml2js
> cake build

events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: spawn coffee ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
    at startup (internal/bootstrap/node.js:279:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3)

Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    [... lines matching original stack trace ...]

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `cake build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jiawulin-pc\AppData\Roaming\npm-cache\_logs\2020-02-17T08_41_50_680Z-debug.log

I tried to execute the coffee -cw -o lib src command,It worked。
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions