It looks like the Elm package and the npm package are different versions. Try updating both, latest version is 1.0.2.
1.0.2