Hi,
I'm trying to understand PCF and I'm following the 'Create your first component' tutorial. npm run build completes without errors, but I cannot debug my component. npm start complains about 'The specified codePath 'out\controls\TSLinearInputComponent' does not exist.'
But actually there is a out\controls\TSLinearInputComponent directory containing bundle.js and ControlManifest.xml.
Something wrong with my path environment settings? I'm developing on windows...
Thank you!
Problem is solved. I was using a solution from https://stackoverflow.com/a/4896002/2075207 to setup the start directory for cmd.exe (I set this up a long time ago). Unfortunately this breaks node's process.cwd() and therefore the right directory wasn't found.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional