如何在离子中安装ngCookies?

时间:2022-11-14 22:57:57

Hi I am trying to install ngCookies in my ionic app .using npm install angular-cookie command then I am getting an error message like

嗨,我正在尝试在我的离子应用程序中安装ngCookies。使用npm install angular-cookie命令然后我收到一条错误消息,如

> Administrators-MacBook-Pro:QShieldpro3may munavvar$ npm install angular-cookie npm WARN package.json qshieldpro@1.0.0 No repository
> field. npm WARN package.json qshieldpro@1.0.0 No README data npm ERR!
> 404 404 Not Found: angular-cookie npm ERR! 404  npm ERR! 404
> 'angular-cookie' is not in the npm registry. npm ERR! 404 You should
> bug the author to publish it npm ERR! 404 It was specified as a
> dependency of 'qshieldpro' npm ERR! 404  npm ERR! 404 Note that you
> can also install from a npm ERR! 404 tarball, folder, or http url, or
> git url.
> 
> npm ERR! System Darwin 14.3.0 npm ERR! command "node"
> "/usr/local/bin/npm" "install" "angular-cookie" npm ERR! cwd
> /Users/munavvar/QShieldpro3may npm ERR! node -v v0.10.33 npm ERR! npm
> -v 1.4.28 npm ERR! code E404 npm ERR!  npm ERR! Additional logging details can be found in: npm ERR!    
> /Users/munavvar/QShieldpro3may/npm-debug.log npm ERR! not ok code 0

1 个解决方案

#1


1  

you missed a S at the end of cookies :

你错过了饼干结束时的S:

https://github.com/angular/bower-angular-cookies

#1


1  

you missed a S at the end of cookies :

你错过了饼干结束时的S:

https://github.com/angular/bower-angular-cookies