cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rexkenley
Kudo Collector
Kudo Collector

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
v-siky-msft
Community Support
Community Support

Hi @rexkenley ,

 

Could you please try this? 

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

Sik

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,234)