Closed dabaer closed 3 years ago
Okay, so I dug into it further, and figured out there was a global version of sobelow installed which was overriding the project's dependency.
I was able to track it down to a template of mine, which had a conditional statement that was missing a space in between the trailing do %>
. Correcting this allowed sobelow to run normally.
I'm not sure if Eex should be complaining about the lack of space, or whether sobelow should be getting caught up on this syntax error, so i'll leave this open.
Please let me know if I should open an issue with Eex.
Hi! Sorry for the delayed response, I've been out of town. Sobelow is surfacing a compiler error here, so it's something that should be caught when you build the project. If that's not the case, then that sounds like it would be an eex bug. Printing "nofile" in the error instead of an actual file name is an artifact of the way that Sobelow scans applications. This can make it confusing to pinpoint where the problem is, but attempting to compile the app should always return the same compilation errors with the appropriate file names.
If you raise an issue with eex, please feel free to tag me in the ticket.
Good Afternoon,
I'm having a strange error running sobelow on a large project:
My project runs through credo with strict checking, dialyzer, and hundreds of unit tests, and otherwise runs and operates normally.
I've attempted to debug this directly by modifying sobelow but I can't seem to get it to show me output of the arguments going into
parse.ex:101
, and nothing in the stacktrace is remotely close to any of my code.I've also completely nuked both my dependency and build directories and recompiled the entire project from scratch to no avail.
Have you seen this issue before? Am I missing something in my project?
Any help is appreciated, as I want to keep sobelow in my project for code cleanliness.
Please let me know any other information or output from my project that you might want to look at.