Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

NG0209: Expected provider to be `multi: true` but did not get an Array

Description

The Angular runtime will throw this error when it injects a token intended to be used with multi: true but a non-Array was found instead. For example, ENVIRONMENT_INITIALIZER should be provided like {provide: ENVIRONMENT_INITIALIZER, multi: true, useValue: () => {...}}.