Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TarikHaci opened this issue Sep 18, 2022 · 3 comments
Open

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

TarikHaci opened this issue Sep 18, 2022 · 3 comments

Comments

@TarikHaci
Copy link

TarikHaci commented Sep 18, 2022

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
Copy link

mmertune commented Sep 28, 2022

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

@sinatayebati
Copy link

@TarikHaci @mmertune
if you're looking for a much better MERN stack dashboard that's Dockerized and always works, checkout this project:
admin-dashboard-fullstack
my project is super easy to setup with MIT license + deployment.

@TarikHaci
Copy link
Author

@sinatayebati it may be better coded but its defintely more ugly in FE design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants