npm init 生成 packagejson ‘ERR! code EINVALIDTAGNAME’問題


生成的package.json只有name和version。
原因是所在文件夾命名不合法。

代碼塊

 

npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "Vue-Q&A": Tags may not have any characters that encodeURICompo nent encodes. About to write to Documents/Vue-Q&A/package.json: { "name": "", "version": "" } Is this ok? (yes) npm ERR! Callback called more than once. npm ERR! A complete log of this run can be found in: npm ERR! /.npm/_logs/2017-12-18T01_17_15_433Z-debug.log

npm init 生成 packagejson ‘ERR! code EINVALIDTAGNAME’問題


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM