Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Conversation

@coderjun
Copy link

Hello,

First, thanks for creating this cookbook, very useful!

I'm leveraging this cookbook from the supermarket and ran into some errors when trying to upload it to my chef server:

Cookbook forever version 0.1.1 successfully installed Installing npm to /chef-repo/cookbooks Checking out the master branch. Creating pristine copy branch chef-vendor-cpm WARNING: DEPRECATION: This cookbook has been deprecated. It has been replaced by nodejs. WARNING: Use --force to force download deprecated cookbook. Removing pre-existing version. Uncompressing npm version 0.1.2. ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'

The fix seemed to be to update the code to leverage nodejs instead of npm which had been deprecated.

I've:

  • Updated the code to use nodejs_npm instead of npm_package in default.rb
  • Updated the version number to 0.1.2
  • Updated the dependency in metatdata.rb
  • Added the metadata.json which existed in the supermarket version: https://supermarket.getchef.com/cookbooks/forever

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant