Topic: building a project including mdb pro for production with AoT enabled fails
rernens
pro
asked 7 years ago
import { MDBBootstrapModulesPro } from 'ng-uikit-pro-standard';
is used as per the migration guide.
rernens
pro
answered 7 years ago
Damian Gemza staff commented 7 years ago
Dear remens, That's only warnings. You don't need to worry about them. We'll try to fix it in next release. Best Regards, Damian
rernens
pro
answered 7 years ago
{
"name": "info-alloc",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve --open --source-map",
"prod": "ng serve --prod --source-map --open",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@agm/core": "^1.0.0-beta.3",
"@angular-devkit/core": "^0.6.5",
"@angular-devkit/schematics": "^0.6.5",
"@angular/animations": "^6.0.3",
"@angular/cdk": "^6.1.0",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
"@angular/material": "^6.1.0",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
"@ng-dynamic-forms/core": "^6.0.3",
"@ng-dynamic-forms/ui-material": "^6.0.3",
"@ngrx/effects": "^6.0.1",
"@ngrx/entity": "^6.0.1",
"@ngrx/router-store": "^6.0.1",
"@ngrx/store": "^6.0.1",
"@ngrx/store-devtools": "^6.0.1",
"@ngx-translate/core": "^9.1.1",
"@ngx-translate/http-loader": "^2.0.1",
"angular2-text-mask": "^8.0.4",
"angulartics2": "^6.1.0",
"chart.js": "^2.7.2",
"classlist": "^1.0.1",
"core-js": "^2.5.7",
"easy-pie-chart": "^2.1.7",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"lodash": "4.17.4",
"ng-event-source": "^1.0.10",
"ng-uikit-pro-standard": "^6.1.1",
"ngrx-store-logger": "^0.2.1",
"ngx-pagination": "^3.1.1",
"ngx-quill": "^3.1.0",
"quill-image-resize-module": "^3.0.0",
"rxjs": "^6.2.0",
"rxjs-compat": "^6.0.0-rc.0",
"screenfull": "^3.3.2",
"socket.io-client": "^2.1.0",
"uuid": "^3.2.1",
"wakanda-client": "^2.0.0",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.5",
"@angular/cli": "^6.0.5",
"@angular/compiler-cli": "^6.0.3",
"@angular/language-service": "^6.0.3",
"@angularclass/hmr": "^2.1.3",
"@ngrx/schematics": "^6.0.1",
"@types/jasmine": "~2.8.3",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "^4.0.1",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": "~2.7.2"
}
}
Please provide access to your gitlab as requested so that I can install mdb through npm and see if the problem persists
Regards,
Robert
Damian Gemza
staff
answered 7 years ago
import { MDBBootstrapModulesPro, MDBSpinningPreloader } from './../../ng-uikit-pro-standard';
import { MDBBootstrapModulesPro, MDBSpinningPreloader } from 'ng-uikit-pro-standard';
ng build --prod, ng build --aot, ng build --prod --aotAnd as I said before, I'm unable to reproduce your problem. Could you please provide me reproduction steps? And also your environment informations: MDB Angular version, Node version, Angular version, OS. Best Regards, Damian
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: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No