我尝试使用以下方法安装npm包:
npm install microsoft-speech-browser-SDK
我收到以下错误:
npm ERR! code E404
npm ERR! 404 Not Found: microsoft-speech-browser-SDK@latest
我还尝试使用以下两种方式设置注册表:
npm set registry http://registry.npmjs.org/
npm set registry https://registry.npmjs.org/
答案 0 :(得分:3)
NPM区分大小写,您需要使用小写的“SDK”:npm install microsoft-speech-browser-sdk
。
NPM Issue #3914提供了有关原因的更多信息。
答案 1 :(得分:3)
该名称区分大小写microsoft-speech-browser-sdk
,因此请尝试:
npm i microsoft-speech-browser-sdk