Open kelevro opened 7 years ago
Did you have any file open or not?
I had the same problem. I had one file open at the time. Thanks.
Running into the same issue. Specifically it was I am trying to run errorMatch using the named group "absFile".
I get the error with all files closed as well as open.
Is this still an issue?
Just got this error when trying to test an elixir project. Atom: 1.20.1 x64 Electron: 1.6.9 OS: Mac OS X 10.12.5 Thrown From: build package 0.69.0
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.isAbsolute (path.js:1200:5)
at normalizePath (/packages/build/lib/linter-integration.js:21:30)
at /packages/build/lib/linter-integration.js:36:17
at Array.map (native)
at Linter.processMessages (/packages/build/lib/linter-integration.js:32:38)
at /packages/build/lib/build.js:196:36)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:501:12)
6x -0:21 core:close (div.tool-panel.tree-view)
atom-elixir 0.2.3
build 0.69.0
build-elixir 0.7.0
busy-signal 1.4.3
elixir-alphabetize 0.3.0
elixir-cmd 0.2.9
elixir-pry 1.0.0
go-debug 1.5.2
go-plus 5.5.5
go-signature-statusbar 1.2.3
hyperclick 0.1.5
intentions 1.1.5
jekyll 2.1.0
language-elixir 0.20.3
language-haml 0.25.2
language-liquid 0.6.0
linter 2.2.0
linter-ui-default 1.6.10
vim-mode-plus 1.8.2
I can reproduce. Problem seems to be certain warnings that ErrorMatcher matches without assigning a file: field. The warning shown here is sufficient:
> mix test
Compiling 28 files (.ex)
warning: Plug.Conn.WrapperError.reraise/3 is deprecated. Use reraise/1 or reraise/4 instead.
Found at 2 locations:
lib/inzy_web/router.ex:4
lib/inzy_web/router.ex:12
Here is what the problem ErrorMatcher looks like in the debugger -- note that object 5 has no file: field.
Problem seems to be certain warnings that ErrorMatcher matches without assigning a file: field.
I can confirm this. Would be great if build
would use the active file as fallback when no file field is provided.
[Enter steps to reproduce:]
Atom: 1.17.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.3 Thrown From: build package 0.67.0
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
Commands
Non-Core Packages