Skip to content

ionic serve: @ionic/app-scripts isn't installed in this project, but it is. #3399

@tonysamperi

Description

@tonysamperi

Description:
ionic serve: @ionic/app-scripts isn't installed in this project, but it is.
I started having the issue right after upgrading ionic-cli

Steps to Reproduce:
Update from ionic@3.9.2 to ionic@4.0.1
On a project created with ionic@3.9.2

Output:

ERROR] @ionic/app-scripts is required for ionic serve to work properly.

        Looks like @ionic/app-scripts isn't installed in this project.

        This package is required for ionic serve in ionic/angular 4 projects.

ioni
My ionic info:
I was downgrading while creating this question...Didn't see this. Sorry.
This is the info after downgrade:

cli packages: (C:\nvm\v6.14.2\node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : not installed
    Gulp CLI    : not installed globally

local packages:

    @ionic/app-scripts : 3.1.10
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v6.14.2
    npm  : 3.10.10
    OS   : Windows 10

Other Information:
When I downgraded I simply ran npm i -g ionic@3.9.2

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