Hi everybody,
I have a problem with ‘make run’
git clone GitHub - mattermost/mattermost: Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
cd platform
git branch
- master
[linux@platform]$ make run
…
npm WARN optional dep failed, continuing fsevents@1.0.2
…
mattermost@0.0.1 build-libs /home/linux/golang/src/github.com/mattermost/platform/web/react
browserify -r crypto -r autolinker -r flux -r keymirror -r marked -r object-assign -r twemoji | uglifyjs -c -m --screw-ie8 > …/static/js/libs.min.js
WARN: Side effects in initialization of unused variable mod [-:6372,6]
WARN: Dropping unused variable hmac [-:10005,4]
WARN: Dropping unreachable code [-:11939,2]
WARN: Dropping unused variable present [-:12015,6]
WARN: Dropping unused variable prevKey [-:12029,6]
WARN: Side effects in initialization of unused variable asn1 [-:12614,4]
WARN: Side effects in initialization of unused variable bignum [-:12668,4]
WARN: Side effects in initialization of unused variable Buffer [-:12944,4]
WARN: Side effects in initialization of unused variable asn1 [-:12946,4]
WARN: Side effects in initialization of unused variable SEVEN [-:15054,4]
WARN: Side effects in initialization of unused variable n [-:15562,6]
WARN: Side effects in initialization of unused variable mLen [-:15564,6]
WARN: Dropping unused variable hLen2 [-:15567,6]
WARN: Side effects in initialization of unused variable p2 [-:15599,6]
WARN: Dropping unused variable constants [-:15639,4]
WARN: Dropping unused function forEach [-:16306,9]
WARN: Side effects in initialization of unused variable Duplex [-:16473,6]
mkdir -p web/static/js
starting react processor
starting go web server
starting compass watch
[linux@platform]$
mattermost@0.0.1 start /home/linux/golang/src/github.com/mattermost/platform/web/react
watchify --fast -x crypto -x node -x autolinker -x flux -x keymirror -x marked -x object-assign -x twemoji -o …/static/js/bundle.js -v -d ./**/*.jsx
Compass is watching for changes. Press Ctrl-C to Stop.
[10/08/15 20:32:48] [INFO] Current version is 1.0.0 (BUILD_NUMBER/BUILD_DATE/BUILD_HASH)
[10/08/15 20:32:48] [INFO] Current working directory is /home/linux/golang/src/github.com/mattermost/platform
[10/08/15 20:32:48] [INFO] Loaded config file from /home/linux/golang/src/github.com/mattermost/platform/config/config.json
[10/08/15 20:32:48] [INFO] Server is initializing…
[10/08/15 20:32:48] [INFO] Pinging sql master database
[10/08/15 20:32:48] [INFO] Pinging sql replica-0 database
[10/08/15 20:32:48] [DEBG] Initializing user api routes
[10/08/15 20:32:48] [DEBG] Initializing team api routes
[10/08/15 20:32:48] [DEBG] Initializing channel api routes
[10/08/15 20:32:48] [DEBG] Initializing post api routes
[10/08/15 20:32:48] [DEBG] Initializing web socket api routes
[10/08/15 20:32:48] [DEBG] Initializing file api routes
[10/08/15 20:32:48] [DEBG] Initializing command api routes
[10/08/15 20:32:48] [DEBG] Initializing admin api routes
[10/08/15 20:32:48] [DEBG] Initializing oauth api routes
[10/08/15 20:32:48] [DEBG] Initializing webhook api routes
[10/08/15 20:32:48] [DEBG] Parsing server templates at /home/linux/golang/src/github.com/mattermost/platform/api/templates/
[10/08/15 20:32:48] [DEBG] Initializing web routes
[10/08/15 20:32:48] [DEBG] Using static directory at /home/linux/golang/src/github.com/mattermost/platform/web/static/
[10/08/15 20:32:48] [DEBG] Parsing templates at /home/linux/golang/src/github.com/mattermost/platform/web/templates/
[10/08/15 20:32:48] [INFO] Starting Server…
[10/08/15 20:32:48] [INFO] Server is listening on :8065
[10/08/15 20:32:48] [INFO] RateLimiter is enabled
Error: EMFILE, open ‘/home/linux/golang/src/github.com/mattermost/platform/web/react/package.json’
Error: EMFILE, open ‘/home/linux/golang/src/github.com/mattermost/platform/web/react/package.json’
[Error: write after end]
Error: EMFILE, open ‘/home/linux/golang/src/github.com/mattermost/platform/web/react/package.json’
[Error: write after end]
Error: EMFILE, open ‘/home/linux/golang/src/github.com/mattermost/platform/web/react/package.json’
[Error: write after end]
Trying to open frontpage will give following error:
[linux@platform]$ [10/08/15 20:37:42] [DEBG] /
[10/08/15 20:37:43] [DEBG] /api/v1/admin/log_client
[10/08/15 20:37:43] [EROR] /api/v1/admin/log_client:client code=500 rid=uhiahtb5b3gg5xn9uwqn58tjza uid=3f7ewei1g7yu3ggtq9o9ajf8ac ip=127.0.0.1 msg: TypeError: window.setup_home_page is not a function row: 114 col: 1 stack: TypeError: window.setup_home_page is not a function url: http://dockerhost:8065/ [details: ]
[linux@platform]$ uname -a
Linux xxx 4.1.5-200.fc22.x86_64 #1 SMP Mon Aug 10 23:38:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
(mysql-mattermost)
I have successfully been able to use Mattermost with FC22 but recent pull broke it.