Newer
Older
cortex-hub / frontend.log

> cortex-frontend@0.1.0 start
> react-scripts start

Attempting to bind to HOST environment variable: 0.0.0.0
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: https://cra.link/advanced-config

Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
(node:5956) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:5956) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...

Compiled with warnings.

[eslint] 
src/App.js
  Line 35:10:  'userId' is assigned a value but never used                                                                                        no-unused-vars
  Line 81:6:   React Hook useEffect has missing dependencies: 'currentPage' and 'pathToPage'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  Line 142:6:  React Hook useEffect has a missing dependency: 'authenticatedPages'. Either include it or remove the dependency array              react-hooks/exhaustive-deps

src/features/agents/components/AgentDrillDown.js
  Line 35:12:  'cortexFiles' is assigned a value but never used                                                              no-unused-vars
  Line 220:8:  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/agents/components/AgentHarnessPage.js
  Line 2:21:  'getAgentTelemetry' is defined but never used    no-unused-vars
  Line 3:10:  'AreaChart' is defined but never used            no-unused-vars
  Line 3:21:  'Area' is defined but never used                 no-unused-vars
  Line 3:27:  'XAxis' is defined but never used                no-unused-vars
  Line 3:34:  'YAxis' is defined but never used                no-unused-vars
  Line 3:41:  'Tooltip' is defined but never used              no-unused-vars
  Line 3:50:  'ResponsiveContainer' is defined but never used  no-unused-vars

src/features/chat/components/ChatWindow.js
  Line 43:18:  The ref value 'audioRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'audioRef.current' to a variable inside the effect, and use that variable in the cleanup function  react-hooks/exhaustive-deps

src/features/nodes/pages/NodesPage.js
  Line 12:12:  'groups' is assigned a value but never used  no-unused-vars

src/features/profile/pages/ProfilePage.js
  Line 18:12:   'providerStatuses' is assigned a value but never used               no-unused-vars
  Line 153:11:  'handleGeneralPreferenceUpdate' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/IdentityGovernanceCard.js
  Line 12:7:  'loadGroups' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/NetworkIdentityCard.js
  Line 11:7:  'fileInputRef' is assigned a value but never used  no-unused-vars

src/features/settings/pages/SettingsPage.js
  Line 113:8:  React Hook useEffect has a missing dependency: 'loadUserProfile'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/swarm/hooks/useSwarmControl.js
  Line 110:6:  React Hook useEffect has a missing dependency: 'onNewSessionCreated'. Either include it or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback                                                            react-hooks/exhaustive-deps
  Line 194:6:  React Hook useCallback has missing dependencies: 'onNewSessionCreated' and 'userConfigData?.effective?.llm?.active_provider'. Either include them or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps

src/features/swarm/pages/SwarmControlPage.js
  Line 3:26:    'FileSystemNavigator' is defined but never used                                                                   no-unused-vars
  Line 7:3:     'detachNodeFromSession' is defined but never used                                                                 no-unused-vars
  Line 106:10:  'sessionNodeStatus' is assigned a value but never used                                                            no-unused-vars
  Line 249:6:   React Hook useEffect has a missing dependency: 'fetchNodeInfo'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/voice/hooks/useVoiceChat.js
  Line 8:3:    'createSession' is defined but never used                                                                           no-unused-vars
  Line 213:6:  React Hook useEffect has a missing dependency: 'fetchTokenUsage'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/services/api/userService.js
  Line 4:7:  'USERS_LOGOUT_ENDPOINT' is assigned a value but never used  no-unused-vars
  Line 5:7:  'USERS_ME_ENDPOINT' is assigned a value but never used      no-unused-vars

src/shared/components/FileSystemNavigator.js
  Line 114:8:  React Hook useEffect has a missing dependency: 'handleView'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/shared/components/MultiNodeConsole.js
  Line 60:8:    React Hook useEffect has missing dependencies: 'isAIProcessing', 'onMount', and 'onUnmount'. Either include them or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
  Line 208:25:  Expected a default case                                                                                                                                                                                                                                             default-case
  Line 251:8:   React Hook useEffect has a missing dependency: 'attachedNodeIds'. Either include it or remove the dependency array                                                                                                                                                  react-hooks/exhaustive-deps
  Line 251:9:   React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked                                                                                                                            react-hooks/exhaustive-deps

src/shared/components/SessionSidebar.js
  Line 19:8:  React Hook useEffect has a missing dependency: 'fetchSessions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in [eslint] 
src/App.js
  Line 35:10:  'userId' is assigned a value but never used                                                                                        no-unused-vars
  Line 81:6:   React Hook useEffect has missing dependencies: 'currentPage' and 'pathToPage'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  Line 142:6:  React Hook useEffect has a missing dependency: 'authenticatedPages'. Either include it or remove the dependency array              react-hooks/exhaustive-deps

src/features/agents/components/AgentDrillDown.js
  Line 35:12:  'cortexFiles' is assigned a value but never used                                                              no-unused-vars
  Line 220:8:  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/agents/components/AgentHarnessPage.js
  Line 2:21:  'getAgentTelemetry' is defined but never used    no-unused-vars
  Line 3:10:  'AreaChart' is defined but never used            no-unused-vars
  Line 3:21:  'Area' is defined but never used                 no-unused-vars
  Line 3:27:  'XAxis' is defined but never used                no-unused-vars
  Line 3:34:  'YAxis' is defined but never used                no-unused-vars
  Line 3:41:  'Tooltip' is defined but never used              no-unused-vars
  Line 3:50:  'ResponsiveContainer' is defined but never used  no-unused-vars

src/features/chat/components/ChatWindow.js
  Line 43:18:  The ref value 'audioRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'audioRef.current' to a variable inside the effect, and use that variable in the cleanup function  react-hooks/exhaustive-deps

src/features/nodes/pages/NodesPage.js
  Line 12:12:  'groups' is assigned a value but never used  no-unused-vars

src/features/profile/pages/ProfilePage.js
  Line 18:12:   'providerStatuses' is assigned a value but never used               no-unused-vars
  Line 153:11:  'handleGeneralPreferenceUpdate' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/IdentityGovernanceCard.js
  Line 12:7:  'loadGroups' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/NetworkIdentityCard.js
  Line 11:7:  'fileInputRef' is assigned a value but never used  no-unused-vars

src/features/settings/pages/SettingsPage.js
  Line 113:8:  React Hook useEffect has a missing dependency: 'loadUserProfile'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/swarm/hooks/useSwarmControl.js
  Line 110:6:  React Hook useEffect has a missing dependency: 'onNewSessionCreated'. Either include it or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback                                                            react-hooks/exhaustive-deps
  Line 194:6:  React Hook useCallback has missing dependencies: 'onNewSessionCreated' and 'userConfigData?.effective?.llm?.active_provider'. Either include them or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps

src/features/swarm/pages/SwarmControlPage.js
  Line 3:26:    'FileSystemNavigator' is defined but never used                                                                   no-unused-vars
  Line 7:3:     'detachNodeFromSession' is defined but never used                                                                 no-unused-vars
  Line 106:10:  'sessionNodeStatus' is assigned a value but never used                                                            no-unused-vars
  Line 249:6:   React Hook useEffect has a missing dependency: 'fetchNodeInfo'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/voice/hooks/useVoiceChat.js
  Line 8:3:    'createSession' is defined but never used                                                                           no-unused-vars
  Line 213:6:  React Hook useEffect has a missing dependency: 'fetchTokenUsage'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/services/api/userService.js
  Line 4:7:  'USERS_LOGOUT_ENDPOINT' is assigned a value but never used  no-unused-vars
  Line 5:7:  'USERS_ME_ENDPOINT' is assigned a value but never used      no-unused-vars

src/shared/components/FileSystemNavigator.js
  Line 114:8:  React Hook useEffect has a missing dependency: 'handleView'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/shared/components/MultiNodeConsole.js
  Line 60:8:    React Hook useEffect has missing dependencies: 'isAIProcessing', 'onMount', and 'onUnmount'. Either include them or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
  Line 208:25:  Expected a default case                                                                                                                                                                                                                                             default-case
  Line 251:8:   React Hook useEffect has a missing dependency: 'attachedNodeIds'. Either include it or remove the dependency array                                                                                                                                                  react-hooks/exhaustive-deps
  Line 251:9:   React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked                                                                                                                            react-hooks/exhaustive-deps

src/shared/components/SessionSidebar.js
  Line 19:8:  React Hook useEffect has a missing dependency: 'fetchSessions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

webpack compiled with 1 warning
Terminated