我按照方向安裝了coffee-script。如何在安裝後執行'coffee'命令?
$ npm install http://github.com/jashkenas/coffee-script/tarball/master
npm http GET http://github.com/jashkenas/coffee-script/tarball/master
npm http 200 http://github.com/jashkenas/coffee-script/tarball/master
npm http GET https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/mkdirp
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
[email protected] node_modules/coffee-script
└── [email protected]
然而,當我執行 '咖啡' 命令我得到
$ coffee
-bash: coffee: command not found
我到底做錯了什麼?
PS:我對Mac的終端
編輯這樣做: -
同樣的問題是,當我安裝nodemon
故宮安裝程序將採用類似上述地方發生。但是,當我輸入nodemon
命令$
提示它說-bash: nodemon: command not found