adrianhajdin / project_syncfusion_dashboard

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a an admin dashboard app using React.js and Syncfusion
https://jsmastery.pro
GNU Affero General Public License v3.0
3.04k stars 1.05k forks source link

Building issue (npm run build -> Failed to compile.) #19

Open TarikHaci opened 1 year ago

TarikHaci commented 1 year ago

Appreciate the works so beautiful.

I just pulled the project without any changes ( I only did "npm install" after pull), unfortunatelly I cannot "npm run build" this project.

First error:

error1

I tried to fix it by executing the instruction of the error. updated

Then I just get the error without any description or details why it 'failed to compile.'.. error2 How to fix this ^?

mmertune commented 1 year ago

To fix the "Dependency cycle detected" error, place the following above the lines specified within the error in src\components\index.jsx: "// eslint-disable-next-line import/no-cycle" Screen Shot 2022-09-28 at 6 39 16 PM

To fix the "product 8 is defined but never used" error, comment out the line that imports 'product8' Screen Shot 2022-09-28 at 6 41 18 PM