我下载了 nodes.js v0.10.15-linux-x86 并将其添加到路径中,以便它只能由我使用。我安装了 clean-css@1.1.3。但是,安装后,我无法在任何地方找到它。
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
clean-css@1.1.3 node_modules/clean-css
└── commander@2.0.0
我查看了 node/lib/node_modules/ 目录,没有名为“clean-css”的目录。
你能看出设置有什么问题吗?
谢谢