Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Problems when executing "make run" while trying to setup mattermost on Windows

$
0
0

Hi all, I hope some of you can help me.
I am trying to compile and run Mattermost on my local machine. Tried with the docker one line installation, which works fine, but I am having some trouble getting the system running from the source that I pulled from GitHub.

I have been following the steps on the developer setup guide:

Developer Machine Setup (the Windows part)

I have installed all the needed parts, until step 7, where the make run part fails.
I have tried to make sure that I have access to github through ssh, which does not seem to help.

Console output:

{ platform } master » make run                                    /cygdrive/c/mattermost/platform
Starting docker containers
restarting mattermost-webrtc
Running mattermost for development
mkdir -p ./webapp/dist/files
go run  -ldflags "-X github.com/mattermost/platform/model.BuildNumber=dev -X 'github.com/mattermost/platform/model.BuildDate=Sat, Jan 21, 2017  3:19:40 PM' -X github.com/mattermost/platform/model.BuildHash=24553164b6166e01ed27a5c5de476d73c6369461 -X github.com/mattermost/platform/model.BuildHashEnterprise=none -X github.com/mattermost/platform/model.BuildEnterpriseReady=false" ./cmd/platform/*.go &
Running mattermost client for development
cd ./webapp && make run
make[1]: Entering directory '/cygdrive/c/mattermost/platform/webapp'
Getting dependencies using npm
npm install
cmd\platform\oldcommands.go:14:2: cannot find package "github.com/alecthomas/log4go" in any of:
        C:\go\src\github.com\alecthomas\log4go (from $GOROOT)
        C:\mattermost\src\github.com\alecthomas\log4go (from $GOPATH)
cmd\platform\mattermost.go:19:2: cannot find package "github.com/dgryski/dgoogauth" in any of:
        C:\go\src\github.com\dgryski\dgoogauth (from $GOROOT)
        C:\mattermost\src\github.com\dgryski\dgoogauth (from $GOPATH)
cmd\platform\mattermost.go:20:2: cannot find package "github.com/go-ldap/ldap" in any of:
        C:\go\src\github.com\go-ldap\ldap (from $GOROOT)
        C:\mattermost\src\github.com\go-ldap\ldap (from $GOPATH)
cmd\platform\channel.go:8:2: cannot find package "github.com/mattermost/platform/api" in any of:
        C:\go\src\github.com\mattermost\platform\api (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\api (from $GOPATH)
cmd\platform\channel.go:9:2: cannot find package "github.com/mattermost/platform/app" in any of:
        C:\go\src\github.com\mattermost\platform\app (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\app (from $GOPATH)
cmd\platform\ldap.go:6:2: cannot find package "github.com/mattermost/platform/einterfaces" in any of:
        C:\go\src\github.com\mattermost\platform\einterfaces (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\einterfaces (from $GOPATH)
cmd\platform\server.go:21:2: cannot find package "github.com/mattermost/platform/manualtesting" in any of:
        C:\go\src\github.com\mattermost\platform\manualtesting (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\manualtesting (from $GOPATH)
cmd\platform\channel.go:10:2: cannot find package "github.com/mattermost/platform/model" in any of:
        C:\go\src\github.com\mattermost\platform\model (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\model (from $GOPATH)
cmd\platform\mattermost.go:16:2: cannot find package "github.com/mattermost/platform/model/gitlab" in any of:
        C:\go\src\github.com\mattermost\platform\model\gitlab (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\model\gitlab (from $GOPATH)
cmd\platform\oldcommands.go:19:2: cannot find package "github.com/mattermost/platform/store" in any of:
        C:\go\src\github.com\mattermost\platform\store (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\store (from $GOPATH)
cmd\platform\channel.go:11:2: cannot find package "github.com/mattermost/platform/utils" in any of:
        C:\go\src\github.com\mattermost\platform\utils (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\utils (from $GOPATH)
cmd\platform\oldcommands.go:21:2: cannot find package "github.com/mattermost/platform/web" in any of:
        C:\go\src\github.com\mattermost\platform\web (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\platform\web (from $GOPATH)
cmd\platform\mattermost.go:21:2: cannot find package "github.com/mattermost/rsc/qr" in any of:
        C:\go\src\github.com\mattermost\rsc\qr (from $GOROOT)
        C:\mattermost\src\github.com\mattermost\rsc\qr (from $GOPATH)
cmd\platform\channel.go:12:2: cannot find package "github.com/spf13/cobra" in any of:
        C:\go\src\github.com\spf13\cobra (from $GOROOT)
        C:\mattermost\src\github.com\spf13\cobra (from $GOPATH)
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9: Cloning into 'C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9'...
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9: fatal: '/cygdrive/c/Users/skm/AppData/Roaming/npm-cache/_git-remotes/git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315/C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315' does not appear to be a git repository
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9:
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9: and the repository exists.
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-b3263315 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-41106f2c\1adb66d8df3d582f4434e8e6cd401715463643d9:
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9: Cloning into 'C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9'...
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9: fatal: '/cygdrive/c/Users/skm/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73/C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73' does not appear to be a git repository
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9:
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9: and the repository exists.
npm ERR! git clone C:\Users\skm\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-mattermost-marked-git-1adb66d8df3d582f4434e8e6cd401715463643d9-56d2aa73 C:\Users\skm\.babun\cygwin\tmp\npm-1072-8e533535\git-cache-a5c9ba80\1adb66d8df3d582f4434e8e6cd401715463643d9:
npm ERR! git fetch -a origin (git@github.com:mattermost/marked.git) Permission denied (publickey).
npm ERR! git fetch -a origin (git@github.com:mattermost/marked.git) fatal: Could not read from remote repository.
npm ERR! git fetch -a origin (git@github.com:mattermost/marked.git)
npm ERR! git fetch -a origin (git@github.com:mattermost/marked.git) Please make sure you have the correct access rights
npm ERR! git fetch -a origin (git@github.com:mattermost/marked.git) and the repository exists.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\node\\node.exe" "C:\\Users\\skm\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.4
npm ERR! npm  v4.1.1
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\mattermost\platform\webapp\npm-debug.log
Makefile:14: recipe for target '.npminstall' failed
make[1]: *** [.npminstall] Error 1
make[1]: Leaving directory '/cygdrive/c/mattermost/platform/webapp'
Makefile:396: recipe for target 'run-client' failed
make: *** [run-client] Error 2

Thanks a lot, and I hope that some of you can pinpoint the problem.

//Steffen


Viewing all articles
Browse latest Browse all 25778

Trending Articles