akveo / akveo/nebular

can't install nebular with angular 14

Open
#3,121 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### Issue type

**I'm submitting a ...** (check one with "x")

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**

`ng add @nebular/theme` produce error

```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ionic-app-base@0.0.0
npm ERR! Found: @angular/animations@14.2.5
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"^14.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@"^13.0.0" from @nebular/theme@9.1.0-rc.6
npm ERR! node_modules/@nebular/theme
npm ERR! @nebular/theme@"9.1.0-rc.6" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
```
**Expected behavior:**

install nebular
**Steps to reproduce:**

- make sure you have node v16.17.0 or above
- create a angular 14 project
- execute `ng add @nebular/theme`

### Other information:

**npm, node, OS, Browser**
node --version: v16.17.0
npm --version: 8.18.0
ng --vesrion: Your global Angular CLI version (14.2.4) is greater than your local version (14.2.3). The local Angular CLI version is used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.