cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rexkenley
Level 8

How do you change the buildmode in pct-scripts?

Hi

 

I am trying to change the buildmode when I run start. I tried pcf-scripts start --buildMode development but it doesn't work as it still builds in production mode.

 

Any ideas? Thanks!

2 REPLIES 2
Microsoft v-siky-msft
Microsoft

Re: How do you change the buildmode in pct-scripts?

Hi @rexkenley ,

 

Could you please try this? 

pcf-scripts build "--noColor" "--buildmode" "development" "--outDir" "<folder path>"

Sik

rexkenley
Level 8

Re: How do you change the buildmode in pct-scripts?

Hi Sik

 

Thanks for the suggestion. However, I am still getting the same error. *I know the cause, but that is entirely a different issue.

We should be able to see what is causing the "Invariant Violation". But it looks like the buildmode is not affecting this particular part of the bundle that has the exception.

 

Annotation 2020-01-06 081025.png

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Users online (8,814)