capacitor-community / sqlite

Community plugin for native & electron SQLite databases
MIT License
426 stars 104 forks source link

ionic7-angular-sqlite-app tutorial ionic.config.json type angular-standalone doesn't exist #532

Closed ChrisHSandN closed 1 month ago

ChrisHSandN commented 1 month ago

Describe the bug The ionic7-angular-sqlite-app demo app doesn't seem to run anymore.

To Reproduce

git clone https://github.com/jepiqueau/blog-tutorials-apps.git
cd blog-tutorials-apps/Part-1/ionic7-angular-sqlite-app
npm install
ionic serve
[ERROR] Invalid project type: angular-standalone (project config: .\ionic.config.json).     
Project type must be one of: angular, react, vue, ionic-angular, ionic1, custom

Changing ionic.config.json

"type": "angular-standalone"

to

"type": "angular"

Resolves the issue

Desktop (please complete the following information):

ChrisHSandN commented 1 month ago

Oops, just realised the problem was caused by an outdated global @ionic/cli

Solution:

npm update -g @ionic/cli