cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Frequent Visitor

Re: pac pcf init not working

Hi @LucasFigueredo,

 

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

Highlighted
New Member

Re: pac pcf init not working

Hi @ryanspain 

 

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

 

Thanks.

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: pac pcf init not working

Hi @LucasFigueredo 

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 

Highlighted
New Member

Re: pac pcf init not working

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

 

 

Re: pac pcf init not working

@LucasFigueredo 

Interesting!! What happens when you run following command?

pac install latest

 Can you post the output from the above command?

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,634)