package.JSON 文件不完整?

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\_logs17-11-30T13_58
_26_759Z-debug.log

C:\Users\t.steiner\Desktop\Lynda Training\Grunt Js>

我是否搞砸了这些项目的灌注?

我觉得这个问题很合得来:

https://github.com/npm/npm/issues/17830