You can clone with
HTTPS or Subversion.
Trying to made .deb from npm fails.
Building up the Module isn't a Problem, and it is installed into node_modules directory in the working dir. There is also a dir named npm2pkg with contains the downloaded files.
but as result there is no .deb
# fpm-npm -t deb -n forever
npm WARN firstname.lastname@example.org package.json: bugs['web'] should probably be bugs['url']
> email@example.com preinstall /update/node/node_modules/forever/node_modules/daemon
> node-waf configure build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr
'configure' finished successfully (0.038s)
Waf: Entering directory `/update/node/node_modules/forever/node_modules/daemon/build'
[1/2] cxx: src/daemon.cc -> build/Release/src/daemon_1.o
[2/2] cxx_link: build/Release/src/daemon_1.o -> build/Release/daemon.node
Waf: Leaving directory `/update/node/node_modules/forever/node_modules/daemon/build'
'build' finished successfully (0.286s)
npm WARN prefer global firstname.lastname@example.org should be installed with -g
��� email@example.com (firstname.lastname@example.org)
��� email@example.com (firstname.lastname@example.org)
��� email@example.com (firstname.lastname@example.org)
��� email@example.com (firstname.lastname@example.org)
��� email@example.com (firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com)
��� firstname.lastname@example.org (email@example.com)
��� firstname.lastname@example.org (email@example.com firstname.lastname@example.org email@example.com)
can't find any suitable logfile to attach. system is debian lenny.
same problems here. It looks like fpm-npm does the build and makes a packages.tgz, but never hands off to the deb building code
tested with node 0.6.5 w/built in NPM, Ruby 1.9.2-p290, and FPM 0.3.11. I suspect part of the cause is npm is now bundled with node.
(Bumping to watch)
i see the same behavior
bump to watch.
There's no proper npm package type implemented in fpm, perhaps it's time that happens ;)
TODO: remove fpm-npm, implement lib/fpm/packages/npm.rb
Is fpm-npm just a wrapper for... npm?
Any update on this? It would be nice to be able to produce a deb package instead of having to depend on npm in my package and then install the modules i need via post-install.
I'm going to delete fpm-npm in the repo. Will save confusion, I think, the 'fpm-npm' prototype hasn't been touched in 2 years. The proper support would be to create a lib/fpm/packages/npm.rb implementation as I described.
c51697e removes fpm-npm
fpm 0.4.33 adds npm support: fpm -s npm -t deb express
fpm -s npm -t deb express