【发布时间】:2018-02-13 19:10:34
【问题描述】:
我刚刚使用npm install underscore 安装了模块underscore js。我想知道 NPM 将如何以及在何处存储该模块,以便我可以将该模块导入我的 .js 文件中。
【问题讨论】:
-
你运行
npm -g install underscore了吗?-g很重要。 -
你通常不需要知道在哪里 npm install 来使用它们。看来是误解了整个导入过程。
标签: javascript macos npm underscore.js npm-install