簡體   English   中英

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

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

我是否搞砸了其中任何一項的灌輸?

我認為這個問題很合適:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM