iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

Gulp dist does not create a distro

Open PaulDuvall opened this issue 9 years ago • 2 comments

Using the current README, receive this error when running gulp dist:

[20:47:01] 'dist:berks-vendor' errored after 9.17 ms
[20:47:01] Error: Command failed: /bin/sh: berks: command not found

    at ChildProcess.exithandler (child_process.js:658:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Process.ChildProcess._handle.onexit (child_process.js:833:5)
[20:47:01] 'dist' errored after 590 ms
[20:47:01] Error in plugin 'run-sequence'
Message:
    An error occured in task 'dist:berks-vendor'.```

PaulDuvall avatar Jan 04 '16 20:01 PaulDuvall

Looks like berkshelf isn't installed. It comes with the Chef DK, so you can install that to get berks, or you can just do gem install berks if you have ruby installed already.

Another thing is to make sure npm install has been run before you start doing anything. Unlike ruby, which will error out and tell you to run bundler, node just says it's missing a specific library.

jsywulak avatar Jan 18 '16 22:01 jsywulak

Need to update the instructions to describe this in more detail (and perhaps run installchefdk.sh ). Ensure you can run this from a simple Amazon Linux EC2 instance and explicitly describe in the README what needs to be done to create the distro

PaulDuvall avatar May 11 '16 14:05 PaulDuvall