{"action":"created","issue":{"url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/26","repository_url":"https://api.github.com/repos/PPMESSAGE/ppmessage","labels_url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/26/comments","events_url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/26/events","html_url":"https://github.com/PPMESSAGE/ppmessage/issues/26","id":152531382,"number":26,"title":"docker部署出现问题","user":{"login":"canghai908","id":1450994,"avatar_url":"https://avatars.githubusercontent.com/u/1450994?v=3","gravatar_id":"","url":"https://api.github.com/users/canghai908","html_url":"https://github.com/canghai908","followers_url":"https://api.github.com/users/canghai908/followers","following_url":"https://api.github.com/users/canghai908/following{/other_user}","gists_url":"https://api.github.com/users/canghai908/gists{/gist_id}","starred_url":"https://api.github.com/users/canghai908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canghai908/subscriptions","organizations_url":"https://api.github.com/users/canghai908/orgs","repos_url":"https://api.github.com/users/canghai908/repos","events_url":"https://api.github.com/users/canghai908/events{/privacy}","received_events_url":"https://api.github.com/users/canghai908/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-02T10:53:59Z","updated_at":"2016-05-04T08:09:50Z","closed_at":null,"body":"按照官方blog部署之后，http://ppmessage.github.io/2016/03/04/Deploy-PPMessage-with-Docker/\r\n访问\r\nhttp://localhost:8080/api\r\nhttp://localhost:8080/ppkefu\r\nhttp://localhost:8080/pphome\r\n为空白或者502，查看源码ppkefu/build/css/lib.min.css 等js css文件路径不正确，都是404，请问在哪里修改\r\n在linux上部署，执行部署脚本\r\nsh dist.sh bootstrap\r\n报错\r\nroot@7941bbccb45c:/ppmessage# sh dist.sh start    \r\ndist.sh: 8: dist.sh: Syntax error: \"(\" unexpected\r\nroot@7941bbccb45c:/ppmessage# \r\n求个靠谱的安装包和安装教程，看了好久自己都没安装上去。。。。。"},"comment":{"url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/comments/216776719","html_url":"https://github.com/PPMESSAGE/ppmessage/issues/26#issuecomment-216776719","issue_url":"https://api.github.com/repos/PPMESSAGE/ppmessage/issues/26","id":216776719,"user":{"login":"canghai908","id":1450994,"avatar_url":"https://avatars.githubusercontent.com/u/1450994?v=3","gravatar_id":"","url":"https://api.github.com/users/canghai908","html_url":"https://github.com/canghai908","followers_url":"https://api.github.com/users/canghai908/followers","following_url":"https://api.github.com/users/canghai908/following{/other_user}","gists_url":"https://api.github.com/users/canghai908/gists{/gist_id}","starred_url":"https://api.github.com/users/canghai908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canghai908/subscriptions","organizations_url":"https://api.github.com/users/canghai908/orgs","repos_url":"https://api.github.com/users/canghai908/repos","events_url":"https://api.github.com/users/canghai908/events{/privacy}","received_events_url":"https://api.github.com/users/canghai908/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T08:09:49Z","updated_at":"2016-05-04T08:09:49Z","body":"找了一个ubuntu server 16.06 部署，别的都没有问题，最后一步\r\n执行\r\n```\r\nbash dist.sh gulp\r\n```\r\n出现如下错误是什么问题导致的？\r\n```\r\nroot@ubuntu:~/ppmessage# bash dist.sh gulp\r\n\r\ngenerate PPCom/PPKefu/PPConsole js\r\n(node:969) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n------------- app config --------------\r\nserver name             112.123.41.21\r\nserver protocol          http://\r\nserver host              112.123.41.21\r\nserver port              80\r\ndeveloper mode           true\r\napp version              1.2.0\r\napi key                  MTZmMDY3ZWFiNDQ0YTQyNTIxZjU2NjQ5MTEyZjM3MDg2MThlNGIyMw==\r\ngcm sender id            your gcm sender id\r\n------------- app config --------------\r\n[08:06:35] Using gulpfile ~/ppmessage/ppmessage/ppkefu/ppkefu/gulpfile.js\r\n[08:06:35] Starting 'sass'...\r\n[08:06:35] Starting 'lib-css'...\r\n[08:06:35] Starting 'lib-scripts'...\r\n[08:06:35] Starting 'copy-jcrop-gif'...\r\n[08:06:35] Starting 'copy-ionic-fonts'...\r\n[08:06:35] Starting 'scripts'...\r\n[08:06:36] Finished 'copy-jcrop-gif' after 235 ms\r\n[08:06:36] Finished 'lib-css' after 495 ms\r\n[08:06:36] Finished 'copy-ionic-fonts' after 473 ms\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nError: www/scss/_base.scss\r\nError: \".icon-40\" failed to @extend \"img.icon-40-raw\".\r\n       The selector \"img.icon-40-raw\" was not found.\r\n       Use \"@extend img.icon-40-raw !optional\" if the extend should be able to fail.\r\n        on line 61 of www/scss/_base.scss\r\n>>     @extend img.icon-40-raw;\r\n   ----^\r\n\r\n    at options.error (/root/ppmessage/ppmessage/ppkefu/ppkefu/node_modules/node-sass/lib/index.js:271:32)\r\n/root/ppmessage\r\n(node:979) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n[08:06:51] Using gulpfile ~/ppmessage/ppmessage/ppcom/web/gulp/gulpfile.js\r\n[08:06:51] Starting 'css'...\r\n[08:06:52] Finished 'css' after 356 ms\r\n[08:06:52] Starting 'merge'...\r\n[08:06:52] Finished 'merge' after 9.67 ms\r\n[08:06:52] Starting 'dev'...\r\n[08:06:52] Finished 'dev' after 381 ms\r\n[08:06:52] Starting 'default'...\r\n[08:06:52] Finished 'default' after 3.32 μs\r\n/root/ppmessage\r\n(node:988) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n[08:06:53] Using gulpfile ~/ppmessage/ppmessage/ppconsole/gulp/gulpfile.js\r\n[08:06:53] Starting 'user-css'...\r\n[08:06:53] Starting 'user-scripts'...\r\n[08:06:53] Starting 'admin-css'...\r\n[08:06:53] Starting 'admin-scripts'...\r\n[08:06:53] Finished 'admin-css' after 17 ms\r\n[08:06:53] Finished 'admin-scripts' after 20 ms\r\n[08:06:53] Starting 'admin'...\r\n[08:06:53] Finished 'admin' after 3.6 μs\r\n[08:06:53] Finished 'user-scripts' after 236 ms\r\n[08:06:53] Finished 'user-css' after 638 ms\r\n[08:06:53] Starting 'user'...\r\n[08:06:53] Finished 'user' after 5.79 μs\r\n[08:06:53] Starting 'default'...\r\n[08:06:53] Finished 'default' after 2.98 μs\r\n/root/ppmessage\r\n(node:997) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n[08:06:54] Using gulpfile ~/ppmessage/ppmessage/pphome/gulpfile.js\r\n[08:06:54] Starting 'js'...\r\n[08:06:54] Finished 'js' after 47 ms\r\n[08:06:54] Starting 'default'...\r\n[08:06:54] Finished 'default' after 24 μs\r\n/root/ppmessage\r\n```\r\n"}}