Topic: error upon executing `ng serve`

jim380 free asked 5 years ago


Expected behavior

ng serve correctly starts server.

Actual behavior

spits out a bunch of errors instead.

Resources (screenshots, code snippets etc.)

ng version gives the following:

https://pasteboard.co/Ict8Ach.png

Full log:

https://pasteboard.co/Ict7b0y.png


Damian Gemza staff answered 5 years ago


Dear @jim380

Could you please specify which of our products throws you those errors?

MDB Angular installed through npm/gitlab or MDB Angular from .zip archive?

Also please specify the reproduction steps - how can I reproduce your problem?

It would be nice if you could paste me here your angular.json, package.json, tsconfig.json file content, so that I would debug your problem.

Best Regards,

Damian


jim380 free commented 5 years ago

Hi @Damian. I went with the .zip archive approach as I couldn't access the MDB repo on Gitlab with my MDB credentials which was another issue I was facing.

To reproduce, you simply: 1) download and extract the .zip 2) cd into the project root folder 3) npm i 4) ng serve

Files: angular.json: https://pastebin.com/BpeQhJ07 package.json: https://pastebin.com/z9VR3LGC tsconfig.json: https://pastebin.com/f9nJvfE8


Arkadiusz Idzikowski staff commented 5 years ago

I see that you updated version of some packages. Please try to use "@angular-devkit/build-angular": "^0.11.3" or update the webpack version to 4.29.0 or higher.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.0
  • Device: amd64
  • Browser: Chrome
  • OS: Linux Mint 19.1 Cinnamon
  • Provided sample code: Yes
  • Provided link: Yes