[英]package.JSON file Incomplete?
我已经安装了npm和grunt。 在命令行中,我已导航到我的项目目录,并启动了一个package.json
文件。 我的问题是,它似乎只生成文件的一部分。 它定义生成package.json文件,但它只询问名称和版本,不管我把它放在首先提出这个:
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "Grunt Js": Tags may not have any characters that enco
deURIComponent encodes.
About to write to C:\Users\t.steiner\Desktop\Lynda Training\Grunt Js\package.jso
n:
{
"name": "",
"version": ""
}
Is this ok? (yes)
然后这个:
Is this ok? (yes) yes
npm ERR! Callback called more than once.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\t.steiner\AppData\Roaming\npm-cache\_logs\2017-11-30T13_58
_26_759Z-debug.log
C:\Users\t.steiner\Desktop\Lynda Training\Grunt Js>
我是否搞砸了其中任何一项的灌输?
我认为这个问题很合适:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.