Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Packaging a code component with spaces in the folder path throws error

(0) ShareShare
ReportReport
Posted on by 186

Packaging a code component with spaces in the folder path throws error. FolderWithSpaceIssue.png

  • Danish N. Profile Picture
    186 on at
    Re: Packaging a code component with spaces in the folder path throws error

    Re-installing the CLI tool resolved the issue. Thank you.

  • Verified answer
    sgpchenchang Profile Picture
    on at
    Re: Packaging a code component with spaces in the folder path throws error

    Hi @PowerMaverick ,

    I took a look at the error and I tried to reproduce issue using the exact same version. However I was not able to repro and we are also aware that this issue was fixed a while back. Can you potentially try to re-install the tool? If it still doesn't work I suggest to rename the folder to work around this issue until the root cause is identified by us. Thank you and sorry for the inconvenience.

  • Danish N. Profile Picture
    186 on at
    Re: Packaging a code component with spaces in the folder path throws error

    Hi @sgpchenchang

    That's what I thought. My PCF CLI is updated to the latest version. As you can see in the screenshot attached the PCF CLI version is 1.0.6 but when adding reference of a component to solution throws an error. I have wrapped the path in quotes as well. This is only happening for add-reference command.

  • sgpchenchang Profile Picture
    on at
    Re: Packaging a code component with spaces in the folder path throws error

    Hello @PowerMaverick ,

     

    The major version of the CLI has been bumped to 1.x four weeks ago. This issue should be resolved in the latest update. Please follow this post  for details upgrade steps. Thank you!

  • Mikkelsen2000 Profile Picture
    on at
    Re: Packaging a code component with spaces in the folder path throws error

    Can you pls. provide additional details on this? Thanks

  • Danish N. Profile Picture
    186 on at
    Re: Packaging a code component with spaces in the folder path throws error
    May I know when is the next update scheduled to address this issue?
  • Danish N. Profile Picture
    186 on at
    Re: Packaging a code component with spaces in the folder path throws error
    Awesome. Thanks
  • Verified answer
    alchin Profile Picture
    Microsoft Employee on at
    Re: Packaging a code component with spaces in the folder path throws error

    Hi there, this issue should be addressed in the next update.  Thank you.

  • alchin Profile Picture
    Microsoft Employee on at
    Re: Packaging a code component with spaces in the folder path throws error

    Ah apologies, I didn't notice that you already tried with double quotes.  Let me try reproducing and filing a defect on this.

     

    Thanks,

    a/c

  • Danish N. Profile Picture
    186 on at
    Re: Packaging a code component with spaces in the folder path throws error

    Already tired it but still fails. See the posted image in orginal question above (highlighted in yellow)

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard