指示に従ってコーヒースクリプトをインストールしました。
$ 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 cookie-signature@1.0.0 No repository field.
npm WARN package.json fresh@0.1.0 No repository field.
npm WARN package.json methods@0.0.1 No repository field.
npm WARN package.json range-parser@0.0.4 No repository field.
npm WARN package.json send@0.1.0 No repository field.
npm WARN package.json ms@0.1.0 No repository field.
npm WARN package.json pause@0.0.1 No repository field.
npm WARN package.json bytes@0.2.0 No repository field.
npm WARN package.json formidable@1.0.11 No repository field.
npm WARN package.json css@1.0.8 No repository field.
npm WARN package.json uglify-js@2.2.5 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field
npm WARN package.json walk@2.2.1 No repository field.
npm WARN package.json css-parse@1.0.4 No repository field.
npm WARN package.json css-stringify@1.0.5 No repository field.
coffee-script@1.6.3 node_modules/coffee-script
└── mkdirp@0.3.5
それでも、「コーヒー」コマンドを実行すると、
$ coffee
-bash: coffee: command not found
私は何を間違っていますか?
PS:私はMac端末でこれをやっています
編集: -
nodemon
上記と同様に npm install をインストールすると、同じ問題が発生します。しかし、プロンプトでnodemon
コマンドを入力すると、$
-bash: nodemon: command not found