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

Can not add @nebular/theme to angular 7.2.12 project. #1358

Closed
ericardezp opened this issue Apr 8, 2019 · 6 comments
Closed

Can not add @nebular/theme to angular 7.2.12 project. #1358

ericardezp opened this issue Apr 8, 2019 · 6 comments
Labels

Comments

@ericardezp
Copy link

Describe the bug
Can not add @nebular/theme to angular 7.2.12 project.

get error :
Skipping installation: Package already installed
? Which Nebular theme do you want to use: corporate
? Use customizable scss themes? Yes
? Set up browser animations for Nebular? Yes
UPDATE package.json (2775 bytes)
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @angular/cdk@~7.2.12
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'SampleApp'
npm ERR! notarget

To Reproduce
add new angular 7.2.12 project
add ng add @nebular/theme

Expected behavior
Sucssess adding @nebular/theme

Additional context
Windows 10 Enterprise 64
Visual Studio Code 1.33.0
Angular CLI version 7.3.8
Node version 10.15.3
NPM version 6.4.1

npm info @nebular/theme

@nebular/theme@4.0.0-beta.0 | MIT | deps: 1 | versions: 27
@nebular/theme
https://github.com/akveo/nebular#readme

keywords: angular, typescript, ng2-admin, ngx-admin, theme, nebular

dist
.tarball: https://registry.npmjs.org/@nebular/theme/-/theme-4.0.0-beta.0.tgz
.shasum: 8d02436c110ef2109f0acbaa94296971f668d02a
.integrity: sha512-7HR0IyamdX2J679tHdbDSzDWVPzIY0gtgXIoV/v2BDa7+g7FuTj5eRaEfp06QkmDpXLQJdW7gppJ8HdoBw9tGw==
.unpackedSize: 4.6 MB

dependencies:
intersection-observer: 0.5.0

maintainers:

dist-tags:
latest: 4.0.0-beta.0

published 6 days ago by nebular contact@akveo.com

@LucasG04
Copy link

LucasG04 commented Apr 9, 2019

I had a very similar issue.
Try to change the version of @angular/cdk in your package.json to the version in package-lock.json.

@ainhattv
Copy link

ainhattv commented Apr 9, 2019

This issue happened same with #1370
But my issue happened by eva-icons package

@sarmon
Copy link

sarmon commented Apr 10, 2019

use "ng add @nebular/theme@3.4.2"

@nnixaa
Copy link
Collaborator

nnixaa commented Apr 10, 2019

Unfortunately, we released 4.0.0-beta.0 not as pre-release, so yeah, at the moment the fix would be to stick the version to 3.* - ng add @nebular/theme@3 should do the trick.

@gregoryalary
Copy link

No update?

@xavidram
Copy link

xavidram commented Oct 1, 2019

Any Update? I am using nrwl's project structure for my applications, but it seems the @nebular/theme does not let me specify the icon pack, preventing eva-icons to be found.

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

No branches or pull requests

7 participants