Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing with -r (replace) option fails with permission issue #94

Open
apandura-tibco opened this issue Nov 14, 2019 · 0 comments
Open
Assignees

Comments

@apandura-tibco
Copy link

apandura-tibco commented Nov 14, 2019

I get an access denied error when I am trying to install a contribution with a replace -r option.

> flogo install -r github.com/project-flogo/stream@master github.com/project-flogo/stream

Error installing contribution/dependency: go: finding github.com/project-flogo/stream master
error writing go.mod: rename <my-flogo-project-path>\src\go.mod427131847.tmp <my-flogo-project-path>\src\go.mod: Access is denied.

My environment details:

Go version: go version go1.13.4 windows/amd64
Flogo CLI: flogo cli version 0.9.1-rc.2-2-g67f15b4
Go Env:

set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\apandura\AppData\Local\go-build
set GOENV=C:\Users\apandura\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=<my-gopath>\goworkspace
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\apandura\AppData\Local\Temp\go-build301400002=/tmp/go-build -gno-record-gcc-switches
@apandura-tibco apandura-tibco changed the title Installing with -r option fails with permission issue Installing with -r (replace) option fails with permission issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants