npm / cli

the package manager for JavaScript
https://docs.npmjs.com/cli/
Other
8.48k stars 3.17k forks source link

[BUG] miossing package-lock.json after running npm i #6628

Closed silverfh closed 1 year ago

silverfh commented 1 year ago

Is there an existing issue for this?

This issue exists in the latest npm version

Current Behavior

I assume that $npm i isnt generating the package-lock.json file...
as when I pushed the .lock file manually worked fine... so somehow the .lock file is not generated by npm i, and script moved to next step, but in that case it should fail at this point and display installation errors..

ENV

NPM: 8.19.2 NODE: v16.18.1

our flow is as following

GitLab > Amplify

we received the following error

---------ERROR-----------

Starting phase: preBuild

2023-07-05T21:10:36.430Z [INFO]: # Executing command: npm ci 2023-07-05T21:10:38.947Z [WARNING]: npm 2023-07-05T21:10:38.949Z [WARNING]: ERR! code EUSAGE 2023-07-05T21:10:38.950Z [WARNING]: npm 2023-07-05T21:10:38.950Z [WARNING]: ERR! npm ERR! The npm ci command can only install with an existing package-lock.json or npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or 2023-07-05T21:10:38.952Z [WARNING]: npm ERR! later to generate a package-lock.json file, then try again. npm ERR! npm ERR! Clean install a project npm ERR! npm ERR! Usage: npm ERR! npm ci npm ERR! npm ERR! Options: npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle] npm ERR! [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling] npm ERR! [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts] npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run] npm ERR! [-w|--workspace [-w|--workspace ...]] npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links] npm ERR! npm ERR! aliases: clean-install, ic, install-clean, isntall-clean npm ERR! npm ERR! Run "npm help ci" for more info 2023-07-05T21:10:38.952Z [WARNING]: npm ERR! A complete log of this run can be found in: npm 2023-07-05T21:10:38.953Z [WARNING]: ERR! /root/.npm/_logs/2023-07-05T21_10_36_654Z-debug-0.log 2023-07-05T21:10:38.961Z [ERROR]: !!! Build failed 2023-07-05T21:10:38.961Z [ERROR]: !!! Non-Zero Exit Code detected 2023-07-05T21:10:38.961Z [INFO]: # Starting environment caching... 2023-07-05T21:10:38.961Z [INFO]: # Uploading environment cache artifact... 2023-07-05T21:10:39.096Z [INFO]: # Uploaded environment cache artifact 2023-07-05T21:10:39.096Z [INFO]: # Environment caching completed

Expected Behavior

Starting phase: preBuild

2023-07-05T22:57:52.149Z [INFO]: # Executing command: npm ci 2023-07-05T22:57:55.505Z [WARNING]: npm 2023-07-05T22:57:55.507Z [WARNING]: WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'equepay-frontend@0.1.2', npm WARN EBADENGINE required: { node: '11.10.0', npm: '6.7.0' }, npm WARN EBADENGINE current: { node: 'v16.19.0', npm: '8.19.3' } npm WARN EBADENGINE } 2023-07-05T22:58:05.331Z [WARNING]: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 2023-07-05T22:58:05.980Z [WARNING]: npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 2023-07-05T22:58:06.249Z [WARNING]: npm WARN deprecated 2023-07-05T22:58:06.249Z [WARNING]: sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 2023-07-05T22:58:06.411Z [WARNING]: npm WARN deprecated 2023-07-05T22:58:06.411Z [WARNING]: w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. 2023-07-05T22:58:07.722Z [WARNING]: npm WARN 2023-07-05T22:58:07.723Z [WARNING]: deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 2023-07-05T22:58:17.883Z [INFO]: added 1496 packages, and audited 1497 packages in 26s 2023-07-05T22:58:17.890Z [INFO]: 230 packages are looking for funding run npm fund for details 2023-07-05T22:58:17.937Z [INFO]: 45 vulnerabilities (37 moderate, 8 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run npm audit for details. 2023-07-05T22:58:17.960Z [INFO]: # Completed phase: preBuild

Starting phase: build

                             # Executing command: npm run build

2023-07-05T22:58:18.310Z [INFO]: > equepay-frontend@0.1.2 build

react-scripts build 2023-07-05T22:58:19.440Z [INFO]: Creating an optimized production build... 2023-07-05T22:58:19.540Z [WARNING]: Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme 2023-07-05T22:58:36.849Z [WARNING]: Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme 2023-07-05T22:58:37.875Z [INFO]: Compiled with warnings. 2023-07-05T22:58:37.877Z [INFO]: [eslint] src/App.js Line 3:40: 'useNavigate' is defined but never used no-unused-vars Line 34:49: Imported JSX component GetStarted_Old must be in PascalCase or SCREAMING_SNAKE_CASE react/jsx-pascal-case src/components/AboutUs/AboutUs.js Line 4:10: 'Link' is defined but never used no-unused-vars Line 26:25: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 87:27: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Common/CustomCarousel.js Line 1:17: 'Component' is defined but never used no-unused-vars src/components/Common/Footer.js Line 5:1: Assign arrow function to a variable before exporting as module default import/no-anonymous-default-export Line 12:31: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Common/Header.js Line 37:17: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 62:15: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Common/lib.js Line 9:55: Unnecessary escape character: { no-useless-escape Line 9:57: Unnecessary escape character: } no-useless-escape Line 9:59: Unnecessary escape character: [ no-useless-escape Line 9:65: Unnecessary escape character: \/ no-useless-escape Line 19:45: Unnecessary escape character: { no-useless-escape Line 19:47: Unnecessary escape character: } no-useless-escape Line 19:49: Unnecessary escape character: [ no-useless-escape Line 19:55: Unnecessary escape character: \/ no-useless-escape src/components/Contact/Contact.js Line 4:10: 'Link' is defined but never used no-unused-vars Line 4:16: 'redirect' is defined but never used no-unused-vars Line 188:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 188:53: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Equipment/Equipment.js Line 196:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 198:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 209:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 211:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 222:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 224:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 235:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 237:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 248:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 250:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 272:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 274:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 285:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 287:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 298:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 300:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 311:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 313:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 324:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 326:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 337:41: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 339:45: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Faqs/Faqs.js Line 4:10: 'Link' is defined but never used no-unused-vars Line 118:71: Expected '===' and instead saw '==' eqeqeq Line 119:64: The value for aria-expanded must be a boolean jsx-a11y/aria-proptypes Line 119:89: Expected '===' and instead saw '==' eqeqeq Line 121:101: Expected '===' and instead saw '==' eqeqeq src/components/GetStarted_Old/Form.jsx Line 1:17: 'Component' is defined but never used no-unused-vars Line 110:133: Expected '===' and instead saw '==' eqeqeq Line 111:66: Expected '===' and instead saw '==' eqeqeq Line 111:109: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/GetStarted_Old/GetStarted.js Line 14:10: 'AppVer' is defined but never used no-unused-vars Line 18:7: 'env' is assigned a value but never used no-unused-vars Line 148:48: Expected '===' and instead saw '==' eqeqeq Line 260:13: 'fields' is assigned a value but never used no-unused-vars Line 280:68: Expected '!==' and instead saw '!=' eqeqeq Line 300:14: Expected '===' and instead saw '==' eqeqeq Line 301:14: Expected '===' and instead saw '==' eqeqeq Line 302:14: Expected '===' and instead saw '==' eqeqeq Line 353:62: Expected '!==' and instead saw '!=' eqeqeq Line 505:81: Expected '===' and instead saw '==' eqeqeq Line 505:108: Expected '===' and instead saw '==' eqeqeq Line 670:13: 'loading' is assigned a value but never used no-unused-vars Line 694:22: 'success' is assigned a value but never used no-unused-vars src/components/GetStarted_Old/StepFive.js Line 1:17: 'Component' is defined but never used no-unused-vars Line 3:10: 'CheckBox' is defined but never used no-unused-vars Line 3:20: 'TextField' is defined but never used no-unused-vars Line 3:31: 'NumberField' is defined but never used no-unused-vars Line 3:44: 'DropDown' is defined but never used no-unused-vars src/components/GetStarted_Old/StepFour.js Line 1:17: 'Component' is defined but never used no-unused-vars Line 3:10: 'CheckBox' is defined but never used no-unused-vars Line 3:44: 'DropDown' is defined but never used no-unused-vars src/components/GetStarted_Old/StepOne.js Line 1:17: 'Component' is defined but never used no-unused-vars Line 5:20: 'TextField' is defined but never used no-unused-vars src/components/GetStarted_Old/StepThree.js Line 1:17: 'Component' is defined but never used no-unused-vars Line 2:40: 'stateArray' is defined but never used no-unused-vars Line 3:10: 'CheckBox' is defined but never used no-unused-vars Line 37:50: Expected '===' and instead saw '==' eqeqeq src/components/GetStarted_Old/StepTwo.js Line 1:17: 'Component' is defined but never used no-unused-vars Line 4:40: 'usa_stateArray' is defined but never used no-unused-vars Line 4:56: 'can_stateArray' is defined but never used no-unused-vars Line 4:72: 'stateArray' is defined but never used no-unused-vars Line 6:10: 'removeSpecialChar' is defined but never used no-unused-vars Line 68:49: Expected '===' and instead saw '==' eqeqeq Line 122:45: Expected '===' and instead saw '==' eqeqeq src/components/GetStarted_Old/multistep.js Line 2:10: 'css' is defined but never used no-unused-vars Line 2:15: 'styled' is defined but never used no-unused-vars Line 24:6: React Hook useEffect has a missing dependency: 'props.steps.length'. Either include it or remove the dependency array. If 'setStyles' needs the current value of 'props.steps.length', you can also switch to useReducer instead of useState and read 'props.steps.length' in the reducer react-hooks/exhaustive-deps Line 54:26: Expected '!==' and instead saw '!=' eqeqeq Line 56:26: Expected '===' and instead saw '==' eqeqeq src/components/Home/Home.js Line 1:28: 'useRef' is defined but never used no-unused-vars Line 14:9: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 27:7: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 40:7: 'responsive' is assigned a value but never used no-unused-vars Line 89:17: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 104:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 105:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 106:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 107:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 108:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 109:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 198:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 199:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 200:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 201:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 202:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 203:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 204:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 205:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 206:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 207:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 208:26: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 212:13: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 234:28: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 244:28: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 254:28: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 264:27: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 281:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 282:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 283:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 284:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 285:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 286:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 287:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 288:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 289:20: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/HowItWorks/HowItWorks.js Line 24:19: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 108:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 109:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 110:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 111:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 112:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 113:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 114:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 115:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 116:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 117:34: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt src/components/Loan/Loan.js Line 18:7: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 23:7: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 28:7: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 33:7: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 158:59: Expected '===' and instead saw '==' eqeqeq Line 158:158: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 164:53: Expected '===' and instead saw '==' eqeqeq Line 259:15: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 263:46: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 272:51: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 282:51: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text src/components/PricingPlan/PricingPlan.js Line 195:25: Redundant alt attribute. Screen-readers already announce img tags as an image. You don’t need to use the words image, photo, or picture (or any specified custom words) in the alt prop jsx-a11y/img-redundant-alt Line 217:52: Expected '!==' and instead saw '!=' eqeqeq src/components/PrivacyPolicy/PrivacyPolicy.js Line 4:10: 'Link' is defined but never used no-unused-vars src/components/TermsConditions/TermsConditions.js Line 4:10: 'Link' is defined but never used no-unused-vars src/components/service-offline.js Line 1:17: 'useEffect' is defined but never used no-unused-vars Line 2:10: 'Link' is defined but never used no-unused-vars src/configs.js Line 85:15: Expected '===' and instead saw '==' eqeqeq Line 86:15: Expected '===' and instead saw '==' eqeqeq Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before. File sizes after gzip: 2023-07-05T22:58:37.906Z [INFO]: 167.88 kB build/static/js/main.10c50855.js 2023-07-05T22:58:37.906Z [INFO]: 6.49 kB build/static/css/main.dd71b28e.css 1.78 kB build/static/js/787.f5aad110.chunk.js The project was built assuming it is hosted at /. You can control this with the homepage field in your package.json. 2023-07-05T22:58:37.907Z [INFO]: The build folder is ready to be deployed. You may serve it with a static server: 2023-07-05T22:58:37.907Z [INFO]: npm install -g serve serve -s build Find out more about deployment here: https://cra.link/deployment 2023-07-05T22:58:37.961Z [INFO]: # Completed phase: build 2023-07-05T22:58:37.963Z [INFO]: ## Build completed successfully 2023-07-05T22:58:37.964Z [INFO]: # Starting caching... 2023-07-05T22:58:37.976Z [INFO]: # Creating cache artifact... 2023-07-05T22:58:48.623Z [INFO]: # Created cache artifact 2023-07-05T22:58:48.745Z [INFO]: # Uploading cache artifact... 2023-07-05T22:58:50.832Z [INFO]: # Uploaded cache artifact 2023-07-05T22:58:50.832Z [INFO]: # Caching completed 2023-07-05T22:58:50.839Z [INFO]: # No custom headers found. 2023-07-05T22:58:50.864Z [INFO]: # Starting build artifact upload process... 2023-07-05T22:58:51.281Z [INFO]: # Uploading build artifact 'artifactsHash.zip'... 2023-07-05T22:58:51.311Z [INFO]: # Uploading build artifact 'artifacts.zip'... 2023-07-05T22:58:51.501Z [INFO]: # Build artifact upload completed 2023-07-05T22:58:51.501Z [INFO]: # Starting environment caching... 2023-07-05T22:58:51.501Z [INFO]: # Uploading environment cache artifact... 2023-07-05T22:58:51.596Z [INFO]: # Uploaded environment cache artifact 2023-07-05T22:58:51.596Z [INFO]: # Environment caching completed Terminating logging...

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

wraithgar commented 1 year ago

Unable to reproduce, no steps given.