Weird bug with IntelliJ and NodeJS