生成的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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-06
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案