Topic: trying to get the pro version running
aleag pro asked 5 years ago
Expected behavior run out of the box application
Actual behavior
I get the following error when i try to serve.
Resources (screenshots, code snippets etc.)
[9:46:27 PM] ~\Repos\mdb-angular-small-bundle-8.1.1\ng-uikit-pro-standard-8.1.1> ng serve --o Your global Angular CLI version (8.2.2) is greater than your local version (8.1.3). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false". 10% building 3/3 modules 0 activei 「wds」: Project is running at http://localhost:4200/webpack-dev-server/ i 「wds」: webpack output is served from / i 「wds」: 404s will fallback to //index.html
chunk {main} main.js, main.js.map (main) 2.09 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 122 kB [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.09 kB [entry] [rendered] chunk {scripts} scripts.js, scripts.js.map (scripts) 420 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 2.77 MB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered] Date: 2019-08-17T02:46:49.632Z - Hash: 417bc4833b3051aaef36 - Time: 11166ms
ERROR in src/app/app.module.ts:6:28 - error TS2307: Cannot find module '@angular/http'.
6 import { HttpModule } from '@angular/http'; ~~~~~~~~~~~~~~~ src/app/app.module.ts:7:31 - error TS2307: Cannot find module '@agm/core'.
7 import { AgmCoreModule } from '@agm/core'; ~~~~~~~~~~~
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** i 「wdm」: Failed to compile. ^CTerminate batch job (Y/N)? y
Arkadiusz Idzikowski staff answered 5 years ago
Please remove the @angular/http
and its import from your app.module
file and run this command to install @agm/core
package: npm install @agm/core --save
.
You can also just download the zip package again because we have already resolved this problems and updated the package on the server.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.1.1
- Device: Windows
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes