我为什么没有安装'模块'错误?

时间:2017-06-24 19:26:49

标签: javascript android ios reactjs react-native

我想使用其他组件,但是除了reactreact-native之外没有其他组件,它会给我一个错误,导致我不使用组件。

错误是:

Module is not installed


Checks whether the module in the "require()" call or import statement exists, whether it is is listed in package.json dependencies, and whether it is locally installed.
Suggests installing the module and/or including it into package.json.
For require() calls, works only in files in the scope of "Node.js Core" JavaScript library.

我试图运行npm install module --save但它没有用。

enter image description here

0 个答案:

没有答案