title: NRWL NX - TypeError: Cannot read properties of undefined (reading 'endsWith')
body: <p>I have nx 14.4.3 version in my system. And when I run nx serve it gives me the error :- TypeError: Cannot read properties of undefined (reading 'endsWith')</p>
  <p>Somewhere I saw answer to the question asking me to downgrade nx version to 10.4.15. But that doesn't work either. I tried nx migrate @nrwl/workspace@10.4.15. Tried uninstalling and reinstalling with npm install nx@10.4.15. No success.</p>
  <p>Please let me know where am I going wrong</p>
  <p>Thanks in advance</p>