acnow pro asked 5 years ago


Getting an error that module is not found.. What should I do? Please, read below:

acs-iMac:ng-uikit-pro-standard-6.2.3 ac$ ng serve --open

Your global Angular CLI version (6.2.2) is greater than your local

version (6.2.1). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

Could not find module "@angular-devkit/build-angular" from "/ac/Trainning/mdbootstrap/mdb-angular-small-bundle-6.2.3/ng-uikit-pro-standard-6.2.3".

Error: Could not find module "@angular-devkit/build-angular" from "/ac/Trainning/mdbootstrap/mdb-angular-small-bundle-6.2.3/ng-uikit-pro-standard-6.2.3".

    at Object.resolve (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/core/node/resolve.js:141:11)

    at Observable.rxjs_1.Observable [as _subscribe] (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/architect/src/architect.js:132:40)

    at Observable._trySubscribe (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:43:25)

    at Observable.subscribe (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:29:22)

    at DoOperator.call (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/operators/tap.js:29:23)

    at Observable.subscribe (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:24:22)

    at /usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/util/subscribeTo.js:22:31

    at Object.subscribeToResult (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/util/subscribeToResult.js:7:45)

    at MergeMapSubscriber._innerSub (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:75:38)

    at MergeMapSubscriber._tryNext (/usr/local/Cellar/node/10.5.0_1/lib/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:72:14)


acnow pro answered 5 years ago


Just follow instructions here: https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard For mac users who are not running command line from bash remember that in order for "ng" to work you need to always run this before: source ~/.bashrc  (from folder where you have the mdbootstrap pro content on the terminal) and then : ng serve --o

Damian Gemza staff answered 5 years ago


Dear Cotelo, Your error means, that you haven't got installed package
@angular-devkit/build-angular
in your project. Please try to execute command
npm install
one more time. If this won't resolve your problem, please install @angular-devkit/build-angular Here you can find more info about your problem: LINK Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: mac
  • Browser: chrome
  • OS: os
  • Provided sample code: No
  • Provided link: No