I have one package of abandon-ware that works fine with Angular 14, however, when I try and build with appflow, I’m getting a ERESOLVE could not resolve
error because of the version of rxjs.
On my home system, I just npm install with --legacy-peer-deps and it works fine.
Is there any way to tell the appflow build to use --legacy-peer-deps and ignore these errors?
I fixed this by adding in a .npmrc
file with the line legacy-peer-deps=true
The npm ci worked great!
2 Likes
I have an issue too with this.
How can I bypass this step:
[06:40:29]: — Step: dependency_install —
[06:40:29]: --------------------------------
[06:40:29]: Installing Dependencies (in /builds/olishiz/futbuddy-app)
[06:40:29]: $ npm ci --omit=optional --quiet
By making AppFlow to run ‘npm ci --force’ or etc?
[06:40:30]: ▸ npm ERR! A complete log of this run can be found in:
[06:40:30]: ▸ npm ERR! /root/.npm/_logs/2023-08-25T06_40_30_288Z-debug-0.log
[06:40:30]: npm ci
failed falling back to npm install
[06:40:30]: $ npm install --omit=optional --quiet
When ‘npm ci fails’ , then only npm install command would initiliaze. How can i make this npm install to use --force option?
Have you find out how to do it?
check dependencyInstallCommand
1 Like
thank you, i’ll check it out!