所以我正在研究 Ionice2 项目(这仍然是新的.. 差不多一周),我正在尝试按照下面的教程使用 PouchDB for LocalStorage。
教程: 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
注意到我已经使用下面的命令安装了 Typings,这个问题的可能原因是什么?
npm install typings --global