Skip to content

bug: Cannot use ionic serve with Vue.js #18718

@Livijn

Description

@Livijn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions