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

fpm 1.3.0 fails to build npm rpm packages #800

ngrennan-banjo opened this Issue Nov 5, 2014 · 1 comment


None yet
3 participants

ngrennan-banjo commented Nov 5, 2014

I was trying to build a npm rpm package for kue on CentOS 7. I got the error below. I was using fpm 1.3.0, and downgrading to 1.2.0 fixes the issue with fpm.

21:25:07 [root@ins-bastion-01 ~]$ fpm --version
21:25:07 [root@ins-bastion-01 ~]$ fpm -s npm -t rpm --npm-package-name-prefix nodejs kue
/usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/package/npm.rb:106:in default_prefix': undefined methodsafesystemout' for FPM::Package::NPM:Class (NoMethodError)
from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/package/npm.rb:101:in set_default_prefix' from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/package/npm.rb:28:ininput'
from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/command.rb:332:in block in execute' from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/command.rb:331:ineach'
from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/command.rb:331:in execute' from /usr/local/share/gems/gems/clamp-0.6.3/lib/clamp/command.rb:67:inrun'
from /usr/local/share/gems/gems/fpm-1.3.0/lib/fpm/command.rb:510:in run' from /usr/local/share/gems/gems/clamp-0.6.3/lib/clamp/command.rb:125:inrun'
from /usr/local/share/gems/gems/fpm-1.3.0/bin/fpm:8:in <top (required)>' from /usr/local/bin/fpm:23:inload'
from /usr/local/bin/fpm:23:in `



This comment has been minimized.

fillup commented Nov 11, 2014

I'm having the same issue building to deb on Ubuntu 14.04x86_64:

$ fpm -t deb -s npm -n apiaxle-proxy -a all -d 'nodejs' apiaxle-proxy
/var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/package/npm.rb:106:in `default_prefix': undefined method `safesystemout' for FPM::Package::NPM:Class (NoMethodError)
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/package/npm.rb:101:in `set_default_prefix'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/package/npm.rb:28:in `input'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/command.rb:332:in `block in execute'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/command.rb:331:in `each'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/command.rb:331:in `execute'
    from /var/lib/gems/1.9.1/gems/clamp-0.6.3/lib/clamp/command.rb:67:in `run'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/lib/fpm/command.rb:510:in `run'
    from /var/lib/gems/1.9.1/gems/clamp-0.6.3/lib/clamp/command.rb:125:in `run'
    from /var/lib/gems/1.9.1/gems/fpm-1.3.2/bin/fpm:8:in `<top (required)>'
    from /usr/local/bin/fpm:23:in `load'
    from /usr/local/bin/fpm:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment