[WIP] upgrade packages #4829
Annotations
10 errors and 1 warning
src/App.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/services/AuthService.test.ts:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/components/floweditor/FlowEditor.test.tsx:
src/components/floweditor/FlowEditor.test.tsx#L18
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/components/floweditor/FlowEditor.test.tsx:18:25
Caused by: Caused by: TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/components/simulator/Simulator.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/containers/Assistants/Assistants.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
|
src/containers/Chat/Chat.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/containers/Collection/Collection.test.tsx:
src/containers/Collection/Collection.tsx#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/containers/Collection/Collection.tsx:6:31
Caused by: Caused by: TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/containers/Consulting/Consulting.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/containers/ContactField/ContactField.test.tsx:
src/services/AuthService.tsx#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/services/AuthService.tsx:2:31
Caused by: Caused by: TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
src/containers/ContactManagement/ContactManagement.test.tsx:
node_modules/react-router/dist/development/index.js#L8369
TypeError: TextEncoder is not a constructor
❯ Object.<anonymous> node_modules/react-router/dist/development/index.js:8369:15
❯ Object.<anonymous> node_modules/react-router-dom/dist/index.js:39:38
|
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|