Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Windows: Open single file crashes plugin #1306

Closed
avoidik opened this issue Oct 28, 2017 · 1 comment
Closed

Windows: Open single file crashes plugin #1306

avoidik opened this issue Oct 28, 2017 · 1 comment

Comments

@avoidik
Copy link

avoidik commented Oct 28, 2017

Hello,

Attempt to open single go-file finished with plugin failure.

Activating extension `lukehoban.Go` failed:  Cannot read property 'substr' of undefined
Here is the error stack:  TypeError: Cannot read property 'substr' of undefined
	at Object.getCurrentGoPath (C:\Users\vja\.vscode\extensions\lukehoban.go-0.6.66\out\src\util.js:301:34)

Full error log:
https://pastebin.com/8Vyti4kK

Environment variables

echo %GOROOT%
C:\tools\go\
echo %GOPATH%
C:\Users\vja\go\
echo %PATH%
...;c:\Users\vja\go\bin
@ramya-rao-a
Copy link
Contributor

Thanks for reporting @avoidik

The fix for this is in the master branch.
Will be releasing an update this week.
See #1271 (comment) to get the fix before the release

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants