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
Skilled Sharer
Skilled Sharer

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

 

 

Highlighted
Advocate IV
Advocate IV

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Users online (7,376)