Closed sultanmyrza closed 2 years ago
please try npm i --force
Hello @AnthonyNahas
Around February I just did npm install ngx-long-press2 --legacy-peer-deps
and things worked fine. But recently out of nowhere my Github actions started to fail.
I'm not sure but is it because of ngx-long-press2
's peerDependencies
?
P.S: also in GitHub actions were configured by senior dev so I can not change
npm install
tonpm install --force or --legacy-peer-deps
so I think the next thing I will try to do is to clean up my dependencies versions.
Hello @AnthonyNahas,
I created a fresh ionic project which uses angular 14
and npm install ngx-long-press2
causing this error
So if I want to be able to install ngx-long-press2 without --force
or --legacy-peer-deps
flags what should I do? Should I update peerDependencies of ngx-long-press2 from
"peerDependencies": {
"@angular/common": "^10.0.14",
"@angular/core": "^10.0.14"
}
to
"peerDependencies": {
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0"
}
I will update the peer deps asap
Is it my environment or need to update
ngx-long-press2
project desp?