Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp dist does not create a distro #23

Open
PaulDuvall opened this issue Jan 4, 2016 · 2 comments
Open

Gulp dist does not create a distro #23

PaulDuvall opened this issue Jan 4, 2016 · 2 comments

Comments

@PaulDuvall
Copy link
Contributor

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'.```
@jsywulak
Copy link
Contributor

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.

@PaulDuvall
Copy link
Contributor Author

PaulDuvall commented May 11, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants