node-zipfile appears to be broken and does not properly link libzip4

Asked by Lucas Madar

$ sudo apt-get install node-zipfile
...
The following NEW packages will be installed:
  libzip4 node-zipfile
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
(install succeeds)

$ nodejs
> require('zipfile')
Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:435:18)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at repl:1:1
    at REPLServer.defaultEval (repl.js:252:27)
    at bound (domain.js:287:14)
    at REPLServer.runBound [as eval] (domain.js:300:12)

Is there a missing dependency? Am I doing something incorrectly?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu node-zipfile Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo apt-get -f install; apt-cache policy node-zipfile; lsb_release -a

Thanks

Revision history for this message
Lucas Madar (lucas-madar) said :
#2

$ sudo apt-get -f install; apt-cache policy node-zipfile; lsb_release -a
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
node-zipfile:
  Installed: 0.5.0+ds-1build1
  Candidate: 0.5.0+ds-1build1
  Version table:
 *** 0.5.0+ds-1build1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

(machine is fully up to date with latest apt update && apt dist-upgrade)

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.