Skip to content

How To: Add a new setting #28

Answered by ClemensElflein
maehw asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you are right. We have to rebuild the app in order to include the new setting. The code is generated during building, not during runtime. Sorry, I forgot.

I have tried this in the last hours and am finally able to build the app again. 🎉

It turns out, that the package.json file had some dependencies missing as well as a wrong one..? I'm not sure how this even worked before.

So, hopefully, you should be able to build the app as follows:
0. I have the following versions of node and npm installed:

~ npm -v
8.4.1
➜  ~ node -v 
v17.5.0
  1. Install the ionic cli. It needs to be installed globally.
sudo npm i -g @ionic/cli
  1. Install all dependencies. This is done by executing npm install in …

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

maehw
Feb 21, 2022
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@ClemensElflein
Comment options

@maehw
Comment options

maehw Feb 27, 2022
Collaborator Author

@maehw
Comment options

maehw Feb 27, 2022
Collaborator Author

@ClemensElflein
Comment options

@maehw
Comment options

maehw Feb 27, 2022
Collaborator Author

Answer selected by ClemensElflein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants