'ComponentFramework' is not defined – eslint with pac pcf init

Scott DurowDyn365CE3 years ago10 Views

At some point, over the last few months, a change was introduced to the Power Platform CLI such that if you have the ESLint VS Code add-in installed, after using pac pcf init, you may see an error in VS code:

  • 'ComponentFramework' is not defined.eslint(no-undef)

This might look something like this in the index.ts file:

The reason for this is that the pac pcf init template now includes an…

Continue Reading Develop1’s Article on their blog

‘ComponentFramework’ is not defined – eslint with pac pcf init

Develop 1 Limited Blog – Microsoft Dynamics 365 Solutions – At some point, over the last few months, a change was introduced to the Power Platform CLI such that you may get eslint errors after using pac pcf init.

Blog Syndicated with Develop1’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...