Running ember s

I get this error when i try to run the server after i installed emberx-select:

Cannot read property ‘indexOf’ of undefined
TypeError: Cannot read property ‘indexOf’ of undefined
at /Users/Sho/Desktop/Tracker/Tracker/node_modules/emberx-select/index.js:14:25

Before I was able to get to the sightings/new page without being able to submit

Install EmberX-Select p.437. Try running an older version of EmberX-Select.

After careful debugging I was finally able to resolve the issue.
In package.json the version of emberx-select was ‘2.2.3’, so I tried changing it manually via NPM but it didnt work.
However, I used yarn upgrade emberx-select and it update it to the latest version which is ‘3.0.0’. My package.json file was updated and server runs fine now