{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/okam/issues/16","repository_url":"https://api.github.com/repos/ecomfe/okam","labels_url":"https://api.github.com/repos/ecomfe/okam/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/okam/issues/16/comments","events_url":"https://api.github.com/repos/ecomfe/okam/issues/16/events","html_url":"https://github.com/ecomfe/okam/issues/16","id":386402166,"node_id":"MDU6SXNzdWUzODY0MDIxNjY=","number":16,"title":"升级之后运行不了项目了","user":{"login":"githublyp","id":12792918,"node_id":"MDQ6VXNlcjEyNzkyOTE4","avatar_url":"https://avatars2.githubusercontent.com/u/12792918?v=4","gravatar_id":"","url":"https://api.github.com/users/githublyp","html_url":"https://github.com/githublyp","followers_url":"https://api.github.com/users/githublyp/followers","following_url":"https://api.github.com/users/githublyp/following{/other_user}","gists_url":"https://api.github.com/users/githublyp/gists{/gist_id}","starred_url":"https://api.github.com/users/githublyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githublyp/subscriptions","organizations_url":"https://api.github.com/users/githublyp/orgs","repos_url":"https://api.github.com/users/githublyp/repos","events_url":"https://api.github.com/users/githublyp/events{/privacy}","received_events_url":"https://api.github.com/users/githublyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-01T00:58:07Z","updated_at":"2018-12-01T02:18:37Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n    感谢 使用 Okam !\r\n    技术交流QQ 群： `728460911`，入群备注：okam\r\n\r\n    提 ISSUE 之前，建议：\r\n    * 更新到最新版本，看是否能解决？\r\n    * 看一下教程文档，看是否能解决？\r\n    * 搜一下已有 ISSUE，看是否有帮助？\r\n-->\r\n\r\n## 问题类型\r\n\r\n<!-- 在以下选项中写上 [x] -->\r\n\r\n* [ ] 如何实现某功能\r\n* [x ] 报 BUG\r\n* [ ] 某功能改进建议\r\n* [ ] 新功能建议\r\n* [ ] 文档问题\r\n* [ ] 其他/以上都不是\r\n\r\n## 问题详情\r\n\r\nokam upgrade project\r\n之后运行不了项目\r\n\r\n### 期望效果\r\n\r\n<!-- ... -->\r\n\r\n### 实际情况\r\n\r\n<!-- ... -->\r\n![image](https://user-images.githubusercontent.com/12792918/49322080-e008f780-f546-11e8-964b-74db48fd41bd.png)\r\n\r\n\r\n### 问题示例 和 复现步骤\r\n\r\n<!-- ... -->\r\n\r\n\r\n### 问题环境\r\n\r\nokam 相关包版本\r\n    `okam-core` 版本:0.4.0-beta.0\r\n    `okam-build` 版本:0.4.0-beta.0\r\n    `okam-cli` 版本(若是 cli 问题):0.1.0-beta.0\r\n\r\n\r\n\r\n运行环境\r\n    微信小程序开发工具 or 真机\r\n"},"comment":{"url":"https://api.github.com/repos/ecomfe/okam/issues/comments/443391382","html_url":"https://github.com/ecomfe/okam/issues/16#issuecomment-443391382","issue_url":"https://api.github.com/repos/ecomfe/okam/issues/16","id":443391382,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzM5MTM4Mg==","user":{"login":"The-only","id":3883322,"node_id":"MDQ6VXNlcjM4ODMzMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3883322?v=4","gravatar_id":"","url":"https://api.github.com/users/The-only","html_url":"https://github.com/The-only","followers_url":"https://api.github.com/users/The-only/followers","following_url":"https://api.github.com/users/The-only/following{/other_user}","gists_url":"https://api.github.com/users/The-only/gists{/gist_id}","starred_url":"https://api.github.com/users/The-only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-only/subscriptions","organizations_url":"https://api.github.com/users/The-only/orgs","repos_url":"https://api.github.com/users/The-only/repos","events_url":"https://api.github.com/users/The-only/events{/privacy}","received_events_url":"https://api.github.com/users/The-only/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T02:18:37Z","updated_at":"2018-12-01T02:18:37Z","author_association":"COLLABORATOR","body":"@githublyp 辛苦看一下\r\n1. 项目是从原先okam为0.3版本的项目中执行`okam upgrade project`升级的吗？(理论上这种情况下upgrade project 包版本是不会从0.3升为0.4只会升.3的小版本，你看看本地okam-build okam-core 的具体版本是多少?`okam --version && npm ls okam-build okam-core`)；\r\n2. build过程中 或者 运行过程中有没有什么报错？\r\n  若是 0.3 升级到了 0.4 有两个 breakchange: 看看是否有用到下面两个 breakchange，改完能否解决问题？\r\n     - okam-core: break change 移除 App/页面/自定义组件实例上下文的 $global 属性, [具体解决方案](https://ecomfe.github.io/okam/#/app/entry?id=app-%E6%89%A9%E5%B1%95-api)\r\n     -  okam-build: break change 变更构建配置 component.template.transformTags 模板标签转换配置定义，新增构建 API reverseTagMap 进行兼容转换，[具体解决方案](https://ecomfe.github.io/okam/#/build/transformTag)\r\n3. 若用cli构建的项目，你选择的模板、脚本、样式语法分别是？是否有用到 tag 标签转换？\r\n若上面不能解决，描述一下复现场景，方便的话可以给个问题的代码示例，我具体看看"}}
{"actor":{"display_login":"The-only"}}