Skip to content

Remove warnings #55

@codecakes

Description

@codecakes
8:19:29 PM: Build ready to start
8:19:33 PM: build-image version: 3031d4c9e432fd7016f6279fc9ad706f9205d845
8:19:33 PM: build-image tag: v3.3.17
8:19:33 PM: buildbot version: da42b14a989873e00cc6f36bc354c01953474181
8:19:33 PM: Fetching cached dependencies
8:19:33 PM: Failed to fetch cache, continuing with build
8:19:33 PM: Starting to prepare the repo for build
8:19:34 PM: No cached dependencies found. Cloning fresh repo
8:19:34 PM: git clone https://github.com/Xcov19/xcovfe
8:19:35 PM: Preparing Git Reference pull/54/head
8:19:37 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: '' versus './' in the Netlify UI
8:19:37 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'build' versus 'build/' in the Netlify UI
8:19:37 PM: Starting build script
8:19:37 PM: Installing dependencies
8:19:37 PM: Python version set to 2.7
8:19:38 PM: v12.18.0 is already installed.
8:19:39 PM: Now using node v12.18.0 (npm v6.14.4)
8:19:39 PM: Started restoring cached build plugins
8:19:39 PM: Finished restoring cached build plugins
8:19:39 PM: Attempting ruby version 2.7.1, read from environment
8:19:40 PM: Using ruby version 2.7.1
8:19:40 PM: Using PHP version 5.6
8:19:41 PM: 5.2 is already installed.
8:19:41 PM: Using Swift version 5.2
8:19:41 PM: Started restoring cached node modules
8:19:41 PM: Finished restoring cached node modules
8:19:41 PM: Installing NPM modules using NPM version 6.14.4
8:20:19 PM: > node-sass@4.13.1 install /opt/build/repo/node_modules/node-sass
8:20:19 PM: > node scripts/install.js
8:20:20 PM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/linux-x64-72_binding.node
8:20:20 PM: Download complete
8:20:20 PM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
8:20:20 PM: Caching binary to /opt/buildhome/.npm/node-sass/4.13.1/linux-x64-72_binding.node
8:20:21 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
8:20:21 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:20:21 PM: > browser-tabs-lock@1.2.8 postinstall /opt/build/repo/node_modules/browser-tabs-lock
8:20:21 PM: > node scripts/postinstall.js
8:20:21 PM: Thank you for using browser-tabs-lock ( https://github.com/supertokens/browser-tabs-lock ).
8:20:21 PM: This library was created as a part of a larger project, SuperTokens( https://supertokens.io ) - the best session management solution.
8:20:21 PM: You can also check out our other projects on https://github.com/supertokens
8:20:21 PM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/core-js
8:20:21 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:20:21 PM: > core-js-pure@3.6.5 postinstall /opt/build/repo/node_modules/core-js-pure
8:20:21 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:20:22 PM: > node-sass@4.13.1 postinstall /opt/build/repo/node_modules/node-sass
8:20:22 PM: > node scripts/build.js
8:20:22 PM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
8:20:22 PM: Testing binary
8:20:22 PM: Binary is fine
8:20:25 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/webpack-dev-server/node_modules/fsevents):
8:20:25 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:20:25 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/watchpack/node_modules/fsevents):
8:20:25 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:20:25 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/jest-haste-map/node_modules/fsevents):
8:20:25 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:20:25 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
8:20:25 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:20:25 PM: added 1922 packages from 894 contributors and audited 2125 packages in 43.459s
8:20:27 PM: 68 packages are looking for funding
8:20:27 PM:   run `npm fund` for details
8:20:27 PM: found 3 vulnerabilities (2 low, 1 high)
8:20:27 PM:   run `npm audit fix` to fix them, or `npm audit` for details
8:20:27 PM: NPM modules installed
8:20:27 PM: Started restoring cached go cache
8:20:27 PM: Finished restoring cached go cache
8:20:27 PM: go version go1.14.4 linux/amd64
8:20:27 PM: go version go1.14.4 linux/amd64
8:20:27 PM: Installing missing commands
8:20:27 PM: Verify run directory
8:20:29 PM: ​
8:20:29 PM: ┌─────────────────────────────┐
8:20:29 PM: │        Netlify Build        │
8:20:29 PM: └─────────────────────────────┘
8:20:29 PM: ​
8:20:29 PM: ❯ Version
8:20:29 PM:   @netlify/build 2.0.10
8:20:29 PM: ​
8:20:29 PM: ❯ Flags
8:20:29 PM:   deployId: 5eecd07976b68e0008d92076
8:20:29 PM:   mode: buildbot
8:20:29 PM: ​
8:20:29 PM: ❯ Current directory
8:20:29 PM:   /opt/build/repo
8:20:29 PM: ​
8:20:29 PM: ❯ Config file
8:20:29 PM:   /opt/build/repo/netlify.toml
8:20:29 PM: ​
8:20:29 PM: ❯ Context
8:20:29 PM:   deploy-preview
8:20:29 PM: ​
8:20:29 PM: ┌────────────────────────────────────┐
8:20:29 PM: │ 1. build.command from netlify.toml │
8:20:29 PM: └────────────────────────────────────┘
8:20:29 PM: ​
8:20:29 PM: $ npm run build
8:20:29 PM: > covid@0.1.0 build /opt/build/repo
8:20:29 PM: > react-scripts build
8:20:31 PM: Creating an optimized production build...
8:21:02 PM: 
8:21:02 PM: Treating warnings as errors because process.env.CI = true.
8:21:02 PM: Most CI servers set it automatically.
8:21:02 PM: 
8:21:02 PM: Failed to compile.
8:21:02 PM: 
8:21:02 PM: ./src/components/Register.js
8:21:02 PM:   Line 115:54:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM: ./src/pages/Project.js
8:21:02 PM:   Line 139:11:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM: ./src/components/Header.js
8:21:02 PM:   Line 40:13:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM:   Line 58:15:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM: ./src/components/Login.js
8:21:02 PM:   Line 5:10:   'auth0' is defined but never used                                                                                                                                                                                                                                                                                                                                 no-unused-vars
8:21:02 PM:   Line 5:17:   'setUser' is defined but never used                                                                                                                                                                                                                                                                                                                               no-unused-vars
8:21:02 PM:   Line 68: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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM: ./src/components/ForgotPassword.js
8:21:02 PM:   Line 5:10:  'auth0' is defined but never used               no-unused-vars
8:21:02 PM:   Line 5:17:  'setUser' is defined but never used             no-unused-vars
8:21:02 PM:   Line 5:26:  'setIsAuthenticated' is defined but never used  no-unused-vars
8:21:02 PM: ./src/components/Sidebar.js
8:21:02 PM:   Line 63:11:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM:   Line 72:11:  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/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
8:21:02 PM: ./src/index.js
8:21:02 PM:   Line 7:10:  'ApolloProvider' is defined but never used  no-unused-vars
8:21:02 PM: ./src/pages/Tickets.js
8:21:02 PM:   Line 8:26:   'setSelectableRows' is assigned a value but never used             no-unused-vars
8:21:02 PM:   Line 9:10:   'noSelectAll' is assigned a value but never used                   no-unused-vars
8:21:02 PM:   Line 9:23:   'setNoSelectAll' is assigned a value but never used                no-unused-vars
8:21:02 PM:   Line 10:10:  'selectableRowsVisibleOnly' is assigned a value but never used     no-unused-vars
8:21:02 PM:   Line 10:37:  'setSelectableRowsVisibleOnly' is assigned a value but never used  no-unused-vars
8:21:02 PM:   Line 11:10:  'selectableRowsHighlight' is assigned a value but never used       no-unused-vars
8:21:02 PM:   Line 11:35:  'setSelectableRowsHighlight' is assigned a value but never used    no-unused-vars
8:21:02 PM:   Line 12:10:  'expandableRows' is assigned a value but never used                no-unused-vars
8:21:02 PM:   Line 12:26:  'setExpandableRows' is assigned a value but never used             no-unused-vars
8:21:02 PM:   Line 13:10:  'expandOnRowClick' is assigned a value but never used              no-unused-vars
8:21:02 PM:   Line 13:28:  'setExpandOnRowClick' is assigned a value but never used           no-unused-vars
8:21:02 PM:   Line 14:10:  'pagination' is assigned a value but never used                    no-unused-vars
8:21:02 PM:   Line 14:22:  'setPagination' is assigned a value but never used                 no-unused-vars
8:21:02 PM:   Line 15:10:  'highlight' is assigned a value but never used                     no-unused-vars
8:21:02 PM:   Line 15:21:  'setHighlight' is assigned a value but never used                  no-unused-vars
8:21:02 PM:   Line 16:10:  'striped' is assigned a value but never used                       no-unused-vars
8:21:02 PM:   Line 16:19:  'setStriped' is assigned a value but never used                    no-unused-vars
8:21:02 PM:   Line 17:10:  'pointer' is assigned a value but never used                       no-unused-vars
8:21:02 PM:   Line 17:19:  'setPointer' is assigned a value but never used                    no-unused-vars
8:21:02 PM:   Line 18:10:  'dense' is assigned a value but never used                         no-unused-vars
8:21:02 PM:   Line 18:17:  'setDense' is assigned a value but never used                      no-unused-vars
8:21:02 PM:   Line 19:10:  'persist' is assigned a value but never used                       no-unused-vars
8:21:02 PM:   Line 19:19:  'setPersist' is assigned a value but never used                    no-unused-vars
8:21:02 PM:   Line 20:10:  'tableHead' is assigned a value but never used                     no-unused-vars
8:21:02 PM:   Line 20:21:  'setNoHead' is assigned a value but never used                     no-unused-vars
8:21:02 PM:   Line 21:10:  'noContextMenu' is assigned a value but never used                 no-unused-vars
8:21:02 PM:   Line 21:25:  'setNoContextMenu' is assigned a value but never used              no-unused-vars
8:21:02 PM:   Line 22:10:  'loading' is assigned a value but never used                       no-unused-vars
8:21:02 PM:   Line 22:19:  'setLoading' is assigned a value but never used                    no-unused-vars
8:21:02 PM:   Line 23:10:  'noHeader' is assigned a value but never used                      no-unused-vars
8:21:02 PM:   Line 23:20:  'setNoHeader' is assigned a value but never used                   no-unused-vars
8:21:02 PM:   Line 24:10:  'subHeader' is assigned a value but never used                     no-unused-vars
8:21:02 PM:   Line 24:21:  'setSubHeader' is assigned a value but never used                  no-unused-vars
8:21:02 PM:   Line 25:10:  'subHeaderAlign' is assigned a value but never used                no-unused-vars
8:21:02 PM:   Line 25:26:  'setSubHeaderAlign' is assigned a value but never used             no-unused-vars
8:21:02 PM:   Line 26:10:  'fixedHeader' is assigned a value but never used                   no-unused-vars
8:21:02 PM:   Line 26:23:  'setFixedheader' is assigned a value but never used                no-unused-vars
8:21:02 PM:   Line 27:10:  'direction' is assigned a value but never used                     no-unused-vars
8:21:02 PM:   Line 27:21:  'setDirection' is assigned a value but never used                  no-unused-vars
8:21:02 PM:   Line 28:10:  'directionValue' is assigned a value but never used                no-unused-vars
8:21:02 PM:   Line 28:26:  'setDirectionValue' is assigned a value but never used             no-unused-vars
8:21:02 PM: ./src/components/Layout.js
8:21:02 PM:   Line 9:8:   'Footer' is defined but never used  no-unused-vars
8:21:02 PM:   Line 17:3:  Useless constructor                 no-useless-constructor
8:21:02 PM: npm ERR! code ELIFECYCLE
8:21:02 PM: npm ERR! errno 1
8:21:02 PM: npm ERR! covid@0.1.0 build: `react-scripts build`
8:21:02 PM: npm ERR! Exit status 1
8:21:02 PM: npm ERR!
8:21:02 PM: npm ERR! Failed at the covid@0.1.0 build script.
8:21:02 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
8:21:02 PM: npm ERR! A complete log of this run can be found in:
8:21:02 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-06-19T14_51_02_115Z-debug.log
8:21:02 PM: ​
8:21:02 PM: ┌─────────────────────────────┐
8:21:02 PM: │   "build.command" failed    │
8:21:02 PM: └─────────────────────────────┘
8:21:02 PM: ​
8:21:02 PM:   Error message
8:21:02 PM:   Command failed with exit code 1: npm run build
8:21:02 PM: ​
8:21:02 PM:   Error location
8:21:02 PM:   In build.command from netlify.toml:
8:21:02 PM:   npm run build
8:21:02 PM: ​
8:21:02 PM:   Resolved config
8:21:02 PM:   build:
8:21:02 PM:     base: /opt/build/repo
8:21:02 PM:     command: npm run build
8:21:02 PM:     publish: /opt/build/repo/build
8:21:02 PM: Caching artifacts
8:21:02 PM: Started saving node modules
8:21:02 PM: Finished saving node modules
8:21:02 PM: Started saving build plugins
8:21:02 PM: Finished saving build plugins
8:21:02 PM: Started saving pip cache
8:21:02 PM: Finished saving pip cache
8:21:02 PM: Started saving emacs cask dependencies
8:21:02 PM: Finished saving emacs cask dependencies
8:21:02 PM: Started saving maven dependencies
8:21:02 PM: Finished saving maven dependencies
8:21:02 PM: Started saving boot dependencies
8:21:02 PM: Finished saving boot dependencies
8:21:02 PM: Started saving go dependencies
8:21:02 PM: Finished saving go dependencies
8:21:05 PM: Error running command: Build script returned non-zero exit code: 1
8:21:05 PM: Failing build: Failed to build site
8:21:05 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
8:21:05 PM: Finished processing build request in 1m32.259603895s

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions