Skip to content

Doesn't work on Ionic 5 - Missing app-scripts packageΒ #58

@Squix

Description

@Squix

The build process seems to have changed since this script.
Ionic-app-scripts aren't anymore present in the package.json and adding their package doesn't solve anything.

package.json :

" ... scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" } ...

Error message when launching ionic-version, both from CLI and postversion npm script :

[IV] Is this the right folder? Cannot find module '@ionic/app-scripts' in C:\Users\Squix\appProject [IV] Pass the project path as an argument, see --help for usage. Usage: cli [options] [projectPath] ...

I'm obviously running it in an app folder with the package.json, moreover, it doesn't work either when giving it the path of the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions