08-13-2023 05:19
08-13-2023 05:19
As all developers I was forced to use the CLI now.
In the studio I have multiple package.json. one for SDK4 and one for SDK6.
I have duplicated the.gui and .view files so that I have a single project / codebase to manage. Switching betweek SDK in studio only involved renaming the Package.jsonSDK6 to Package.json
In the CLI, I think the fastest way is to. Rename the package.sjon. Remove package.lock.jason. do "npm install", "NPX fitbit" and then "build". Is this truly the fastest way, or are there other methods?
The installing of NPM does not always go without errors which makes switching SDK more time consuming.
08-13-2023 08:34
08-13-2023 08:34
Hi @Pietero - renaming the package.json and deleting the lock file works but the node_modules are different.
Another way is to duplicate the projects which has the following advantages.
Author | ch, passion for improvement.