mattermost-webapp: "configureStore" This expression is not callable.
-
wrote on Aug 15, 2023, 10:09 AM last edited by
//problem
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); }); }
-
wrote on Aug 15, 2023, 10:43 AM last edited by
Hi,what are the packages needed to run the web part of mattermost?
-
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.