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

Removed Unnecessary Imports #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HRIDYANSHU054
Copy link

Consider this contribution under Hactoberfest 2024. Happy Coding.

Consider this contribution under Hactoberfest 2024.
Happy Coding.
Copy link

netlify bot commented Oct 2, 2024

Deploy Preview for annoyingsubmitbutton failed.

Name Link
🔨 Latest commit a56726c
🔍 Latest deploy log https://app.netlify.com/sites/annoyingsubmitbutton/deploys/66fd4104a7c9730008dc2c48

@HRIDYANSHU054
Copy link
Author

This is app's netlify deploy log
NONE of these errors come from the work done in this commit

6:19:18 PM: Netlify Build
6:19:18 PM: ────────────────────────────────────────────────────────────────
6:19:18 PM: ​
6:19:18 PM: ❯ Version
6:19:18 PM: @netlify/build 29.54.6
6:19:18 PM: ​
6:19:18 PM: ❯ Flags
6:19:18 PM: accountId: 6043ff39ad3d94d46e0fb9aa
6:19:18 PM: baseRelDir: true
6:19:18 PM: buildId: 66fd4103a7c9730008dc2c46
6:19:18 PM: deployId: 66fd4104a7c9730008dc2c48
6:19:18 PM: ​
6:19:18 PM: ❯ Current directory
6:19:18 PM: /opt/build/repo
6:19:18 PM: ​
6:19:18 PM: ❯ Config file
6:19:18 PM: No config file was defined: using default values.
6:19:18 PM: ​
6:19:18 PM: ❯ Context
6:19:18 PM: deploy-preview
6:19:18 PM: ​
6:19:18 PM: Build command from Netlify app
6:19:18 PM: ────────────────────────────────────────────────────────────────
6:19:18 PM: ​
6:19:18 PM: $ yarn build
6:19:19 PM: yarn run v1.22.19
6:19:19 PM: $ react-scripts build
6:19:20 PM: Creating an optimized production build...
6:19:24 PM: One of your dependencies, babel-preset-react-app, is importing the
6:19:24 PM: "@babel/plugin-proposal-private-property-in-object" package without
6:19:24 PM: declaring it in its dependencies. This is currently working because
6:19:24 PM: "@babel/plugin-proposal-private-property-in-object" is already in your
6:19:24 PM: node_modules folder for unrelated reasons, but it may break at any time.
6:19:24 PM: babel-preset-react-app is part of the create-react-app project, which
6:19:24 PM: is not maintianed anymore. It is thus unlikely that this bug will
6:19:24 PM: ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
6:19:24 PM: your devDependencies to work around this error. This will make this message
6:19:24 PM: go away.
6:19:27 PM: Failed to compile.
6:19:27 PM:
6:19:27 PM: [eslint]
6:19:27 PM: src/App.js
6:19:27 PM: Line 7:13: Function component is not a function declaration react/function-component-definition
6:19:27 PM: Line 10:9: 'handleFormSubmit' is assigned a value but never used no-unused-vars
6:19:27 PM: Line 11:23: Extra semicolon semi
6:19:27 PM: Line 12:5: 'setShowToast' is not defined no-undef
6:19:27 PM: Line 12:24: Extra semicolon semi
6:19:27 PM: Line 15:7: 'form' is not defined no-undef
6:19:27 PM: Line 15:30: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 15:48: '||' should be placed at the beginning of the line operator-linebreak
6:19:27 PM: Line 16:8: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 16:22: 'form' is not defined no-undef
6:19:27 PM: Line 18:7: 'setToggleClass' is not defined no-undef
6:19:27 PM: Line 18:48: Extra semicolon semi
6:19:27 PM: Line 19:7: 'setShowToast' is not defined no-undef
6:19:27 PM: Line 19:25: Extra semicolon semi
6:19:27 PM: Line 21:9: 'setShowToast' is not defined no-undef
6:19:27 PM: Line 21:28: Extra semicolon semi
6:19:27 PM: Line 22:15: Extra semicolon semi
6:19:27 PM: Line 28:32: 'form' is not defined no-undef
6:19:27 PM: Line 29:11: Extra semicolon semi
6:19:27 PM: Line 44:9: 'form' is not defined no-undef
6:19:27 PM: Line 44:32: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 44:54: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 44:68: 'form' is not defined no-undef
6:19:27 PM: Line 45:7: 'setToggleClass' is not defined no-undef
6:19:27 PM: Line 46:7: 'setShowToast' is not defined no-undef
6:19:27 PM: Line 48:9: 'setShowToast' is not defined no-undef
6:19:27 PM: Line 56:35: 'themeState' is not defined no-undef
6:19:27 PM: Line 57:7: 'themeState' is not defined no-undef
6:19:27 PM: Line 61:35: 'setThemeState' is not defined no-undef
6:19:27 PM: Line 61:62: 'themeState' is not defined no-undef
6:19:27 PM: Line 62:43: 'themeState' is not defined no-undef
6:19:27 PM: Line 70:33: 'emojiState' is not defined no-undef
6:19:27 PM: Line 70:47: 'form' is not defined no-undef
6:19:27 PM: Line 70:70: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 71:25: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 71:39: 'form' is not defined no-undef
6:19:27 PM: Line 83:33: 'emojiState' is not defined no-undef
6:19:27 PM: Line 83:47: 'form' is not defined no-undef
6:19:27 PM: Line 83:70: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 84:25: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 84:39: 'form' is not defined no-undef
6:19:27 PM: Line 100:21: 'handleForm' is not defined no-undef
6:19:27 PM: Line 104:56: 'themeState' is not defined no-undef
6:19:27 PM: Line 110:35: 'themeState' is not defined no-undef
6:19:27 PM: Line 110:56: 'form' is not defined no-undef
6:19:27 PM: Line 111:20: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 111:34: 'form' is not defined no-undef
6:19:27 PM: Line 116:29: 'form' is not defined no-undef
6:19:27 PM: Line 123:15: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 123:29: 'form' is not defined no-undef
6:19:27 PM: Line 128:59: 'themeState' is not defined no-undef
6:19:27 PM: Line 135:37: 'form' is not defined no-undef
6:19:27 PM: Line 135:60: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 138:21: 'themeState' is not defined no-undef
6:19:27 PM: Line 138:42: 'form' is not defined no-undef
6:19:27 PM: Line 140:23: 'isPasswordShown' is not defined no-undef
6:19:27 PM: Line 142:31: 'form' is not defined no-undef
6:19:27 PM: Line 148:75: 'setPasswordShown' is not defined no-undef
6:19:27 PM: Line 148:93: 'isPasswordShown' is not defined no-undef
6:19:27 PM: Line 148:112: 'isPasswordShown' is not defined no-undef
6:19:27 PM: Line 153:14: 'form' is not defined no-undef
6:19:27 PM: Line 153:37: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 154:32: 'form' is not defined no-undef
6:19:27 PM: Line 161:40: 'toggleClass' is not defined no-undef
6:19:27 PM: Line 164:19: 'form' is not defined no-undef
6:19:27 PM: Line 164:43: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 165:22: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 165:36: 'form' is not defined no-undef
6:19:27 PM: Line 176:43: 'form' is not defined no-undef
6:19:27 PM: Line 176:67: 'minPasswordLength' is not defined no-undef
6:19:27 PM: Line 177:20: 'validateEmail' is not defined no-undef
6:19:27 PM: Line 177:34: 'form' is not defined no-undef
6:19:27 PM: Line 181:29: 'annoyingSubmitButton' is not defined no-undef
6:19:27 PM: Line 187:33: 'showToast' is not defined no-undef
6:19:27 PM: Line 188:17: 'themeState' is not defined no-undef
6:19:27 PM: Line 194:8: 'height' is not defined no-undef
6:19:27 PM: Line 194:45: 'themeState' is not defined no-undef
6:19:27 PM: Line 196:4: Extra semicolon semi
6:19:27 PM: Line 197:2: Extra semicolon semi
6:19:27 PM: Line 199:19: Extra semicolon semi
6:19:27 PM: src/components/Footer/Footer.jsx
6:19:27 PM: Line 22:15: A control must be associated with a text label jsx-a11y/control-has-associated-label
6:19:27 PM: Line 27:15: A control must be associated with a text label jsx-a11y/control-has-associated-label
6:19:27 PM: Line 32:15: A control must be associated with a text label jsx-a11y/control-has-associated-label
6:19:27 PM: Line 37:15: A control must be associated with a text label jsx-a11y/control-has-associated-label
6:19:27 PM: Line 42:15: A control must be associated with a text label jsx-a11y/control-has-associated-label
6:19:27 PM: Search for the keywords to learn more about each error.
6:19:27 PM: error Command failed with exit code 1. (https://ntl.fyi/exit-code-1)
6:19:27 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
6:19:27 PM: ​
6:19:27 PM: "build.command" failed
6:19:27 PM: ────────────────────────────────────────────────────────────────
6:19:27 PM: ​
6:19:27 PM: Error message
6:19:27 PM: Command failed with exit code 1: yarn build (https://ntl.fyi/exit-code-1)
6:19:27 PM: ​
6:19:27 PM: Error location
6:19:27 PM: In Build command from Netlify app:
6:19:27 PM: yarn build
6:19:27 PM: ​
6:19:27 PM: Resolved config
6:19:27 PM: build:
6:19:27 PM: command: yarn build
6:19:27 PM: commandOrigin: ui
6:19:27 PM: environment:
6:19:27 PM: - REVIEW_ID
6:19:27 PM: publish: /opt/build/repo/build
6:19:27 PM: publishOrigin: ui
6:19:28 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:19:28 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:19:28 PM: Failing build: Failed to build site
6:19:28 PM: Finished processing build request in 1m6.054s

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

Successfully merging this pull request may close these issues.

1 participant