olebedev / go-starter-kit

[abandoned] Golang isomorphic react/hot reloadable/redux/css-modules/SSR starter kit
Other
2.82k stars 358 forks source link

Unable to run `make serve` following instructions in README #9

Closed dimroc closed 8 years ago

dimroc commented 8 years ago

I get three compiler errors around g-bindata:

  1. src/github.com/dimroc/go-starter-kit/src/app/server/app.go:64: undefined: Asset
  2. src/github.com/dimroc/go-starter-kit/src/app/server/app.go:65: undefined: AssetDir
  3. src/github.com/dimroc/go-starter-kit/src/app/server/react.go:191: undefined: Asset

I have done nothing with the included deps.json, which is where I should probably start looking. My experience with go dependencies is with Godep however, which isn't being used here.

Details below:

dimroc@Dimitris-MBP-2: go-starter-kit (master)$ go version
go version go1.5.1 darwin/amd64

dimroc@Dimitris-MBP-2: go-starter-kit (master)$ make serve
cleaned
 61% 64/75 build modulesContainer#eachAtRule is deprecated. Use Container#walkAtRules instead.
Container#eachRule is deprecated. Use Container#walkRules instead.
Container#eachDecl is deprecated. Use Container#walkDecls instead.
Node#style() is deprecated. Use Node#raw()
Container#remove is deprecated. Use Container#removeChild
 62% 65/75 build modulesNode#before is deprecated. Use Node#raws.before
Hash: 4d7d9421b397e0839078
Version: webpack 1.12.2
Time: 4274ms
                                        Asset       Size  Chunks             Chunk Names
building@58ca48db9e7cd1cfa3aeebcb77db21cf.jpg     204 kB          [emitted]
 favicon@71e4b47eb774474184d8ac2302d45f3e.ico  205 bytes          [emitted]
                                    bundle.js    1.12 MB       0  [emitted]  bundle
                                   bundle.css    4.23 kB       0  [emitted]  bundle
    + 359 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
Child extract-text-webpack-plugin:
        + 3 hidden modules
/Users/dimroc/go_workspace/src/github.com/dimroc/go-starter-kit/bin/go-bindata -pkg=server -prefix=src/app/server/data -debug -o=src/app/server/bindata.go src/app/server/data/...
cat: .pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
# github.com/dimroc/go-starter-kit/src/app/server
src/github.com/dimroc/go-starter-kit/src/app/server/app.go:64: undefined: Asset
src/github.com/dimroc/go-starter-kit/src/app/server/app.go:65: undefined: AssetDir
src/github.com/dimroc/go-starter-kit/src/app/server/react.go:191: undefined: Asset
make[1]: *** [restart] Error 2
make: *** [serve] Error 2
dimroc commented 8 years ago

I mucked around with the src/ path when I shouldn't have.

olebedev commented 8 years ago

@dimroc btw, srlt used here instead Godep, check it if you need to ensure that deps are actual.

whatisgravity commented 8 years ago

I get a panic when using srlt as described in the readme

panic: exit status 128

Anyone have any experience with this?

olebedev commented 8 years ago

@whatisgravity could you provide the full output and the command that you typed?

whatisgravity commented 8 years ago

I apologize, I got it working after I correctly built the binaries