VSC Intellisense Errors


Topic: VSC Intellisense Errors

elemech pro premium asked 5 years ago

Hello,

The intellisense on VIsual Studio Code cannot find the following modules for some reason:

Module '"../../node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard"' has no exported member 'ToastService'.ts(2305)
Module '"../../node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard"' has no exported member 'MDBBootstrapModulesPro'.ts(2305)
Module '"../../node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard"' has no exported member 'MDBSpinningPreloader'.ts(2305)

The application builds without errors though.


Arkadiusz Idzikowski staff commented 5 years ago

Could you show us the import paths of the MDB modules?


elemech pro premium commented 5 years ago

app.module.ts: import { MDBBootstrapModulesPro, MDBSpinningPreloader, ToastModule } from 'ng-uikit-pro-standard';

It is working correctly now though! VSC intellisense is funny sometimes.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 8.2.0
  • Device: browser
  • Browser: chrome
  • OS: win 7 64 bit
  • Provided sample code: No
  • Provided link: No