logger missing warn method used in compiler.js