-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Updating Nebular to 2.0.0 error at compiling #856
Comments
Hello ! Same problem.
It's normal ? Material is now required ? Thank's |
I have @angular/cdk installed. |
Hey Guys, yes, since 2.0 Nebular requires Angular CDK (Component Development Kit) which is not Material per se (even though CDK is hoster on material website), and just a bunch of useful helpers to build better components 🙂 (here are some more details https://material.angular.io/cdk/categories). As for the error - it looks really strange, we will look into. As a workaround, instead of the pre-built styles, you can use scss setup, here are some details on it in the documentation https://akveo.github.io/nebular/docs/guides/enable-theme-system#normal-setup. |
same issue here :( |
Hi, Please take a look at the cosmic.css, default.css, corporate.css files I think that it's an hard coded path in the scss file but i can't find where. Anyway removing this import solved the build issue |
2.0.1 is released with a fix for this issue. |
for those who are searching and solving same errors you can refer this link. I have forked this repo and fixed with nebular 2.0.2 starter-kit |
Compiling error
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
After updating to the new versión (2.0.0) and running the "ng serve" command, I get the next error:
ERROR in ./node_modules/@nebular/theme/styles/prebuilt/default.css (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/@nebular/theme/styles/prebuilt/default.css)
Module build failed: Error: Can't resolve '/Users/nixa/Development/Projects/Akveo/nebular/node_modules/@angular/cdk/overlay-prebuilt.css' in 'C:\Projects\Project\Project\ClientApp\node_modules@nebular\theme\styles\prebuilt'
Expected behavior:
A compilation without errors.
Steps to reproduce:
Update the version.
I don't know if I'm the only one who is getting this error after updating. Maybe it's an error of mine and I apologize if that is the case.
Keep the great work!
The text was updated successfully, but these errors were encountered: