我新建了个项目,用npm init 生成package.json报错如下
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
生成的package.json只有name和version?
请问这是什么情况?如何解决?
宝慕林4294392
相关分类