Skip to content

Error: Command failed when running build #33

@schalkneethling

Description

@schalkneethling

When explicitly running npm run build or, when it is run as a pre-commit hook, I get the following error in Terminal:

> MDN-Fiori@0.1.0 build /Users/espressive/repos/mdn-fiori
> node lib/build.js

Building...
{ Error: Command failed: rm -rfv /Users/user/repos/mdn-fiori/docs/* && hugo && sw-precache --root=docs && git add -A

    at ChildProcess.exithandler (child_process.js:273:12)
    at ChildProcess.emit (events.js:180:13)
    at maybeClose (internal/child_process.js:936:16)
    at Socket.stream.socket.on (internal/child_process.js:353:11)
    at Socket.emit (events.js:180:13)
    at Pipe._handle.close [as _onclose] (net.js:541:12)
  killed: false,
  code: 255,
  signal: null,
  cmd: 'rm -rfv /Users/user/repos/mdn-fiori/docs/* && hugo && sw-precache --root=docs && git add -A' }

You can see the repo in question at https://github.com/mdn/mdn-fiori

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