{"action":"created","issue":{"url":"https://api.github.com/repos/eggjs/egg/issues/3690","repository_url":"https://api.github.com/repos/eggjs/egg","labels_url":"https://api.github.com/repos/eggjs/egg/issues/3690/labels{/name}","comments_url":"https://api.github.com/repos/eggjs/egg/issues/3690/comments","events_url":"https://api.github.com/repos/eggjs/egg/issues/3690/events","html_url":"https://github.com/eggjs/egg/issues/3690","id":442526153,"node_id":"MDU6SXNzdWU0NDI1MjYxNTM=","number":3690,"title":"framework依赖的plugin在windows上必须在app里再定义一次才能加载，mac上没问题","user":{"login":"guozefei","id":6120426,"node_id":"MDQ6VXNlcjYxMjA0MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/6120426?v=4","gravatar_id":"","url":"https://api.github.com/users/guozefei","html_url":"https://github.com/guozefei","followers_url":"https://api.github.com/users/guozefei/followers","following_url":"https://api.github.com/users/guozefei/following{/other_user}","gists_url":"https://api.github.com/users/guozefei/gists{/gist_id}","starred_url":"https://api.github.com/users/guozefei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guozefei/subscriptions","organizations_url":"https://api.github.com/users/guozefei/orgs","repos_url":"https://api.github.com/users/guozefei/repos","events_url":"https://api.github.com/users/guozefei/events{/privacy}","received_events_url":"https://api.github.com/users/guozefei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-05-10T03:50:08Z","updated_at":"2019-05-10T10:00:15Z","closed_at":null,"author_association":"NONE","body":"## What happens?\r\n我自己封装了一个framework egg-ydauthorization-framework，自己写了一个插件egg-passport-neteasecorp，egg-passport-neteasecorp插件依赖egg-passport插件，在egg-ydauthorization-framework中enable了egg-passport和egg-passport-neteasecorp插件，并且加了egg-passport-neteasecorp插件的相关配置，然后通过 npm init egg --type=simple 新建了一个应用使用egg-ydauthorization-framework，\r\napp -> egg-ydauthorization-framework -> egg-passport-neteasecorp\r\n在windows7上 发现 我还是必须在app中去enable egg-passport和egg-passport-neteasecorp插件并且还是必须在app的config.default.js中去配置egg-passport-neteasecorp的相关配置\r\n在mac上可以正常运行\r\n\r\n## Mini Showcase Repository(REQUIRED)\r\n> Provide a mini GitHub repository which can reproduce the issue.\r\nhttps://github.com/guozefei/egg-ydauthorization-framework-example\r\n\r\n<!-- https://github.com/YOUR_REPOSITORY_URL -->\r\nhttps://github.com/guozefei/egg-ydauthorization-framework-example\r\n\r\n## How To Reproduce\r\n\r\n**Steps to reproduce the behavior:**\r\n1. cd node-pms-server\r\n2. yarn\r\n3. npm run debug\r\n\r\n**Expected behavior**\r\n正常运行\r\n\r\n## Context\r\n- **Node Version**:\r\n8.11.2\r\n- **Egg Version**:\r\n2.3.0\r\n- **Plugin Name**:\r\negg-passport egg-passport-neteasecorp\r\n- **Plugin Version**:\r\n- **Platform**:\r\nwindows7\r\n"},"comment":{"url":"https://api.github.com/repos/eggjs/egg/issues/comments/491233822","html_url":"https://github.com/eggjs/egg/issues/3690#issuecomment-491233822","issue_url":"https://api.github.com/repos/eggjs/egg/issues/3690","id":491233822,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTIzMzgyMg==","user":{"login":"guozefei","id":6120426,"node_id":"MDQ6VXNlcjYxMjA0MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/6120426?v=4","gravatar_id":"","url":"https://api.github.com/users/guozefei","html_url":"https://github.com/guozefei","followers_url":"https://api.github.com/users/guozefei/followers","following_url":"https://api.github.com/users/guozefei/following{/other_user}","gists_url":"https://api.github.com/users/guozefei/gists{/gist_id}","starred_url":"https://api.github.com/users/guozefei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guozefei/subscriptions","organizations_url":"https://api.github.com/users/guozefei/orgs","repos_url":"https://api.github.com/users/guozefei/repos","events_url":"https://api.github.com/users/guozefei/events{/privacy}","received_events_url":"https://api.github.com/users/guozefei/received_events","type":"User","site_admin":false},"created_at":"2019-05-10T10:00:15Z","updated_at":"2019-05-10T10:00:15Z","author_association":"NONE","body":"这个工程在mac上是可以成功run起来的 \r\n我看 egg-examples里有 framework 和 progressive/step4\r\n里面的 package.json是没有egg 和 egg-scripts的依赖的\r\n![捕获](https://user-images.githubusercontent.com/6120426/57519210-55c28c00-734d-11e9-8729-ab19aa1ed1cd.PNG)\r\n![捕获](https://user-images.githubusercontent.com/6120426/57519266-712d9700-734d-11e9-8403-b6133172bed8.PNG)\r\n"}}
{"actor":{"display_login":"guozefei"}}