{"action":"created","issue":{"url":"https://api.github.com/repos/eggjs/egg/issues/3299","repository_url":"https://api.github.com/repos/eggjs/egg","labels_url":"https://api.github.com/repos/eggjs/egg/issues/3299/labels{/name}","comments_url":"https://api.github.com/repos/eggjs/egg/issues/3299/comments","events_url":"https://api.github.com/repos/eggjs/egg/issues/3299/events","html_url":"https://github.com/eggjs/egg/issues/3299","id":390500469,"node_id":"MDU6SXNzdWUzOTA1MDA0Njk=","number":3299,"title":"线上部署 npm start 启动失败，Cannot find module 'common-bin' ","user":{"login":"Rudy24","id":12670705,"node_id":"MDQ6VXNlcjEyNjcwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/12670705?v=4","gravatar_id":"","url":"https://api.github.com/users/Rudy24","html_url":"https://github.com/Rudy24","followers_url":"https://api.github.com/users/Rudy24/followers","following_url":"https://api.github.com/users/Rudy24/following{/other_user}","gists_url":"https://api.github.com/users/Rudy24/gists{/gist_id}","starred_url":"https://api.github.com/users/Rudy24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rudy24/subscriptions","organizations_url":"https://api.github.com/users/Rudy24/orgs","repos_url":"https://api.github.com/users/Rudy24/repos","events_url":"https://api.github.com/users/Rudy24/events{/privacy}","received_events_url":"https://api.github.com/users/Rudy24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-13T03:15:52Z","updated_at":"2018-12-13T03:30:49Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThank you for reporting an issue.\r\n\r\n1. It's RECOMMENDED to submit PR for typo or tiny bug fix.\r\n2. If this's a FEATURE request, please provide: details, pseudo codes if necessary.\r\n3. If this's a BUG, please provide: course repetition, error log and configuration. Fill in as much of the template below as you're able.\r\n4. It will be nice to use `egg-init --type=simple bug` to provide a mini GitHub repository which can reproduce the issue.\r\n\r\n感谢您向我们反馈问题。\r\n\r\n1. 提交问题前，请先阅读 https://eggjs.org/zh-cn/faq.html\r\n2. 我们推荐如果是小问题（错别字修改，小的 bug fix）直接提交 PR。\r\n3. 如果是一个新需求，请提供：详细需求描述，最好是有伪代码实现。\r\n4. 如果是一个 BUG，请提供：复现步骤，错误日志以及相关配置，并尽量填写下面的模板中的条目。\r\n5. 如果可以，请使用 `egg-init --type=simple bug` 提供一个最小可复现的代码仓库，方便我们排查问题。\r\n6. 扩展阅读：[如何向开源项目提交无法解答的问题](https://zhuanlan.zhihu.com/p/25795393)\r\n-->\r\n\r\n* **Node Version**: v10.14.1\r\n* **Egg Version**:^2.2.1\r\n* **Plugin Name**:\r\n   \"egg-sequelize\": \"^4.2.0\",\r\n    \"egg-validate\": \"^2.0.2\",\r\n* **Plugin Version**:\r\n* **Platform**: linux\r\n* **Mini Showcase Repository**:\r\n\r\n<!-- Enter your issue details below this comment. -->\r\n\r\n[按照应用部署文档操作（通过淘宝镜像 cnpm）](https://eggjs.org/zh-cn/core/deployment.html#mobileAside)\r\n构建完成之后，通过ftp上传阿里云服务器上面，然后tar -zxvf /release.tgz -C /server 压缩指定的目录，启动npm start 时 出现报错  \r\n\r\n```javascript\r\n[root@iz8vbguxboxddpbfikq718z server]# npm start\r\n\r\n> egg-mysql-vue-server@1.0.0 start /home/ftprudy/htdoc/server\r\n> egg-scripts start --daemon --title=egg-server-egg-mysql-vue-server\r\n\r\ninternal/modules/cjs/loader.js:582\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'common-bin'\r\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:506:25)\r\n    at Module.require (internal/modules/cjs/loader.js:636:17)\r\n    at require (internal/modules/cjs/helpers.js:20:18)\r\n    at Object.<anonymous> (/home/ftprudy/htdoc/server/node_modules/_egg-scripts@2.10.0@egg-scripts/lib/command.js:5:21)\r\n    at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n    at Module.load (internal/modules/cjs/loader.js:598:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! egg-mysql-vue-server@1.0.0 start: `egg-scripts start --daemon --title=egg-server-egg-mysql-vue-server`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the egg-mysql-vue-server@1.0.0 start script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /root/.npm/_logs/2018-12-13T03_05_55_730Z-debug.log\r\n\r\n```    \r\n发现egg-scripts/node_modules目录下许多文件夹都是空的，打不开，可能是打包时候出现的问题\r\n\r\n请问有没有遇到类似的问题？有没有对应的解决方案？\r\n"},"comment":{"url":"https://api.github.com/repos/eggjs/egg/issues/comments/446830640","html_url":"https://github.com/eggjs/egg/issues/3299#issuecomment-446830640","issue_url":"https://api.github.com/repos/eggjs/egg/issues/3299","id":446830640,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjgzMDY0MA==","user":{"login":"Rudy24","id":12670705,"node_id":"MDQ6VXNlcjEyNjcwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/12670705?v=4","gravatar_id":"","url":"https://api.github.com/users/Rudy24","html_url":"https://github.com/Rudy24","followers_url":"https://api.github.com/users/Rudy24/followers","following_url":"https://api.github.com/users/Rudy24/following{/other_user}","gists_url":"https://api.github.com/users/Rudy24/gists{/gist_id}","starred_url":"https://api.github.com/users/Rudy24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rudy24/subscriptions","organizations_url":"https://api.github.com/users/Rudy24/orgs","repos_url":"https://api.github.com/users/Rudy24/repos","events_url":"https://api.github.com/users/Rudy24/events{/privacy}","received_events_url":"https://api.github.com/users/Rudy24/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T03:30:49Z","updated_at":"2018-12-13T03:30:49Z","author_association":"NONE","body":"@atian25 刚咨询了下同事，有可能是因为我的操作系统是windows，所以在node_modules里面很多都是软连接"}}
{"actor":{"display_login":"Rudy24"}}