mattermost / mattermost-plugin-starter-template

Build scripts and templates for writing Mattermost plugins.
https://developers.mattermost.com/extend/plugins/
Apache License 2.0
129 stars 120 forks source link

Error after running `make` #140

Closed gleke closed 1 year ago

gleke commented 3 years ago
gleke@gleke-QTJ5: ~$ git clone --depth 1 https://github.com/mattermost/mattermost-plugin-starter-template com.example.my-plugin

gleke@gleke-QTJ5:~$ cd com.example.my-plugin
gleke@gleke-QTJ5:~$ make

> @ check-types /home/gleke/com.example.my-plugin/webapp
> tsc

Running golangci-lint
golangci-lint run ./...
ERRO Running error: context loading failed: no go files to analyze 
Makefile:43: recipe for target 'check-style' failed
make: *** [check-style] Error 5
gleke@gleke-QTJ5:~/com.example.my-plugin$ 
hanzei commented 3 years ago

What version of golangci-lint are you running?

gleke commented 3 years ago

golangci-lint has version 1.33.0 built from b90551c on 2020-11-23T05:15:36Z

hanzei commented 3 years ago

Hm, I can't reproduce the issue on my local server. But I found a similar issue on the golangci-lint repo: https://github.com/golangci/golangci-lint/issues/825. Does one of the tips like https://github.com/golangci/golangci-lint/issues/825#issuecomment-666038142 help you?

hanzei commented 1 year ago

Closing as a stale ticket