Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export 'MessageTeam' (imported as 'MessageTeam') was not found in 'stream-chat-react #23

Open
hugojaimeb opened this issue Nov 8, 2022 · 9 comments

Comments

@hugojaimeb
Copy link

export 'MessageTeam' (imported as 'MessageTeam') was not found in 'stream-chat-react' (possible exports ATTACHMENT_GROUPS_ORDER, ActionsIcon, Attachment, AttachmentActions, AttachmentActionsContainer, AttachmentPreviewList, AttachmentWithinContainer,
Audio, AudioContainer, AutoCompleteTextarea, Avatar, Card, CardAudio, CardContainer, Channel, ChannelActionContext, ChannelActionProvider, ChannelHeader, ChannelList, ChannelListMessenger, ChannelPreview, ChannelPreviewMessenger, ChannelSearch, ChannelStateContext, ChannelStateProvider, Chat, ChatAutoComplete, ChatContext, ChatDown, ChatProvider, CloseIcon, CommandItem, ComponentContext, ComponentProvider, ConnectionStatus, CooldownTimer, DateSeparator, DefaultSuggestionList, DefaultSuggestionListHeader, DefaultSuggestionListItem, DefaultTriggerProvider, DeliveredCheckIcon, DownloadIcon, EditMessageForm, EmojiContext, EmojiIconLarge, EmojiIconSmall, EmojiPicker, EmojiPickerIcon, EmojiProvider, EmoticonItem, EmptyStateIndicator, ErrorIcon, EventComponent, FileAttachment, FileContainer, FileUploadIcon, FileUploadIconFlat, FixedHeightMessage, Gallery, GalleryContainer, GiphyPreviewMessage, ImageComponent, ImageContainer, InfiniteScroll, LoadMoreButton, LoadMorePaginator, LoadingChannels, LoadingErrorIndicator, LoadingIndicator, LoadingIndicatorIcon, MAX_QUERY_CHANNELS_LIMIT, MESSAGE_ACTIONS, MML, MediaContainer, Message, MessageActions, MessageActionsBox, MessageContext, MessageDeleted, MessageDeliveredIcon, MessageErrorIcon, MessageInput, MessageInputContext, MessageInputContextProvider, MessageInputFlat, MessageInputSmall,
MessageList, MessageNotification, MessageOptions, MessageProvider, MessageRepliesCountButton, MessageSimple, MessageStatus, MessageText, MessageTimestamp, Modal, ModalGallery, PinIcon, PinIndicator, PlayButton, PopperTooltip, ProgressBar, QuotedMessagePreview, QuotedMessagePreviewHeader, ReactionIcon, ReactionSelector, ReactionsList,
ReplyIcon, RetryIcon, SUPPORTED_VIDEO_FORMATS, SafeAnchor, ScrollToBottomButton, SearchBar, SearchInput, SearchResults, SendButton, SendIconV1, SendIconV2, SimpleReactionsList, Streami18n, Thread, ThreadHeader, ThreadIcon, ThreadStart, Tooltip, TranslationContext, TranslationProvider, TypingContext, TypingIndicator, TypingProvider, UnMemoizedLoadMorePaginator, UploadIcon, UploadsPreview, UserItem, VirtualizedMessageList, Window, areMessagePropsEqual, areMessageUIPropsEqual, darkModeTheme, deTranslations, defaultDateTimeParser, defaultPinPermissions, defaultScrollToItem, defaultTimestampFormat, defaultTranslatorFunction, emojiMarkdownPlugin, enTranslations, esTranslations, escapeRegExp, frTranslations, generateRandomId, getChannel, getDisplayImage, getDisplayTitle, getGroupStyles, getImages, getLastReceived, getLatestMessagePreview, getMessageActions, getNonImageAttachments, getReadByTooltipText, getReadStates,
getWholeChar, handleActionWarning, hasMoreMessagesProbably, hasNotMoreMessages, hiTranslations, insertIntro, isAudioAttachment, isChannel, isDate, isDayOrMoment, isFileAttachment, isGalleryAttachmentType, isLanguageSupported, isMediaAttachment, isNumberOrString, isOnlyEmojis, isScrapedContent, isSvgAttachment, isUploadedImage, isUserMuted, itTranslations, jaTranslations, koTranslations, makeDateMessageId, mapToUserNameOrId, markDownRenderers, matchMarkdownLinks, mentionsMarkdownPlugin, messageCodeBlocks, messageHasAttachments, messageHasReactions, missingUseFlagHandlerParameterWarning, missingUseMuteHandlerParamsWarning, moveChannelUp, nlTranslations, processMessages, ptTranslations, reactionHandlerWarning, renderAttachmentActions, renderAttachmentWithinContainer, renderAudio, renderCard, renderFile, renderGallery, renderImage,
renderMedia, renderPreviewText, renderText, ruTranslations, showMessageActionsBox, trTranslations, useActionHandler, useChannelActionContext, useChannelDeletedListener, useChannelEditMessageHandler, useChannelHiddenListener, useChannelMentionsHandler,
useChannelPreviewInfo, useChannelStateContext, useChannelTruncatedListener, useChannelUpdatedListener, useChannelVisibleListener, useChat, useChatContext, useComponentContext, useConnectionRecoveredListener, useCooldownTimer, useCustomStyles, useDeleteHandler, useEditHandler, useEmojiContext, useEnrichedMessages, useFlagHandler, useLastReadData, useMentionsHandler, useMessageContext, useMessageInputContext, useMessageInputState, useMessageListElements, useMessageListScrollManager, useMessageNewListener, useMobileNavigation, useMuteHandler, useNewMessageNotification, useNotificationAddedToChannelListener, useNotificationMessageNewListener, useNotificationRemovedFromChannelListener, useOpenThreadHandler, usePaginatedChannels, usePinHandler, usePrependedMessagesCount, useReactionClick, useReactionHandler, useRetryHandler, useScrollLocationLogic, useShouldForceScrollToBottom, useTranslationContext, useTypingContext, useUserHandler, useUserPresenceChangedListener, useUserRole, validateAndGetMessage, withChannelActionContext, withChannelStateContext, withChatContext, withComponentContext, withEmojiContext, withMessageContext, withTranslationContext, withTypingContext)

@masects
Copy link

masects commented Nov 12, 2022

having the same issue

@elvinnadir
Copy link

Same problem.Because MessageTeam removed in stream-chat-react.What is alternative for this.I dont know

@mhmdfrhn
Copy link

@hugojaimeb Uninstalled v10x and installed v9.x it solved for me, or u can install [email protected] instantly

@237nkanke
Copy link

having the same issue and am still looking for a solution

@thiernoa98
Copy link

guys, type these lines of codes it works perfectly fine:
<Channel

    EmptyStateIndicator={EmtypState}
  //MessageText is a stream func used to display the message
    //Message = {(messageProps, index) => <ChannelInner key={index} {...messageProps} /> }
    >

      <ChannelInner
        setIsEditing = {setIsEditing}
      />

you don't need the MessageTeam function at all, that's why I commented it out.

@Amrutha5081
Copy link

Hey everyone, I was trying this out and faced the same issue. Got the solution too.

  1. Try uninstalling the stream-chat-react and installing it back with version 6.5.1
  2. If that doesn't work, then use 'MessageSimple' component instead of 'MessageTeam'. That should do the job.
    Hope it helps y'all! Happy coding.

@chopsqd
Copy link

chopsqd commented Feb 6, 2023

Hello guys. If anyone still needs the solution, then try to use MessageSimple component instead MessageTeam, it works almost the same way. The already deprecated MessageTeam component was removed from the SDK

@AzyzHssin
Copy link

MessageTeam removed in stream-chat-react.What is alternative for this

The MessageTeam component was removed from the stream-chat-react library as of version 4.0.0. Instead, you can use the Message component with the messageType prop set to "system" to display system messages such as team messages.

@tewodrosGirmaA
Copy link

After a thorough debugging process, I discovered that the MessageTeam Component is no longer in use. Instead, it should be replaced with Message. Thank you for your attention. If you are interested in hiring me, please contact me via email at [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants