Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. mattermost-webapp: "configureStore" This expression is not callable.

mattermost-webapp: "configureStore" This expression is not callable.

Scheduled Pinned Locked Moved Mattermost
4 Posts 2 Posters 581 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      D Offline
      dev1999
      wrote on last edited by
      #1

      //problem
      image.png This expression is not callable.
      Type 'StoreJsAPI' has no call signatures.ts(2349)
      (alias) const configureStore: StoreJsAPI
      import configureStore

      //code
      for (let i = 0; i < testCases.length; i++) {
      const testCase = testCases[i];

          test('at ' + i, async () => {
              const store = configureStore(initialState);
      
              const targetIndex = testCase.inChannelIds.indexOf('new');
      
              const newIndex = Actions.adjustTargetIndexForMove(store.getState(), 'category1', ['new'], targetIndex, 'new');
      
              const actualChannelIds = insertWithoutDuplicates(channelIds, 'new', newIndex);
              expect(actualChannelIds).toEqual(testCase.expectedChannelIds);
          });
      }
      
      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Hi, this is a Cloudron forum and the mattermost section here is for app package issues. Is this somehow related?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dev1999
          wrote on last edited by
          #3

          Hi,what are the packages needed to run the web part of mattermost?

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            Do you have a Cloudron installation? https://www.cloudron.io/

            If not than you can install one and then install mattermost on your server or otherwise consult the mattermost community instead.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search