Open lookea opened 4 years ago
Bumping as this issue is still relevant on:
netlify lm:info
✔ Checking Git version [2.25.1]
✔ Checking Git LFS version [2.9.2]
✔ Checking Git LFS filters
✔ Checking Netlify's Git Credentials version [0.1.10]
The error shows up as:
git lfs pull
panic: runtime error: slice bounds out of range [:6] with length 0
goroutine 1 [running]:
github.com/netlify/netlify-credential-helper/credentials.getCredentials(0xbb2980, 0xc00000e018, 0xbb29c0, 0xc00000e020, 0xc000228460, 0xb2aa68)
/*****/netlify-credential-helper/credentials/credentials.go:127 +0xd1e
github.com/netlify/netlify-credential-helper/credentials.handleCommand(0x7ffca984556f, 0x3, 0xbb2980, 0xc00000e018, 0xbb29c0, 0xc00000e020, 0xa93a20, 0xb9ce04)
/*****/netlify-credential-helper/credentials/credentials.go:66 +0x7c
github.com/netlify/netlify-credential-helper/credentials.HandleCommand()
/*****//netlify-credential-helper/credentials/credentials.go:53 +0x32c
main.main()
/*****//netlify-credential-helper/cmd/netlify-credential-helper/main.go:6 +0x25
Username for 'https://febcb71f-a965-4a07-998b-a6962e4400ae.netlify.app':
This is a deal breaker for cloning on remote servers; the workaround is to copy your local config.json
to that remove server via scp etc, and is arguably not sustainable.
Echoing this sentiment. I have encountered this error, and it has removed the viability of LMS for my team.
Still no fix for this?
When using NETLIFY_AUTH_TOKEN
The following happens when I run lm:setup that do auth without the env variable