So bar is currently an object While using the properties A and B. Any purpose is usually a constructor; it just doesn't generally make sense. I ran into this concern utilizing docker Develop. Precisely what is your docker Variation? Upgrading to the latest version assisted me fix the issue! Optional. https://upcomingaffordableprojectbhiwadi.blogspot.com/