Giter Club home page Giter Club logo

Comments (3)

 avatar commented on June 15, 2024

In the directory, try

npm install -g

Don't specify the package.

from anon.

DannyCork avatar DannyCork commented on June 15, 2024

some additional info
uname -a
Linux xx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux

$ npm -v
1.3.6

$ node -v
v0.10.28

npm list -g

npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
/usr/lib
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├── [email protected]
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET DEPENDENCY inherits *
├── [email protected] (inherits@2) invalid
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── UNMET DEPENDENCY inherits *
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]

npm ERR! missing: inherits@, required by undefined@undefined
npm ERR! missing: inherits@
, required by [email protected]
npm ERR! missing: inherits@, required by [email protected]
npm ERR! missing: inherits@
, required by [email protected]
npm ERR! missing: inherits@, required by [email protected]
npm ERR! missing: inherits@
, required by [email protected]
npm ERR! invalid: [email protected] /usr/lib/node_modules/inherits@2
npm ERR! missing: inherits@, required by [email protected]
npm ERR! missing: inherits@
, required by [email protected]
npm ERR! not ok code 0

Thanks, I did as suggested.

npm install -g
npm http GET https://registry.npmjs.org/twit
npm http GET https://registry.npmjs.org/wikichanges
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/netmask
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/twit
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/wikichanges
npm http 304 https://registry.npmjs.org/netmask
npm http GET https://registry.npmjs.org/irc
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/oauth/0.9.9
npm http GET https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/irc
npm http 304 https://registry.npmjs.org/oauth/0.9.9
npm http GET https://registry.npmjs.org/ansi-color/0.2.1
npm http 304 https://registry.npmjs.org/ansi-color/0.2.1
/usr/bin/anon -> /usr/lib/node_modules/anon/bin/anon

notice the bunch of warnings, no errors though

npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
[email protected] /usr/lib/node_modules/anon
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])

then same error.

$ ./anon.coffee
./anon.coffee: line 1: Twit: command not found
./anon.coffee: line 2: syntax error near unexpected token (' ./anon.coffee: line 2:Netmask = require('netmask').Netmask'

Fix broken dependancies right ?

from anon.

DannyCork avatar DannyCork commented on June 15, 2024

Bad node install.

from anon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.