Seems this is the root cause of the following https://github.com/dart-lang/pub/issues/1666 https://github.com/dart-lang/pub-dartlang-dart/issues/230 Solution: remove single quote from set of considered boundary characters