cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LucasFigueredo
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
ryanspain
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

LucasFigueredo
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.

DianaBirkelbach Advocate V
Advocate V

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 

LucasFigueredo
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

 

 

PowerMaverick Advocate III
Advocate III

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Users online (6,066)