web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

What is NPM?

(1) ShareShare
ReportReport
Posted on by 945

Hi, 

 

I'm sorry for I believe this is a very basic thing in this group, but what is NPM ?

 I just starting to learn PowerApps component, and on one of learning guide, they tell me to :

  1. Install PowerApps CLI, Done.
  2. Run Command prompt
  3. Go to my documents folder by "cd %userprofile%\documents" which I did and succeeded.
  4. mkdir PickListFilter (I'm not sure what is that, but probably will know soon after)
  5. cd PickListFilter
  6. Initialize the component by "pac pcf init -ns Contoso  -n PickListFilter -t field", which I did and succeded.
  7. Then run "npm install"

At that step, I failed since it is "not recognized". From what tools is that ? 

And what are step no 6 doing actually mean ?

 

Kindly help.

 

Thanks.

I have the same question (0)
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Axal , 

     

    npm is a nodejs package manager.

    I've searched in the docs history and took this pcf prequirements.

    //----------------------

    Install Microsoft PowerApps CLI

    To get Microsoft PowerApps CLI, do the following:

    1. Install Npm (comes with Node.js) or Node.js (comes with npm). We recommend LTS (Long Term Support) version 10.15.3 LTS because it seems to be the most stable.

    2. Install .NET Framework 4.6.2 Developer Pack.

    3. If you don’t already have Visual Studio 2017 or later, follow one of these options:

    4. Install Microsoft PowerApps CLI.

    5. To take advantage of all the latest capabilities, update the PowerApps CLI tooling to the latest version using this command: 

      pac install latest

     

    //------------------------

    I have no idea why I cannot find them there anymore, but at least the "npm" part can be took from there.

    Hope this helps!

     

    Kind regards,

    Diana

  • Axal Profile Picture
    945 on at

    Hi,

     

    Thanks for replying, but I'm not sure I am fully understand about it. I have installed PowerApps CLI, does it mean I still need to install those on step 1 to 3 ?

     

    Thanks,

  • cchannon Profile Picture
    4,702 Moderator on at

    Yes, the CLI is a separate tool. You still need:

    • .net 4.6.2,
    • NPM,
    • and Visual Studio Code.
  • Hemant Gaur Profile Picture
    on at

    Looks like this part was missed, we will get the docs updated with the latest information. In the meanwhile please install node.js which has npm Download | Node.js (nodejs.org) 

     

    Thanks,

    Hemant 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard