cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

pac pcf init not working

Hi.

 

I have installed all components as described on https://docs.microsoft.com/en-gb/learn/modules/build-power-app-component/1-create-code-component but when I run the pac pcf init command nothing happens (see attachment).

 

Already removed e reinstalled, restarted computer, etc.

 

Any idea of what could be wrong?

 

5 REPLIES 5
ryanspain
Advocate I
Advocate I

Hi @Anonymous,

 

I see you are using Visual Studio Developer Command Prompt. 

 

I recommend using PowerShell or standard command line. There should be no issues once you have the Power App CLI installed.

 

Let us know if that helps,

Ryan

Anonymous
Not applicable

Hi @ryanspain 

 

I´ve tried all of them. I will try to remove everything and install it again.

 

Thanks.

Hi @Anonymous 

Not sure if this will help, but some of my colleagues had some problems with the telemetry. It was blocked somehow (not sure if the antivirus had problems, or something else).

Disabling the telemetry helped them. Maybe it's worth trying:

pac telemetry disable

Best regards,

Diana 

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Anonymous
Not applicable

Hi @DianaBirkelbach 

 

Thanks for your reply, but apparently I don`t have this option?

When I run command pac help, I only see 2 options:

 

C:>pac help
Launcher usage: pac [install] [use]

install <version# | latest> Install 'latest' or a specified version of the Microsoft PowerApps CLI
use <version# | latest> Use 'latest' or a specified version of the Microsoft PowerApps CLI

 

 

@Anonymous 

Interesting!! What happens when you run following command?

pac install latest

 Can you post the output from the above command?


Power Maverick | Microsoft Business Application MVP

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,382)