因此,我正在研究Ionice2项目(在这个问题上近乎一周还是新的),并且我正在尝试按照下面的教程来使用PouchDB for LocalStorage。安装类型需要Ionic2应用程序
教程: http://gonehybrid.com/how-to-use-pouchdb-sqlite-for-local-storage-in-ionic-2/
的要求之一是需要使用以下命令
typings install require --ambient --save
每当我尝试这个命令,我得到的错误
Unable to find "require" ("npm") in the registry.
Did you want to try searching another source?
Also, if you want contribute these typings, please help us: https://github.com/typings/registry
注意到安装我已经使用下面的命令安装了类型,这个问题有什么可能的原因?
npm install typings --global
我成功地遵循了相同的教程,但是我使用这个命令来安装类型:'npm install -g typings'不知道它是否与您使用的功能相同。 – wdickerson
@ wilburrr90我试过了,但是结果相同 –
@ wilburrr90您正在使用哪种操作系统? –