Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48979

Cannot run the app

$
0
0

Hi,

I’m trying to build my first app using the Ionic framework.

I run ionic start myFirstApp blank --type=vue from command-line.
Then I move to the new project directory cd ./myFirstApp and run ionic serve.
Then I get this message:

[INFO] Looks like @vue/cli-service isn't installed in this project.

       This package is required for this command to work properly. The package provides a CLI utility, but the
       vue-cli-service binary was not found in your PATH.

? Install @vue/cli-service? (Y/n)

I select Yes and get:

> npm i -D -E @vue/cli-service

up to date, audited 37 packages in 3s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
> vue-cli-service serve
[ERROR] vue-cli-service command not found.

I also tried manually entering npm i -D -E @vue/cli-service

but I’m still getting [INFO] Looks like @vue/cli-service isn't installed in this project. after run ionic serve

Ionic:

   Ionic CLI       : 6.17.1 (/Users/brojor/.nvm/versions/node/v14.17.6/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/vue 5.8.1

Utility:

   cordova-res : not installed globally
   native-run  : not installed globally

System:

   NodeJS : v14.17.6 (/Users/brojor/.nvm/versions/node/v14.17.6/bin/node)
   npm    : 7.24.1
   OS     : macOS Big Sur

Can someone please help me figure this out?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>