简体   繁体   中英

How to install ngCkeditor using npm?

I am unable to install ngCkeditor using npm.

When i did npm install ng-ckeditor it is showing following error.

npm WARN package.json opgadminsuite@1.0.0 No repository field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program   Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "ng-ckeditor"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code E404

 npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/ng-ckeditor
 npm ERR! 404
npm ERR! 404 'ng-ckeditor' 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 It was specified as a dependency of 'opgadminsuite'
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 ERR! Please include the following file with any support request:
npm ERR!     E:\New Adminsuite\npm-debug.log

How to resolve this ?

You need to use bower to install ng-ckeditor .

npm install -g bower@latest
bower install ng-ckeditor

See https://github.com/esvit/ng-ckeditor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM