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

Build failed to compile : eslint #2

Closed
songeunn opened this issue Aug 13, 2023 · 1 comment
Closed

Build failed to compile : eslint #2

songeunn opened this issue Aug 13, 2023 · 1 comment

Comments

@songeunn
Copy link
Collaborator

문제

build 시 failed to compile 과 함께 eslint 에러가 뜨는 경우

image

@songeunn
Copy link
Collaborator Author

해결

ESLINT 에러를 무시하고 빌드할 수 있도록 명령어를 추가해준다.

 "scripts": {
    "start": "ESLINT_NO_DEV_ERRORS='true'  react-scripts start",
    "build": "DISABLE_ESLINT_PLUGIN='true' react-scripts build",
  },

참고

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

1 participant