I am trying Nebular for the first time, following the tutorial from their website. I created a new angular project by installing Angular CLI. This is not my first Angular project, and Angular seems to work normally. I then tried to add Nabular with
sudo ng add @nebular/theme
The installation seems to be working correctly but then I get:
Cannot find module @angular-devkit/core/src/terminal
Require stack:
- node_modules/@nebular/theme/schematics/ng-add/register-modules/index.js
- node_modules/@nebular/theme/schematics/ng-add/setup.js
- node_modules/@angular-devkit/schematics/tools/export-ref.js
- node_modules/@angular-devkit/schematics/tools/index.js
- node_modules/@angular/cli/utilities/json-schema.js
- node_modules/@angular/cli/models/command-runner.js
- node_modules/@angular/cli/lib/cli/index.js
- .npm-packages/lib/node_modules/@angular/cli/lib/init.js
- .npm-packages/lib/node_modules/@angular/cli/bin/ng
I am pretty sure Nebular was NOT installed correctly since the app.module.ts
was not modified, nor the nebular styles were added in angular.json
.
What is the problem here?