algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

#Fail to install algoliasearch# #295

Closed ZhiXingHeYiApple closed 7 years ago

ZhiXingHeYiApple commented 8 years ago

I want to use algoliasearch in my project. But when I use npm to install, there is an error! npm ERR! No compatible version found: debug-ms-fix-yui-compressor@2.2.2-future-reserved-word-fix-ms npm ERR! Valid install targets: npm ERR! 2.2.0-future-reserved-word-fix-ms I check the package of debug-ms-fix-ui-compressor, the latest version is @2.2.0. Why the dependency of algoliasearch is 'debug-ms-fix-yui-compressor': '2.2.2-future-reserved-word-fix-ms'? I don't know how to fix this problem. Please help! Thanks

vvo commented 8 years ago

Hi @ZhiXingHeYiApple, I just did an npm install algoliasearch without any issue. Are you using the central npm repository or maybe a different one?

Thanks

henryhuang commented 8 years ago

@ZhiXingHeYiApple , I guest you use the no-official registry, such as taobao, you could use following command to install (which fixed my problem like you):

npm --registry https://registry.npmjs.org install algoliasearch --save