簡體   English   中英

如何使用npm安裝ngCkeditor?

[英]How to install ngCkeditor using npm?

我無法使用npm安裝ngCkeditor

當我執行npm install ng-ckeditor它顯示以下錯誤。

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

如何解決呢?

您需要使用bower安裝ng-ckeditor

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

參見https://github.com/esvit/ng-ckeditor

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM