nodes.js v0.10.15-linux-x86をダウンロードしてパスに追加し、私だけが使用できるようにします。私は[email protected]をインストールしました。しかし、インストール後はどこにも見つからない。インストール後にコマンドclean-cssはどこにありますか?
npm http GET https://registry.npmjs.org/clean-css
npm http 200 https://registry.npmjs.org/clean-css
npm http GET https://registry.npmjs.org/clean-css/-/clean-css-1.1.3.tgz
npm http 200 https://registry.npmjs.org/clean-css/-/clean-css-1.1.3.tgz
npm http GET https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
[email protected] node_modules/clean-css
└── [email protected]
ノード/ lib/node_modules /ディレクトリを見ましたが、「clean-css」という名前のディレクトリはありません。
セットアップに何か問題がありますか?
おかげデフォルトで
はい、「-g」オプションが機能します。ありがとう! "/ home/Jaska/node-v0.10.15-linux-x86/lib/node_modules/clean-css"と "/home/Jaska/node-v0.10.15-linux-x86/bin"でこれを見つけることができます。 。 – chfw