Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Squix opened this issue Feb 4, 2020 · 5 comments
Open

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

Squix opened this issue Feb 4, 2020 · 5 comments

Comments

@Squix
Copy link

Squix commented Feb 4, 2020

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

@carlosen14
Copy link

carlosen14 commented Aug 27, 2020

throws this, looks like is looking for @ionic/app-scripts lib.

[IV] Cannot find module '@ionic/app-scripts'
Require stack:
- /home/carlos/test/ecommerce-mobile/noop.js
[IV] Is this the right folder? Looks like there isn't a package.json here.
[IV] Pass the project path as an argument, see --help for usage.

@carlosen14
Copy link

installed @ionic/app-scripts on proyect, now when i run ionic-version, this copy the package.json version to config.xml version. Both ended up with the same version.

@HugoGresse
Copy link

Any news on this? maybe we need to create a fork?

@Squix
Copy link
Author

Squix commented Jan 26, 2021

I created an in-house node script to edit Android gradle file and IOS Plist.
Will be interested to contribute @HugoGresse

@thiras
Copy link

thiras commented Jun 11, 2021

The issue still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants