# Chapter 10: Failed to build build\_runner:build\_runner

**URL:** <https://forums.kodeco.com/t/chapter-10-failed-to-build-build-runner-build-runner/155988>\
**Category:** Flutter Apprentice\
**Created:** [November 4, 2021, 7:24pm UTC](https://forums.kodeco.com/t/chapter-10-failed-to-build-build-runner-build-runner/155988 "2021-11-04T19:24:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamieblumberg](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jamieblumberg/32/102075_2.png) [@jamieblumberg](https://forums.kodeco.com/u/jamieblumberg)\
**Post date:** [November 4, 2021, 7:24pm UTC](https://forums.kodeco.com/t/chapter-10-failed-to-build-build-runner-build-runner/155988/1 "2021-11-04T19:24:44Z")

</div>

I have run into an error that I haven’t been able to work around in Chapter 10: Serialization with Json. At the step where we are supposed to run  
`flutter pub run build_runner build`  
in the Terminal I always get the same error:  
`The property 'displayString' is defined in multiple extensions for 'TargetKind' and neither is more specific.`

Initial research indicates that this is likely an issue with versions of meta and analyzer being used, but it appears that I cannot use the newer versions that fix the issue because of dependencies in the json\_serializable package. Any suggestions?

---

<div class="post-metadata">

**Author:** ![kevindmoore](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kevindmoore/32/109046_2.png) [@kevindmoore](https://forums.kodeco.com/u/kevindmoore)\
**Post date:** [November 7, 2021, 12:08am UTC](https://forums.kodeco.com/t/chapter-10-failed-to-build-build-runner-build-runner/155988/2 "2021-11-07T00:08:24Z")

</div>

Can you give me a bit more information? Are you on the flutter stable channel? (Type flutter channel from the command line to find out). What are the versions you have for your packages?  
Currently it should be:  
cupertino\_icons: ^1.0.3  
cached\_network\_image: ^3.1.0  
flutter\_slidable: ^0.6.0  
flutter\_svg: ^0.22.0  
shared\_preferences: ^2.0.7  
json\_annotation: ^4.1.0

and then:  
build\_runner: ^2.1.1  
json\_serializable: ^4.1.4

Let me know if your version numbers are different
