项目编译报错,找不到game.json
发布于 5 年前 作者 kchen 20269 次浏览 来自 问答

项目编译报错

项目project.config.json配置文件如下

{

  “description”: “项目配置文件。”,

  “setting”: {

    “urlCheck”: true,

    “es6”: true,

    “postcss”: true,

    “minified”: true,

    “newFeature”: true

  },

  “compileType”: “miniprogram”,

  “libVersion”: “1.9.1”,

  “appid”: “touristappid”,

  “projectname”: “demo2”,

  “isGameTourist”: false,

  “condition”: {

    “search”: {

      “current”: -1,

      “list”: []

    },

    “conversation”: {

      “current”: -1,

      “list”: []

    },

    “game”: {

      “currentL”: -1,

      “list”: []

    },

    “miniprogram”: {

      “current”: -1,

      “list”: []

    }

  }

}

明显我的

  “compileType”: “miniprogram”,

  “isGameTourist”: false,

两项配置都不是game,为啥我一启动点击编译就自动编译为游侠呢,还一直报错,求个解决方案。@管理员@大神些

2 回复

这个怎么回事。 不管是我用小游戏。还是小程序的工具打开都是这样

而且每个项目进去都报这个错误,也没找到配置文件的API,尴尬

回到顶部