'@ sailshq / socket.io-redis @ latest'不在npm注册表中

时间:2019-06-20 08:58:25

标签: node.js npm sails.js

节点版本:10.16.0 风帆版本 (风帆):1.2.3


当我尝试使用sails cli创建新项目时,它只会给我以下错误,而我却无能为力。

我看到有一个软件包https://www.npmjs.com/package/socket.io-redis,但软件包名称中没有前缀@sailshq

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@sailshq%2fsocket.io-redis - Not Found
npm ERR! 404 
npm ERR! 404  '@sailshq/socket.io-redis@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.

有人可以帮我吗?

谢谢

1 个答案:

答案 0 :(得分:1)

也许您应该使用npm i @sailshq/socket.io-redishttps://www.npmjs.com/package/@sailshq/socket.io-redis