Leaflet 安装插件ionic

Leaflet 安装插件ionic,leaflet,ionic4,npm-install,Leaflet,Ionic4,Npm Install,我想在我的ionic应用程序中使用这个插件,但是当我启动命令时 npm install --save leaflet-search 我得到一个404错误 npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/leaflet-search - Not found npm ERR! 404 npm ERR! 404 'leaflet-search@latest' is not in th

我想在我的ionic应用程序中使用这个插件,但是当我启动命令时

npm install --save leaflet-search
我得到一个404错误

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/leaflet-search - Not found
npm ERR! 404
npm ERR! 404  'leaflet-search@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
我怎样才能解决这个问题


致以最诚挚的问候你再试一次了吗?这可能是由npm服务器引起的,有时会发生

npm i leaflet-search