Intellij Inspections - JavaScript - Unresolved variable or type - Failing only on one agent

We have two agents. As far as I can tell, other than the agent path, these machines are identical in configuration.  Suddenly, about 3 weeks ago, and only on one agent, this standard JS inspection starts to fail on basic objects (like document):

Unresolved variable or type

 

I have no idea what could be causing this issue. I've compared the build logs for the the two, and other than paths and build ID values, they are identical. 

0
3 comments

Samples of what is being flagged:

 

0

Hi Keith,

Can you please share more details regarding the standard JS inspection you are referring to? Perhaps comparing the Build Details Page → Parameters from builds run in the two agents can be helpful in spotting if there is any difference between the two agents. If nothing is found there, you can also compare the Agent Details Page → Parameters of the two agents.

Please let me know if this helps.

0

I did that and they were identical. I fixed the issue by removing and reinstalling the build agent on the problem machine.

0

Please sign in to leave a comment.