-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
I created a new project following the guidelines provided here by @mhartington. However, using ionic serve isn't working.
At first, I received an error saying a needed to add ionic:serve to the npm scripts. So I added that. Then I needed to install @ionic/app-scripts. Then I had to manually create a tsconfig.json which I just copied over from a project created with ionic start. However, I am still receiving this error:
[npm] [16:07:59] ionic-app-scripts 3.1.2
[npm] [16:07:59] watch started ...
[npm] [16:07:59] build dev started ...
[npm] [16:07:59] typescript error
[npm] No inputs were found in config file '/Users/fredrik/Documents/code/xxx-ionic/tsconfig.json'.
[npm] Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["./dist/out-tsc"]'.
Also, running ionic capacitor run or ionic capacitor build all fail.