【发布时间】:2018-09-08 12:41:29
【问题描述】:
我在命令提示符下运行ionic 后收到此错误,并且问题一直存在,直到我删除~/.ionic/config.json,但稍后它又开始显示此错误消息。
我该如何真正摆脱这个?
(Windows 10 用户)
这是 config.json 的内容:
{
"lastCommand": "2017-06-21T14:57:29.860Z",
"urls": {
"api": "https://api.ionic.io",
"dash": "https://apps.ionic.io"
},
"user": {},
"tokens": {
"appUser": {},
"telemetry": "501f31d8-48d1-4cd0-9919-68ccb7b1e30a"
},
"cliFlags": {
"confirm": false,
"interactive": true,
"telemetry": true,
"yarn": false
}
}
我意识到在每次执行 ionic 期间只有 "lastCommand" 发生变化,总的来说,我通过 git 对其进行了监控,并恢复到最后一个没有帮助的工作配置文件。
ionic.config.json 的内容:
{
"name": "restaurant",
"app_id": "",
"type": "ionic-angular"
}
【问题讨论】:
-
能否请您添加您的
ionic.config.json文件的内容?