What's new from Ionic

The latest releases, new features, and relevant news from the Ionic team.

appflow
November 16, 2023

Workaround for Angular 17 build issue

The Appflow team has identified an issue with Appflow apps using Angular 17, the latest version of Angular, and the @angular/es-lint packages. Your web, iOS, or Android builds may fail with the error:

"Error: Cannot find module '@nx/nx-linux-x64-gnu'"

While the team investigates, you can workaround this build error by using an Appflow config file:

1. Create an "appflow.config.json" file at the root of your project.

2. Set the App Id (viewable in the Appflow dashboard) and override Appflow's default npm install command by setting "dependencyInstallCommand" to "npm ci" or "npm install".

3. Commit the file and run a new Appflow build.

{
"apps":
[
{
"appId": "YOUR-APP-ID",
"dependencyInstallCommand": "npm ci"
}
]
}
emoji negative reaction for 'Workaround for Angular 17 build issue' emoji neutral reaction for 'Workaround for Angular 17 build issue' emoji positive reaction for 'Workaround for Angular 17 build issue'
Thanks for your feedback
Create your own newsfeed