Topic: Compile error after install
After installing 4.3.2, I get this error in my app.module:
error TS2307: Cannot finde module 'angular-bootstrap-md'
even though the folder exists.
I found this post which seemed to be solving the same symptom, but I have not figured out how to add 'Include' to the compile options:
https://stackoverflow.com/questions/48769649/add-mdbootstrap-to-an-angular-project
Here is from my package.json: "version": "0.1.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "build:ssr": "npm run build -- --app=ssr --output-hashing=media", "test": "ng test", "test-headless": "ng test --watch=false --browsers=ChromeHeadless --codeCoverage=true", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular-devkit/build-angular": "~0.800.6", "@angular/animations": "^8.0.3", "@angular/common": "^8.0.3", "@angular/compiler": "^8.0.3", "@angular/core": "^8.0.3", "@angular/forms": "^8.0.3", "@angular/platform-browser": "^8.0.3", "@angular/platform-browser-dynamic": "^8.0.3", "@angular/platform-server": "^8.0.3", "@angular/router": "^8.0.3", "@nguniversal/aspnetcore-engine": "^7.1.0", "@nguniversal/module-map-ngfactory-loader": "^7.1.0", "@tjx/common-library": "^0.1.0", "@tjx/common-ui": "^0.1.0", "acorn": "^6.1.1", "adal-angular4": "^4.0.12", "ag-grid-angular": "^21.0.1", "ag-grid-community": "^21.0.1", "ag-grid-enterprise": "^21.0.1", "angular-bootstrap-md": "^4.3.2", "aspnet-prerendering": "^3.0.1", "bootstrap": "^4.3.1", "classlist.js": "^1.1.20150312", "core-js": "^2.4.1", "events": "^3.0.0", "ng-multiselect-dropdown": "^0.2.3", "rxjs": "^6.5.2", "rxjs-compat": "^6.0.0-rc.0", "tslib": "^1.9.0", "yarn": "^1.16.0", "zone.js": "~0.9.1" }, "devDependencies": { "@angular/cli": "^8.0.6", "@angular/compiler-cli": "^8.0.3", "@angular/language-service": "^8.0.3", "@types/jasmine": "~2.8.3", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", "codelyzer": "^5.0.1", "jasmine-core": "~2.8.0", "jasmine-spec-reporter": "~4.2.1", "karma": "^4.1.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", "karma-spec-reporter": "0.0.32", "protractor": "^6.0.0", "ts-node": "~4.1.0", "tslint": "~5.9.1", "typescript": "~3.4.5" }, "optionalDependencies": { "node-sass": "^4.9.0" }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: PC
- Browser: Chrome
- OS: Win7
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 5 years ago
Please take a look at our migration guide:
https://mdbootstrap.com/docs/angular/getting-started/migration/