Updated NPM README.md #382
Annotations
3 errors and 1 warning
Unhandled error:
packages/js/core/src/aiChat/comp/base.ts#L460
Error: Unable to call method on destroyed component
❯ CompConversation.throwIfDestroyed ../packages/js/core/src/aiChat/comp/base.ts:460:19
❯ CompConversation.getProp ../packages/js/core/src/aiChat/comp/base.ts:221:14
❯ CompConversation.notifyAboutSegmentCountChange ../packages/js/core/src/sections/chat/conversation/conversation.model.ts:264:31
❯ CompConversation.removeChatSegment ../packages/js/core/src/sections/chat/conversation/conversation.model.ts:215:14
❯ ../packages/js/core/src/sections/chat/chatRoom/actions/submitPrompt.ts:56:30
❯ ../packages/shared/src/services/submitPrompt/batchText.ts:112:40
❯ ../packages/shared/src/services/submitPrompt/batchText.ts:112:18
❯ Timeout._onTimeout ../packages/shared/src/services/submitPrompt/utils/triggerAsyncCallback.ts:10:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { source: 'CompConversation', exceptionId: undefined }
This error originated in "specs/aiChat/behavior/js/submitPrompt-batch.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Complete segments should not be removed". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
specs/aiChat/behavior/js/submitPrompt-batch.spec.ts > createAiChat() + submit prompt + batch adapter > When the fetch prompt submission fails > The active segment should be removed:
specs/specs/aiChat/behavior/js/submitPrompt-batch.spec.ts#L162
Error: expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div
class="nlux-chatSegment nlux-chatSegment--active"
>
<div
class="nlux-comp-chatItem nlux-comp-chatItem--sent nlux-comp-chatItem--bubblesLayout"
>
<div
class="nlux-comp-chatItem-participantInfo"
>
<span
class="nlux-comp-chatItem-participantName"
>
User
</span>
</div>
<div
class="nlux-comp-message nlux_msg_complete nlux_msg_sent"
>
<div
class="nlux-markdownStream-root"
>
<div
class="nlux-markdown-container"
nlux-message-id="a0537f61-6da7-4b6a-b2be-3484deb8edbd"
>
<p>
Hello
</p>
</div>
</div>
</div>
</div>
<div
class="nlux-chatSegment-loader-container"
>
<div
class="nlux-comp-messageLoader"
>
<div
class="nlux-comp-loaderContainer"
>
<span
class="spinning-loader"
/>
</div>
</div>
</div>
</div> instead
❯ specs/aiChat/behavior/js/submitPrompt-batch.spec.ts:162:39
|
build (20.x)
Process completed with exit code 1.
|
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|