我新建了個項目,用npm init 生成package.json報錯如下npm ERR! code EINVALIDTAGNAMEnpm ERR! Invalid tag name "Vue-Q&A": Tags may not have any characters that encodeURIComponent 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生成的package.json只有name和version?請問這是什么情況?如何解決?
通過npm init 生成 package.json的問題
嗶嗶one
2019-03-01 11:11:34