plouc / wiremock-ui

An unofficial UI for WireMock

Home Page:https://plouc.github.io/wiremock-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It won't run anymore

hamooz opened this issue · comments

C:/GIT/wiremock/wiremock-ui/src/modules/core/store/epics.ts
(13,13): Argument of type 'OperatorFunction<() => EmptyAction<CoreActionTypes.LOAD_STATE>, IAction | EmptyAction<CoreActionTypes.LOAD_STATE_FINISHED>>' is not assignable to parameter of type 'OperatorFunction<IAction, IAction | EmptyAction<CoreActionTypes.LOAD_STATE_FINISHED>>'.
Property 'type' is missing in type '() => EmptyAction<CoreActionTypes.LOAD_STATE>' but required in type 'IAction'.

A dirty workaround is to remove all semantic versions (^) in the package.json. However, this needs to be fixed,

@ConradSchmidt I am not able to stand up the app. Can you help specifying which versions(^) need to be removed from the package.json?

@martayubero were you able to get it up and running? I'm seeing the same error. The comment from @ConradSchmidt didn't help much.

@ConradSchmidt Tried removing all the carets (^), no luck.

I can confirm on this issue too. Removing all carets does not seem to work. I am unable to proceed with this beautiful looking excellent tool.

@Purus, @hamooz

I just tried to build this app and faced with the same issue and some other previously. Worked without removing carets.

Just try to follow these steps:

  1. npm install
  2. yarn install
  3. npm run-script build
  4. npm run-script start

or

  1. npm install
  2. yarn install
  3. yarn start

@danilchican Tried the same, opens on localhost:3000 and fails with following error shown on browser,

Failed to compile

/Users/..../git/wiremock-ui/src/modules/core/components/AppBar.tsx
(3,29): Module '"../../../../node_modules/react-feather/dist"' has no exported member 'Github'. Did you mean 'GitHub'?

This error occurred during the build time and cannot be dismissed.