Error in dev environment


Hello, I’m setting up the dev environment on my MacBook. I followed the contribution guide, and seems to got concourse running. But when I tried to open UI “http://localhost:8080/”, I got error from concourse console:

web_1     | 2019/01/22 02:40:17 http: panic serving template: index:8:18: executing "index" at <asset "main.css">: error calling asset: stat /src/web/public/main.css: no such file or directory
web_1     | goroutine 304 [running]:
web_1     | net/http.(conn).serve.func1(0xc0008f6320)
web_1     |     /usr/local/go/src/net/http/server.go:1746 +0x11e
web_1     | panic(0x20d8d80, 0xc0008464a0)
web_1     |     /usr/local/go/src/runtime/panic.go:513 +0x1e6
web_1     |, 0x227e178, 0x18, 0x26df9a0, 0xc0008464a0, 0xc00016a250, 0x1, 0x1)
web_1     |     /go/pkg/mod/ +0x7ba
web_1     |*handler).ServeHTTP(0xc0005602c0, 0x26f9f80, 0xc0003eb540, 0xc000653800)
web_1     |     /src/web/indexhandler/handler.go:68 +0x346

What am I missing?


I ran the following command, then solved the error:

npm install -g cnpm --registry=
cnpm install
cnpm install --save element-ui vue-resource
cnpm run build