Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Module not found: Error: Can't resolve 'D:\Ian\Documents\github\gd-angular\src\styles.scss' i

davout free asked 5 years ago


I have been following the NPM install instructions found a https://mdbootstrap.com/docs/angular/getting-started/quick-start/

When I run step 9,, I get the following error: Module not found: Error: Can't resolve 'D:\Ian\Documents\github\gd-angular\src\styles.scss'

Note: in this project I have included Bootstrap4 before installing MDB for Angular

Also, I have bought the full "Super" bundle. How do I install the extra stuff beyond 'free' into my project?


Arkadiusz Idzikowski staff commented 5 years ago

There is probably something wrong with the styles import configuration in the angular.json file. Please check if you updated styles array correctly as we mentioned in our quick start guide and make sure that you used instructions from the 'Pro' tab: https://mdbootstrap.com/docs/angular/getting-started/quick-start/#npm-installation.

In case of any further problems please share the content of your package.json (please remember to remove your private token if you use one), angular.json and app.module files. You can also send an example app to a.idzikowski@mdbootstrap.com, so we can check if the project is configured properly.

The super bundle contains MDB Angular Pro version (the one you can install in your project to use all MDB Angular UI components), Admin template and premium plugins.

Admin template is ready to use project that you can use to your needs. You just need to install dependencies with npm install command and run ng serve to see the app content.

The premium plugin installation guide is available on every plugin documentation page, for example: https://mdbootstrap.com/plugins/angular/wysiwyg/#installation

Here is the documentation page where you can find all plugins: https://mdbootstrap.com/plugins/angular/


davout free answered 5 years ago


Hi,

Thank you for the prompt response. The error was of my own making, as I had incorrectly created the new project without the scss option. After changing that, everything works fine.

I would suggest adding the links you have provided here to the main 'Quick start' guide page


Arkadiusz Idzikowski staff commented 5 years ago

It might be a good idea to add information about the plugins there, thanks. Glad it works now.



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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.7.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows10
  • Provided sample code: No
  • Provided link: Yes