質問編集履歴
2
revel run 追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -74,4 +74,31 @@
|
|
74
74
|
CGO_LDFLAGS="-g -O2"
|
75
75
|
PKG_CONFIG="pkg-config"
|
76
76
|
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hw/971981md2gnbvcbkyb0vphj80000gn/T/go-build401938658=/tmp/go-build -gno-record-gcc-switches -fno-common"
|
77
|
+
```
|
78
|
+
|
79
|
+
### 追記(6月10日18時)
|
80
|
+
|
81
|
+
```
|
82
|
+
revel run -v revel-app
|
83
|
+
```
|
84
|
+
|
85
|
+
実行結果
|
86
|
+
```
|
87
|
+
INFO 18:04:32 revel.go:94: Import path is absolute or not specified path=
|
88
|
+
INFO 18:04:32 command_config.go:133: Checking import path /Users/macbook/golang with /Users/macbook/golang
|
89
|
+
INFO 18:04:32 revel.go:94: Returned import path path= buildpath=/Users/macbook/golang
|
90
|
+
INFO 18:04:32 command_config.go:301: Seeking remote package using= remote=github.com/revel/revel
|
91
|
+
INFO 18:04:32 command_config.go:301: Resolved called Seeking remote package remote=github.com/revel/revel using=
|
92
|
+
panic: runtime error: invalid memory address or nil pointer dereference
|
93
|
+
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x124bb0a]
|
94
|
+
|
95
|
+
goroutine 1 [running]:
|
96
|
+
github.com/revel/cmd/utils.FindSrcPaths(0x0, 0x0, 0x152a1e5, 0x16, 0x0, 0xc00021e120, 0x0, 0x0, 0x4, 0x4, ...)
|
97
|
+
/Users/macbook/golang/pkg/mod/github.com/revel/cmd@v0.21.1/utils/file.go:358 +0x3ca
|
98
|
+
github.com/revel/cmd/model.(*CommandConfig).SetVersions(0xc00017e000, 0x1528c9e, 0x14)
|
99
|
+
/Users/macbook/golang/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:301 +0xca
|
100
|
+
github.com/revel/cmd/model.(*CommandConfig).UpdateImportPath(0xc00017e000, 0x1d, 0x3)
|
101
|
+
/Users/macbook/golang/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:154 +0x5f3
|
102
|
+
main.main()
|
103
|
+
/Users/macbook/golang/pkg/mod/github.com/revel/cmd@v0.21.1/revel/revel.go:94 +0x160
|
77
104
|
```
|
1
go env, go version追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -31,4 +31,47 @@
|
|
31
31
|
|
32
32
|
### 補足情報(FW/ツールのバージョンなど)
|
33
33
|
|
34
|
-
ここにより詳細な情報を記載してください。
|
34
|
+
ここにより詳細な情報を記載してください。
|
35
|
+
|
36
|
+
### go version
|
37
|
+
```
|
38
|
+
go version go1.14.3 darwin/amd64
|
39
|
+
```
|
40
|
+
|
41
|
+
### go env
|
42
|
+
|
43
|
+
```
|
44
|
+
GO111MODULE="on"
|
45
|
+
GOARCH="amd64"
|
46
|
+
GOBIN=""
|
47
|
+
GOCACHE="/Users/macbook/Library/Caches/go-build"
|
48
|
+
GOENV="/Users/macbook/Library/Application Support/go/env"
|
49
|
+
GOEXE=""
|
50
|
+
GOFLAGS=""
|
51
|
+
GOHOSTARCH="amd64"
|
52
|
+
GOHOSTOS="darwin"
|
53
|
+
GOINSECURE=""
|
54
|
+
GONOPROXY=""
|
55
|
+
GONOSUMDB=""
|
56
|
+
GOOS="darwin"
|
57
|
+
GOPATH="/Users/macbook/golang"
|
58
|
+
GOPRIVATE=""
|
59
|
+
GOPROXY="https://proxy.golang.org,direct"
|
60
|
+
GOROOT="/usr/local/Cellar/go/1.14.3/libexec"
|
61
|
+
GOSUMDB="sum.golang.org"
|
62
|
+
GOTMPDIR=""
|
63
|
+
GOTOOLDIR="/usr/local/Cellar/go/1.14.3/libexec/pkg/tool/darwin_amd64"
|
64
|
+
GCCGO="gccgo"
|
65
|
+
AR="ar"
|
66
|
+
CC="clang"
|
67
|
+
CXX="clang++"
|
68
|
+
CGO_ENABLED="1"
|
69
|
+
GOMOD="/dev/null"
|
70
|
+
CGO_CFLAGS="-g -O2"
|
71
|
+
CGO_CPPFLAGS=""
|
72
|
+
CGO_CXXFLAGS="-g -O2"
|
73
|
+
CGO_FFLAGS="-g -O2"
|
74
|
+
CGO_LDFLAGS="-g -O2"
|
75
|
+
PKG_CONFIG="pkg-config"
|
76
|
+
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hw/971981md2gnbvcbkyb0vphj80000gn/T/go-build401938658=/tmp/go-build -gno-record-gcc-switches -fno-common"
|
77
|
+
```
|