mikermcneil / kit

A suite of command-line utilities. Everything from checking NPM dependencies to converting text to ASCII art.
http://mikermcneil.com
32 stars 3 forks source link

Installation Issue #1

Closed mazemax closed 8 years ago

mazemax commented 8 years ago

Following is the verbose during kit installation:

$ sudo npm install -g kit
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated node-beautify@0.0.5: please use js-beautify instead
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
kit@0.3.1 /usr/lib/node_modules/kit
├── jc@0.0.1
├── underscore@1.8.3
├── node-beautify@0.0.5
├── wrench@1.5.9
├── connect@3.4.1 (utils-merge@1.0.0, parseurl@1.3.1, debug@2.2.0, finalhandler@0.4.1)
├── mongodb@2.2.6 (es6-promise@3.0.2, readable-stream@1.0.31, mongodb-core@2.0.8)
├── socket.io@1.4.8 (debug@2.2.0, has-binary@0.1.7, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.11, socket.io-client@1.4.8)
├── jade@1.11.0 (commander@2.6.0, character-parser@1.2.1, void-elements@2.0.1, mkdirp@0.5.1, jstransformer@0.0.2, constantinople@3.0.2, with@4.0.3, clean-css@3.4.19, transformers@2.1.0, uglify-js@2.7.3)
├── jb@0.0.1 (optimist@0.6.1, uglify-js@2.7.3)
├── handlebars@4.0.5 (async@1.5.2, source-map@0.4.4, optimist@0.6.1, uglify-js@2.7.3)
├── async@2.0.1 (lodash@4.15.0)
└── less@2.7.1 (graceful-fs@4.1.5, mime@1.3.4, image-size@0.5.0, source-map@0.5.6, mkdirp@0.5.1, promise@7.1.1, errno@0.1.4)

After installation following is the output of hello world:

$ kit exclaim hello world!
No command 'kit' found, did you mean:
 Command 'vit' from package 'vit' (universe)
 Command 'kic' from package 'kic' (multiverse)
 Command 'kid' from package 'python-kid' (universe)
 Command 'nit' from package 'python-nevow' (universe)
 Command 'git' from package 'git' (main)
 Command 'kig' from package 'kig' (universe)
 Command 'wit' from package 'wit' (universe)
kit: command not found

It will be nice if you explain the configuration steps so that it is easier to setup kit on command-line.

oskarhane commented 8 years ago

+1 No bin link is created when installing this, not sure why.

oskarhane 🙈  npm install -g kit
npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated node-beautify@0.0.5: please use js-beautify instead
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
/Users/oskarhane/.local/lib
└── kit@0.3.1 

oskarhane 🙈  kit
fish: Unknown command 'kit'

It works great with other packages so it's not a local issue.

oskarhane 🙈  npm install -g figlet-cli
/Users/oskarhane/.local/bin/figlet -> /Users/oskarhane/.local/lib/node_modules/figlet-cli/bin/figlet
/Users/oskarhane/.local/lib
└── figlet-cli@0.1.0 

oskarhane 🙈  figlet yo

  _   _  ___  
 | | | |/ _ \ 
 | |_| | (_) |
  \__, |\___/ 
  |___/       
mikermcneil commented 8 years ago

What OS are you guys on? I know figlet relies on an external C utility or something (I didn't really look into it because it was working- although I saw some crazy install errors on my Mac too)

mazemax commented 8 years ago

Kernel Information

$ uname -r
4.4.0-34-generic

Distribution Release Information

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:   xenial
misakar commented 8 years ago

command not found +1 2016-08-19 10 09 51

oskarhane commented 8 years ago

I'm on OS X El Capitan, latest node and npm.

mikermcneil commented 8 years ago

oi my bad guys! I put the wrong install instructions in the readme-- it's npm install -g @mikermcneil/kit -- fixing that now