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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / NPM start - unable to ...
Power Apps
Answered

NPM start - unable to test PCF control

(0) ShareShare
ReportReport
Posted on by 132

I am trying to test the power apps component control using the npm start command via command prompt and I am getting the below error, I have tried reinstalling the Node.js and Power apps CLI multiple times but that didn't help. Is there anyone who has faced a similar error and can guide/suggest rectifying it?

 

Sahil_0-1641754520028.png

 

Thanks in advance!

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Uh, I have no idea what that is. The Liberty Liberty Liberty thing spooks me out though. What Node packages did you install in this thing?

  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Quoting the reply from here:

     

    There was global confusion yesterday when the colors npm package received a rogue update, causing the weird output. The colors package is currently used by pcf-start v1.10.4 as one of the dependencies of the live-server npm package used to refresh the loaded PCF test harness. More info on the issue is here: github.com/.../317

    The package owners have since removed the offending change, so re-running npm install should work, see below.

    To recover your PCF controls projects, either:

    - pin to a known good version of the colors package:

    > npm install -D colors@1.4.0

    - or: clear node_modules and rebuild it:

     - delete folder node_modules

     - delete package-lock.json

     - npm install

    Note that in the next coming monthly refresh of our PCF tooling (pcf-scripts and pcf-start), we already replaced live-server, although for different reasons: it was the cause of many warnings we all saw when running npm install. The live-server package seems no longer to receive code updates, hence we moved away from it

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard