[Pkg-javascript-devel] packaging node applications in Debian
Jonas Smedegaard
dr at jones.dk
Tue Oct 4 00:22:27 UTC 2011
On 11-10-03 at 09:09pm, Florian Brandes wrote:
> Hello,
>
> my name is Florian Brandes and I am trying to debianize a node package
> for Ubuntu. (See: https://bugs.launchpad.net/ubuntu/+bug/861219 ) The
> program I try to pack is called forever and is a simple script, but
> issuing a "sudo npm install forever -g" it does compile the node
> module "daemon" (also, see: http://paste.ubuntuusers.de/403177/ )
> ("daemon" is a dependency of forever)
>
> I downloaded the source code (in a folder called forever-0.6.7) , did
> a "npm pack" and "sudo npm install forever-0.6.7.tgz -g" within and it
> works and installs without problem, when connected to the Internet.
> When connection to the Internet is disabled, it cannot compile and
> dies with a "npm ERR! error installing forever at 0.6.7 Error:
> ECONNREFUSED, Could not contact DNS servers"
>
> How can I build the package without an Internet connection? I ask,
> because the build system in Ubuntu builds in a separate, virtual,
> no-network-environment and fails.
Avoid using npm as part of packaging routines. npm is a (crude!)
packaging system in itself - won't work to layer packaging system inside
each other.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111004/40861601/attachment.pgp>
More information about the Pkg-javascript-devel
mailing list