cmdmnt / commandment

Open Source Apple MDM implemented in Python
MIT License
297 stars 61 forks source link

Frontend showing directory listing, not app #28

Open quilombodigital opened 5 years ago

quilombodigital commented 5 years ago

When I start the frontend, it shows the directory listing, not the application. I dont know if this is related, but the log shows this error:

Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!sass/app.scss:
     21 assets
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
     [0] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
     [1] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
     [2] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.eot 88 bytes {0} [built]
     [3] ./node_modules/semantic-ui-css/themes/default/assets/fonts/outline-icons.eot 88 bytes {0} [built]
     [4] ./node_modules/semantic-ui-css/themes/default/assets/fonts/brand-icons.eot 88 bytes {0} [built]
     [5] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./sass/app.scss 41.1 KiB {0} [built]
     [6] ./node_modules/css-loader/dist/cjs.js!./node_modules/semantic-ui-css/semantic.min.css 622 KiB {0} [built]
     [7] ./node_modules/semantic-ui-css/themes/default/assets/images/flags.png 95 bytes {0} [built]
     [8] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.woff2 90 bytes {0} [built]
    [20] ./node_modules/css-loader/dist/cjs.js!./node_modules/react-table/react-table.css 8.52 KiB {0} [built]
    [21] ./node_modules/font-awesome/fonts/fontawesome-webfont.eot 88 bytes {0} [built]
    [22] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff2 90 bytes {0} [built]
    [23] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff 89 bytes {0} [built]
    [24] ./node_modules/font-awesome/fonts/fontawesome-webfont.ttf 88 bytes {0} [built]
    [25] ./node_modules/font-awesome/fonts/fontawesome-webfont.svg 165 bytes {0} [built]
        + 11 hidden modules
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!src/components/Navigation.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./src/components/Navigation.scss 142 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!src/components/devices/MacOSDeviceDetail.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./src/components/devices/MacOSDeviceDetail.scss 228 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]

Any idea how to solve this issue?

mosen commented 5 years ago

It sounds like the backend isn’t running. If the backend was serving / it would at least render a blank page. Do you have uwsgi and nginx set up or some similar combo ?

chiragc2 commented 4 years ago

@mosen @quilombodigital when i start frontend (vi. npm start). it throw below errors and could not able to generate app.css and app.js in commandment/static directory.

npm start

> commandment-ui@1.0.0 start /home/ips/Projects/commandment/ui
> webpack-dev-server

using config from ./webpack.config.prod
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /static/
ℹ 「wds」: Content not from webpack is served from /home/ips/Projects/commandment/ui
ℹ 「atl」: Using typescript@3.7.3 from typescript
ℹ 「atl」: Using tsconfig.json from /home/ips/Projects/commandment/ui/tsconfig.json (in a forked process)
ℹ 「atl」: Checking started in a separate process...
⚠ 「wdm」: Hash: 97b85ee3d3e7343d7b9f
Version: webpack 4.41.4
Time: 14393ms
Built at: 2019-12-20 16:27:52
                                            Asset      Size  Chunks                    Chunk Names
                                           app.js  1.04 MiB       0  [emitted]  [big]  app
                                      css/app.css   653 KiB       0  [emitted]  [big]  app
     fonts/0ab54153eeeca0ce03978cc463b257f7.woff2  39.2 KiB          [emitted]         
       fonts/13db00b7a34fee4d819ab7f9838cc428.eot  96.3 KiB          [emitted]         
       fonts/674f50d287a8c48dc19ba404d20fe713.eot   162 KiB          [emitted]         
       fonts/701ae6abd4719e9c2ada3535a497b341.eot  30.4 KiB          [emitted]         
       fonts/82f60bd0b94a1ed68b1e6e309ce2e8c3.svg   105 KiB          [emitted]         
       fonts/8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot   104 KiB          [emitted]         
       fonts/912ec66d7572ff821749319396470bde.svg   434 KiB          [emitted]  [big]  
       fonts/962a1bf31c081691065fe333d9fa8105.svg   382 KiB          [emitted]  [big]  
      fonts/a046592bac8f2fd96e994733faf3858c.woff  62.2 KiB          [emitted]         
       fonts/a1a749e89f578a49306ec2b055c073da.svg   496 KiB          [emitted]  [big]  
       fonts/ad97afd3337e8cda302d10ff5a4026b8.ttf  30.2 KiB          [emitted]         
     fonts/af7ae505a9eed503f8b8e6982036873e.woff2  75.4 KiB          [emitted]         
       fonts/b06871f281fee6b241d60582ae9369b9.ttf   162 KiB          [emitted]         
       fonts/b87b9ba532ace76ae9f6edfe9f72ded2.ttf   103 KiB          [emitted]         
       fonts/c5ebe0b32dc1b5cc449a76c4204d13bb.ttf  96.1 KiB          [emitted]         
     fonts/cd6c777f1945164224dee082abaea03a.woff2    12 KiB          [emitted]         
     fonts/e8c322de9658cbeb8a774b6624167c2c.woff2  53.2 KiB          [emitted]         
      fonts/ef60a4f6c25ef7f39f2d25a748dbecfe.woff  14.4 KiB          [emitted]         
      fonts/faff92145777a3cbaf8e7367b4807987.woff  49.3 KiB          [emitted]         
      fonts/fee66e712a8a08eef5805a46892932ad.woff  95.7 KiB          [emitted]         
images/flags-9c74e172f87984c48ddf5c8108cabe67.png  27.5 KiB          [emitted]         
Entrypoint app [big] = app.js css/app.css
  [0] ./node_modules/react/index.js 190 bytes {0} [built]
 [24] ./node_modules/react-redux/es/index.js + 22 modules 48.5 KiB {0} [built]
      | ./node_modules/react-redux/es/index.js 776 bytes [built]
      | ./node_modules/react-redux/es/components/Context.js 118 bytes [built]
      | ./node_modules/react-redux/es/utils/batch.js 413 bytes [built]
      | ./node_modules/react-redux/es/components/Provider.js 1.35 KiB [built]
      | ./node_modules/react-redux/es/components/connectAdvanced.js 17.8 KiB [built]
      | ./node_modules/react-redux/es/utils/shallowEqual.js 676 bytes [built]
      | ./node_modules/react-redux/es/connect/connect.js 4.85 KiB [built]
      | ./node_modules/react-redux/es/hooks/useStore.js 1.13 KiB [built]
      | ./node_modules/react-redux/es/hooks/useDispatch.js 1.29 KiB [built]
      | ./node_modules/react-redux/es/hooks/useSelector.js 4.25 KiB [built]
      | ./node_modules/react-redux/es/utils/reactBatchedUpdates.js 94 bytes [built]
      | ./node_modules/react-redux/es/utils/Subscription.js 2.62 KiB [built]
      | ./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js 926 bytes [built]
      | ./node_modules/react-redux/es/connect/mapDispatchToProps.js 915 bytes [built]
      | ./node_modules/react-redux/es/connect/mapStateToProps.js 504 bytes [built]
      |     + 8 hidden modules
 [82] ./node_modules/react-dom/index.js 1.33 KiB {0} [built]
[274] (webpack)-dev-server/client/utils/log.js 964 bytes {0} [built]
[397] ./node_modules/connected-react-router/esm/index.js + 7 modules 18.6 KiB {0} [built]
      | ./node_modules/connected-react-router/esm/index.js 936 bytes [built]
      | ./node_modules/connected-react-router/esm/actions.js 1.6 KiB [built]
      | ./node_modules/connected-react-router/esm/selectors.js 2.28 KiB [built]
      | ./node_modules/connected-react-router/esm/ConnectedRouter.js 7.48 KiB [built]
      | ./node_modules/connected-react-router/esm/reducer.js 3.69 KiB [built]
      | ./node_modules/connected-react-router/esm/structure/plain/index.js 989 bytes [built]
      | ./node_modules/connected-react-router/esm/middleware.js 1.34 KiB [built]
      | ./node_modules/connected-react-router/esm/structure/plain/getIn.js 367 bytes [built]
[444] multi (webpack)-dev-server/client?http://localhost:8080 ./src/entry.tsx 40 bytes {0} [built]
[445] (webpack)-dev-server/client?http://localhost:8080 4.29 KiB {0} [built]
[446] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
[448] (webpack)-dev-server/client/socket.js 1.53 KiB {0} [built]
[451] (webpack)-dev-server/client/overlay.js 3.51 KiB {0} [built]
[457] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {0} [built]
[458] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {0} [built]
[461] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {0} [built]
[469] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {0} [built]
[471] ./src/entry.tsx 5.57 KiB {0} [built]
    + 973 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  fonts/962a1bf31c081691065fe333d9fa8105.svg (382 KiB)
  fonts/a1a749e89f578a49306ec2b055c073da.svg (496 KiB)
  fonts/912ec66d7572ff821749319396470bde.svg (434 KiB)
  app.js (1.04 MiB)
  css/app.css (653 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (1.67 MiB)
      app.js
      css/app.css

WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/dist/cjs.js?sourceMap!sass/app.scss:
                                                Asset      Size  Chunks                    Chunk Names
         fonts/0ab54153eeeca0ce03978cc463b257f7.woff2  39.2 KiB          [emitted]         
           fonts/13db00b7a34fee4d819ab7f9838cc428.eot  96.3 KiB          [emitted]         
           fonts/674f50d287a8c48dc19ba404d20fe713.eot   162 KiB          [emitted]         
           fonts/701ae6abd4719e9c2ada3535a497b341.eot  30.4 KiB          [emitted]         
           fonts/82f60bd0b94a1ed68b1e6e309ce2e8c3.svg   105 KiB          [emitted]         
           fonts/8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot   104 KiB          [emitted]         
           fonts/912ec66d7572ff821749319396470bde.svg   434 KiB          [emitted]  [big]  
           fonts/962a1bf31c081691065fe333d9fa8105.svg   382 KiB          [emitted]  [big]  
          fonts/a046592bac8f2fd96e994733faf3858c.woff  62.2 KiB          [emitted]         
           fonts/a1a749e89f578a49306ec2b055c073da.svg   496 KiB          [emitted]  [big]  
           fonts/ad97afd3337e8cda302d10ff5a4026b8.ttf  30.2 KiB          [emitted]         
         fonts/af7ae505a9eed503f8b8e6982036873e.woff2  75.4 KiB          [emitted]         
           fonts/b06871f281fee6b241d60582ae9369b9.ttf   162 KiB          [emitted]         
           fonts/b87b9ba532ace76ae9f6edfe9f72ded2.ttf   103 KiB          [emitted]         
           fonts/c5ebe0b32dc1b5cc449a76c4204d13bb.ttf  96.1 KiB          [emitted]         
         fonts/cd6c777f1945164224dee082abaea03a.woff2    12 KiB          [emitted]         
         fonts/e8c322de9658cbeb8a774b6624167c2c.woff2  53.2 KiB          [emitted]         
          fonts/ef60a4f6c25ef7f39f2d25a748dbecfe.woff  14.4 KiB          [emitted]         
          fonts/faff92145777a3cbaf8e7367b4807987.woff  49.3 KiB          [emitted]         
          fonts/fee66e712a8a08eef5805a46892932ad.woff  95.7 KiB          [emitted]         
    images/flags-9c74e172f87984c48ddf5c8108cabe67.png  27.5 KiB          [emitted]         
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
     [0] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
     [1] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
     [2] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.eot 88 bytes {0} [built]
     [3] ./node_modules/semantic-ui-css/themes/default/assets/fonts/outline-icons.eot 88 bytes {0} [built]
     [4] ./node_modules/semantic-ui-css/themes/default/assets/fonts/brand-icons.eot 88 bytes {0} [built]
     [5] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/dist/cjs.js?sourceMap!./sass/app.scss 32.5 KiB {0} [built]
     [6] ./node_modules/css-loader/dist/cjs.js!./node_modules/semantic-ui-css/semantic.min.css 622 KiB {0} [built]
     [7] ./node_modules/semantic-ui-css/themes/default/assets/images/flags.png 95 bytes {0} [built]
     [8] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.woff2 90 bytes {0} [built]
    [20] ./node_modules/css-loader/dist/cjs.js!./node_modules/react-table/react-table.css 8.53 KiB {0} [built]
    [21] ./node_modules/font-awesome/fonts/fontawesome-webfont.eot 88 bytes {0} [built]
    [22] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff2 90 bytes {0} [built]
    [23] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff 89 bytes {0} [built]
    [24] ./node_modules/font-awesome/fonts/fontawesome-webfont.ttf 88 bytes {0} [built]
    [25] ./node_modules/font-awesome/fonts/fontawesome-webfont.svg 165 bytes {0} [built]
        + 11 hidden modules
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/dist/cjs.js?sourceMap!src/components/Navigation.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/dist/cjs.js?sourceMap!./src/components/Navigation.scss 142 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/dist/cjs.js?sourceMap!src/components/devices/MacOSDeviceDetail.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/dist/cjs.js?sourceMap!./src/components/devices/MacOSDeviceDetail.scss 208 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
ℹ 「wdm」: Compiled with warnings.
✖ 「atl」: Checking finished with 119 errors
[at-loader] ./src/store/device/actions.ts:107:14 
    TS2345: Argument of type 'RSAAction<DevicesActionTypes.INDEX_REQUEST, DevicesActionTypes.INDEX_SUCCESS, DevicesActionTypes.INDEX_FAILURE>' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type 'RSAAction<DevicesActionTypes.INDEX_REQUEST, DevicesActionTypes.INDEX_SUCCESS, DevicesActionTypes.INDEX_FAILURE>' but required in type 'AnyAction'. 

[at-loader] ./src/store/device/actions.ts:173:14 
    TS2345: Argument of type 'RSAAction<DevicesActionTypes.READ_REQUEST, DevicesActionTypes.READ_SUCCESS, DevicesActionTypes.READ_FAILURE>' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type 'RSAAction<DevicesActionTypes.READ_REQUEST, DevicesActionTypes.READ_SUCCESS, DevicesActionTypes.READ_FAILURE>' but required in type 'AnyAction'. 

[at-loader] ./src/store/applications/actions.ts:143:14 
    TS2322: Type '(values: Application, relationships: RelationshipData) => RSAAction<ApplicationsActionTypes.POST_REQUEST, ApplicationsActionTypes.POST_SUCCESS, ApplicationsActionTypes.POST_FAILURE>' is not assignable to type 'RSAAPostActionRequest<ApplicationsActionTypes.POST_REQUEST, ApplicationsActionTypes.POST_SUCCESS, ApplicationsActionTypes.POST_FAILURE, Application>'.
  Types of parameters 'relationships' and 'relationships' are incompatible.
    Type 'Relationships' is not assignable to type 'RelationshipData'.
      Type 'Relationships' is missing the following properties from type 'ResourceIdentifier[]': length, pop, push, concat, and 26 more. 

[at-loader] ./src/store/auth/actions.ts:69:92 
    TS2344: Type 'TokenActionRequest' does not satisfy the constraint 'Action<any>'.
  Property 'type' is missing in type 'TokenActionRequest' but required in type 'Action<any>'. 

[at-loader] ./src/store/auth/actions.ts:72:51 
    TS2349: This expression is not callable.
  Type '{ endpoint: string; method: HTTPVerb; types: [AuthenticationActionTypes.TOKEN_REQUEST, AuthenticationActionTypes.TOKEN_SUCCESS, AuthenticationActionTypes.TOKEN_FAILURE]; ... 6 more ...; ok?: any; }' has no call signatures. 

[at-loader] ./src/store/auth/actions.ts:72:57 
    TS7006: Parameter 'res' implicitly has an 'any' type. 

[at-loader] ./src/store/auth/actions.ts:74:18 
    TS2769: No overload matches this call.
  Overload 1 of 2, '(action: TokenActionRequest): TokenActionRequest', gave the following error.
    Argument of type 'ITokenSaveRequest' is not assignable to parameter of type 'TokenActionRequest'.
      Index signature is missing in type 'ITokenSaveRequest'.
  Overload 2 of 2, '(asyncAction: ThunkAction<unknown, RootState, null, TokenActionRequest>): unknown', gave the following error.
    Argument of type 'ITokenSaveRequest' is not assignable to parameter of type 'ThunkAction<unknown, RootState, null, TokenActionRequest>'.
      Type 'ITokenSaveRequest' provides no match for the signature '(dispatch: ThunkDispatch<RootState, null, TokenActionRequest>, getState: () => RootState, extraArgument: null): unknown'. 

[at-loader] ./src/store/configuration/mdmcert_actions.ts:64:14 
    TS2345: Argument of type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: MDMCertActionTypes[]; }; }' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: MDMCertActionTypes[]; }; }' but required in type 'AnyAction'. 

[at-loader] ./src/store/configuration/apns_reducer.ts:54:17 
    TS2322: Type 'ApiError<any> | IMDMCertResponse' is not assignable to type 'ApiError<any>'.
  Type 'IMDMCertResponse' is missing the following properties from type 'ApiError<any>': name, message, status, statusText 

[at-loader] ./src/store/configuration/vpp.ts:66:14 
    TS2345: Argument of type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: VPPActionTypes[]; }; }' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: VPPActionTypes[]; }; }' but required in type 'AnyAction'. 

[at-loader] ./src/store/dep/actions.ts:214:9 
    TS2741: Property 'id' is missing in type '{ attributes: DEPProfile; type: string; }' but required in type 'JSONAPIDataObject<DEPProfile>'. 

[at-loader] ./src/store/dep/actions.ts:224:41 
    TS2322: Type 'Relationship' is not assignable to type 'JSONAPIResourceIdentifier | JSONAPIResourceIdentifier[]'.
  Type 'Relationship' is missing the following properties from type 'JSONAPIResourceIdentifier': type, id 

[at-loader] ./src/store/dep/account_reducer.ts:28:47 
    TS2345: Argument of type 'ApiError<any> | ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | ... 135 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'ApiError<any>' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'ApiError<any>' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/account_reducer.ts:44:42 
    TS2339: Property 'data' does not exist on type 'InvalidRSAA | RequestError | (InvalidRSAA & DataResponse<DEPProfile, void>) | (RequestError & DataResponse<...>) | ... 10 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'InvalidRSAA'. 

[at-loader] ./src/store/dep/account_reducer.ts:45:43 
    TS2339: Property 'included' does not exist on type 'InvalidRSAA | RequestError | (InvalidRSAA & DataResponse<DEPProfile, void>) | (RequestError & DataResponse<...>) | ... 10 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'included' does not exist on type 'InvalidRSAA'. 

[at-loader] ./src/store/dep/accounts_reducer.ts:30:47 
    TS2345: Argument of type 'ApiError<any> | ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | ... 135 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'ApiError<any>' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'ApiError<any>' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/accounts_reducer.ts:40:42 
    TS2339: Property 'data' does not exist on type 'ApiError<any> | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | (RequestError & ApiError<...>) | ... 56 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'ApiError<any>'. 

[at-loader] ./src/store/dep/profiles_reducer.ts:31:47 
    TS2345: Argument of type 'ApiError<any> | ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | ... 135 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'ApiError<any>' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'ApiError<any>' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/profiles_reducer.ts:41:35 
    TS2339: Property 'data' does not exist on type 'ApiError<any> | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | (RequestError & ApiError<...>) | ... 56 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'ApiError<any>'. 

[at-loader] ./src/store/dep/profile_reducer.ts:31:17 
    TS2451: Cannot redeclare block-scoped variable 'payload'. 

[at-loader] ./src/store/dep/profile_reducer.ts:79:19 
    TS2451: Cannot redeclare block-scoped variable 'payload'. 

[at-loader] ./src/store/dep/profile_reducer.ts:39:54 
    TS2345: Argument of type 'ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ErrorResponse) | (InvalidRSAA & DataResponse<...>) | ... 28 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'InvalidRSAA' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'InvalidRSAA' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/profile_reducer.ts:49:42 
    TS2339: Property 'data' does not exist on type 'InvalidRSAA | RequestError | (InvalidRSAA & DataResponse<DEPProfile, void>) | (RequestError & DataResponse<...>) | ... 10 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'InvalidRSAA'. 

[at-loader] ./src/store/dep/profile_reducer.ts:59:47 
    TS2345: Argument of type 'ApiError<any> | ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | ... 135 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'ApiError<any>' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'ApiError<any>' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/profile_reducer.ts:69:49 
    TS2339: Property 'data' does not exist on type 'ApiError<any> | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | (RequestError & ApiError<...>) | ... 56 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'ApiError<any>'. 

[at-loader] ./src/store/dep/profile_reducer.ts:80:47 
    TS2345: Argument of type 'ApiError<any> | ErrorResponse | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | ... 135 more ... | (DataResponse<...> & DataResponse<...>)' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'ApiError<any>' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'ApiError<any>' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/dep/profile_reducer.ts:90:42 
    TS2339: Property 'data' does not exist on type 'ApiError<any> | InvalidRSAA | RequestError | (InvalidRSAA & ApiError<any>) | (RequestError & ApiError<...>) | ... 56 more ... | (DataResponse<...> & DataResponse<...>)'.
  Property 'data' does not exist on type 'ApiError<any>'. 

[at-loader] ./src/store/organization/reducer.ts:58:47 
    TS2345: Argument of type 'JSONAPIErrorResponse | Organization' is not assignable to parameter of type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
  Type 'Organization' is not assignable to type 'JSONAPIErrorResponse | JSONAPIListResponse<any> | JSONAPIDetailResponse<any, any>'.
    Type 'Organization' has no properties in common with type 'JSONAPIDetailResponse<any, any>'. 

[at-loader] ./src/store/profiles/actions.ts:127:14 
    TS2345: Argument of type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: string[]; }; }' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type '{ [x: string]: { body: FormData; endpoint: string; method: string; types: string[]; }; }' but required in type 'AnyAction'. 

[at-loader] ./src/store/tags/actions.ts:83:14 
    TS2345: Argument of type 'RSAAction<TagsActionTypes.POST_REQUEST, TagsActionTypes.POST_SUCCESS, TagsActionTypes.POST_FAILURE>' is not assignable to parameter of type 'AnyAction'.
  Property 'type' is missing in type 'RSAAction<TagsActionTypes.POST_REQUEST, TagsActionTypes.POST_SUCCESS, TagsActionTypes.POST_FAILURE>' but required in type 'AnyAction'. 

[at-loader] ./src/store/configureStore.ts:25:9 
    TS2345: Argument of type 'RootState' is not assignable to parameter of type 'DeepPartial<RootState>'.
  The types of 'certificates.byType' are incompatible between these types.
    Type '{ [propName: string]: JSONAPIDetailResponse<Certificate, undefined>; }' is not assignable to type 'DeepPartial<{ [propName: string]: JSONAPIDetailResponse<Certificate, undefined>; }>'.
      Index signatures are incompatible.
        Type 'JSONAPIDetailResponse<Certificate, undefined>' is not assignable to type 'DeepPartial<JSONAPIDetailResponse<Certificate, undefined>>'.
          Types of property 'included' are incompatible.
            Type 'JSONAPIDataObject<undefined>[]' is not assignable to type 'DeepPartial<JSONAPIDataObject<undefined>>[]'.
              Type 'JSONAPIDataObject<undefined>' is not assignable to type 'DeepPartial<JSONAPIDataObject<undefined>>'.
                Types of property 'attributes' are incompatible.
                  Type 'undefined' is not assignable to type 'never'. 

[at-loader] ./src/components/semantic-ui/MenuItemLink.tsx:13:63 
    TS7031: Binding element 'match' implicitly has an 'any' type. 

[at-loader] ./src/containers/applications/ApplicationDeviceStatus.tsx:72:15 
    TS2345: Argument of type 'typeof UnconnectedApplicationDeviceStatus' is not assignable to parameter of type 'ComponentType<never>'.
  Type 'typeof UnconnectedApplicationDeviceStatus' is not assignable to type 'ComponentClass<never, any>'.
    Construct signature return types 'UnconnectedApplicationDeviceStatus' and 'Component<never, any, any>' are incompatible.
      The types of 'props' are incompatible between these types.
        Type 'Readonly<IApplicationDeviceStatusProps> & Readonly<{ children?: ReactNode; }>' is not assignable to type 'never'. 

[at-loader] ./src/containers/ApplicationPage.tsx:105:18 
    TS2741: Property 'searchTimeout' is missing in type '{ loading: boolean; tags: JSONAPIDataObject<Tag>[]; value: number[]; onAddItem: (event: SyntheticEvent<MouseEvent, Event>, { value }: { ...; }) => void; onSearch: (value: string) => void; onChange: (event: SyntheticEvent<...>, data: DropdownProps) => void; }' but required in type 'Readonly<ITagDropdownProps>'. 

[at-loader] ./src/containers/ApplicationPage.tsx:129:20 
    TS2339: Property 'postRelated' does not exist on type 'Readonly<IDispatchProps & IStateProps & RouteComponentProps<IRouteProps, StaticContext, any>> & Readonly<...>'. 

[at-loader] ./src/containers/ApplicationPage.tsx:144:54 
    TS2345: Argument of type 'ResourceIdentifier[]' is not assignable to parameter of type 'JSONAPIRelationship[]'.
  Property 'data' is missing in type 'ResourceIdentifier' but required in type 'JSONAPIRelationship'. 

[at-loader] ./src/containers/applications/MacOSEntApplicationPage.tsx:61:3 
    TS2345: Argument of type 'typeof UnconnectedApplicationPage' is not assignable to parameter of type 'ComponentType<never>'.
  Type 'typeof UnconnectedApplicationPage' is not assignable to type 'ComponentClass<never, any>'.
    Construct signature return types 'UnconnectedApplicationPage' and 'Component<never, any, any>' are incompatible.
      The types of 'props' are incompatible between these types.
        Type 'Readonly<IReduxStateProps & IReduxDispatchProps & RouteComponentProps<IRouteParameters, StaticContext, any>> & Readonly<...>' is not assignable to type 'never'. 

[at-loader] ./src/containers/ApplicationsPage.tsx:62:18 
    TS2739: Type '{ data: JSONAPIDataObject<Application>[]; loading: boolean; onFetchData: (state: IReactTableState) => void; }' is missing the following properties from type 'IApplicationsTableProps': onToggleSelection, onToggleAll 

[at-loader] ./src/components/itunes/MASResult.tsx:13:14 
    TS2322: Type '({ data, onClickAdd, isAdded, icon }: IMASResultProps) => JSX.Element' is not assignable to type 'FunctionComponent<{}>'.
  Types of parameters '__0' and 'props' are incompatible.
    Type '{ children?: ReactNode; }' is missing the following properties from type 'IMASResultProps': data, isAdded, onClickAdd 

[at-loader] ./src/containers/AppStorePage.tsx:84:40 
    TS2322: Type '{ key: number; data: IiTunesSoftwareSearchResult; icon: ArtworkIconSize; onClickAdd: (result: IiTunesSoftwareSearchResult) => void; isAdded: boolean; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
  Property 'data' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'. 

[at-loader] ./src/containers/AppStorePage.tsx:99:15 
    TS2739: Type '{ bundle_id: string; description: string; display_name: string; itunes_store_id: number; version: string; country: string; artist_id: number; artist_name: string; artist_view_url: string; artwork_url60: string; ... 5 more ...; file_size_bytes: number; }' is missing the following properties from type 'Application': manifest_url, management_flags, change_management_state 

[at-loader] ./src/components/forms/DeviceAuthForm.tsx:34:7 
    TS2740: Type '{ authentication_method: string; key_size: string; retries: number; retry_delay: number; }' is missing the following properties from type 'IDeviceAuthFormValues': url, challenge_enabled, challenge, ca_fingerprint, and 5 more. 

[at-loader] ./src/components/forms/DeviceAuthForm.tsx:215:5 
    TS2322: Type '(props: IDeviceAuthFormProps) => SCEPConfiguration' is not assignable to type '(props: IDeviceAuthFormProps) => IDeviceAuthFormValues'.
  Property 'authentication_method' is missing in type 'SCEPConfiguration' but required in type 'IDeviceAuthFormValues'. 

[at-loader] ./src/containers/DEPAccountPage.tsx:110:20 
    TS2739: Type '{ data: JSONAPIDataObject<DEPProfile>[]; }' is missing the following properties from type 'IDEPProfilesTableProps': loading, onToggleSelection, onToggleAll 

[at-loader] ./src/containers/DEPProfilePage.tsx:88:13 
    TS2740: Type '{}' is missing the following properties from type 'IDEPProfileFormValues': show, profile_name, allow_pairing, is_supervised, and 6 more. 

[at-loader] ./src/containers/DEPProfilePage.tsx:120:33 
    TS2322: Type 'Key' is not assignable to type 'number'.
  Type 'string' is not assignable to type 'number'. 

[at-loader] ./src/containers/DEPProfilePage.tsx:134:31 
    TS2322: Type '{ type: string; id: string; }' is not assignable to type 'Relationship'.
  Object literal may only specify known properties, and 'type' does not exist in type 'Relationship'. 

[at-loader] ./src/components/react-tables/DeviceApplicationsTable.tsx:40:9 
    TS2769: No overload matches this call.
  Overload 1 of 2, '(props: Readonly<Partial<TableProps<any, any>>>): ReactTable<any>', gave the following error.
    Type '{ loading: boolean; onFetchData: ((state: any, instance: any) => void) & ((state: any, instance: any) => void); resolveData?: (data: any[]) => any[]; showPagination?: boolean; showPaginationTop?: boolean; ... 111 more ...; data: JSONAPIDataObject<...>[] & any[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactTable<any>> & Readonly<Partial<TableProps<any, any>>> & Readonly<...>'.
      Property 'keyField' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactTable<any>> & Readonly<Partial<TableProps<any, any>>> & Readonly<...>'.
  Overload 2 of 2, '(props: Partial<TableProps<any, any>>, context?: any): ReactTable<any>', gave the following error.
    Type '{ loading: boolean; onFetchData: ((state: any, instance: any) => void) & ((state: any, instance: any) => void); resolveData?: (data: any[]) => any[]; showPagination?: boolean; showPaginationTop?: boolean; ... 111 more ...; data: JSONAPIDataObject<...>[] & any[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactTable<any>> & Readonly<Partial<TableProps<any, any>>> & Readonly<...>'.
      Property 'keyField' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactTable<any>> & Readonly<Partial<TableProps<any, any>>> & Readonly<...>'. 

[at-loader] ./src/containers/devices/DeviceCommands.tsx:59:42 
    TS2322: Type '{ id: string; asc: boolean; }' is not assignable to type 'SortingRule'.
  Object literal may only specify known properties, and 'asc' does not exist in type 'SortingRule'. 

[at-loader] ./src/containers/devices/DeviceOSUpdates.tsx:87:21 
    TS2322: Type 'JSONAPIDataObject<InstalledProfile>[]' is not assignable to type 'JSONAPIDataObject<AvailableOSUpdate>[]'.
  Type 'JSONAPIDataObject<InstalledProfile>' is not assignable to type 'JSONAPIDataObject<AvailableOSUpdate>'.
    Type 'InstalledProfile' is missing the following properties from type 'AvailableOSUpdate': allows_install_later, app_identifiers_to_close, human_readable_name, human_readable_name_locale, and 7 more. 

[at-loader] ./src/components/devices/MacOSDeviceDetail.tsx:88:18 
    TS2741: Property 'searchTimeout' is missing in type '{ loading: boolean; tags: JSONAPIDataObject<Tag>[]; value: number[]; onAddItem: (event: SyntheticEvent<any, Event>, data: object) => void; onSearch: (value: string) => void; onChange: (event: SyntheticEvent<...>, data: DropdownProps) => void; }' but required in type 'Readonly<ITagDropdownProps>'. 

[at-loader] ./src/components/devices/MacOSDeviceDetail.tsx:109:44 
    TS2322: Type '"disk outline"' is not assignable to type 'SemanticICONS'. 

[at-loader] ./src/components/devices/IOSDeviceDetail.tsx:86:14 
    TS2741: Property 'searchTimeout' is missing in type '{ loading: boolean; tags: JSONAPIDataObject<Tag>[]; value: number[]; onAddItem: (event: SyntheticEvent<any, Event>, data: object) => void; onSearch: (value: string) => void; onChange: (event: SyntheticEvent<...>, data: DropdownProps) => void; }' but required in type 'Readonly<ITagDropdownProps>'. 

[at-loader] ./src/components/devices/IOSDeviceDetail.tsx:107:44 
    TS2322: Type '"disk outline"' is not assignable to type 'SemanticICONS'. 

[at-loader] ./src/containers/DevicePage.tsx:149:40 
    TS2345: Argument of type 'string' is not assignable to parameter of type 'DeviceModelName'. 

[at-loader] ./src/containers/DevicePage.tsx:206:54 
    TS2345: Argument of type '{ id: string; type: string; }[]' is not assignable to parameter of type 'JSONAPIRelationship[]'.
  Property 'data' is missing in type '{ id: string; type: string; }' but required in type 'JSONAPIRelationship'. 

[at-loader] ./src/components/ActionMenu.tsx:15:58 
    TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature. 

[at-loader] ./src/components/react-table/SUISelectionTools.tsx:25:40 
    TS2326: Types of property 'color' are incompatible.
  Type 'string' is not assignable to type 'SemanticCOLORS'. 

[at-loader] ./src/components/react-table/SUISelectionTools.tsx:30:38 
    TS2322: Type 'string' is not assignable to type 'UIActionTypes'. 

[at-loader] ./src/containers/DevicesPage.tsx:82:18 
    TS2741: Property 'toggleAll' is missing in type '{ data: JSONAPIDataObject<Device>[]; loading: boolean; toggleSelection: ToggleSelectionActionCreator; isSelected: (key: string) => boolean; onFetchData: (state: IReactTableState) => void; }' but required in type 'IDevicesTableProps'. 

[at-loader] ./src/containers/ProfilePage.tsx:97:18 
    TS2741: Property 'searchTimeout' is missing in type '{ loading: boolean; tags: JSONAPIDataObject<Tag>[]; value: number[]; onAddItem: (event: SyntheticEvent<MouseEvent, Event>, { value }: { ...; }) => void; onSearch: (value: string) => void; onChange: (event: SyntheticEvent<...>, data: DropdownProps) => void; }' but required in type 'Readonly<ITagDropdownProps>'. 

[at-loader] ./src/containers/ProfilePage.tsx:126:37 
    TS2339: Property 'map' does not exist on type 'string | number | boolean | (string | number | boolean)[]'.
  Property 'map' does not exist on type 'string'. 

[at-loader] ./src/containers/ProfilePage.tsx:138:3 
    TS2345: Argument of type 'typeof UnconnectedProfilePage' is not assignable to parameter of type 'ComponentType<never>'.
  Type 'typeof UnconnectedProfilePage' is not assignable to type 'ComponentClass<never, any>'.
    Construct signature return types 'UnconnectedProfilePage' and 'Component<never, any, any>' are incompatible.
      The types of 'props' are incompatible between these types.
        Type 'Readonly<RouteComponentProps<IRouteProps, StaticContext, any> & IReduxStateProps & IReduxDispatchProps> & Readonly<...>' is not assignable to type 'never'. 

[at-loader] ./src/containers/ProfilesPage.tsx:67:21 
    TS2322: Type '{ data: JSONAPIDataObject<Profile>[]; loading: boolean; toggleSelection: ToggleSelectionActionCreator; isSelected: (key: string) => boolean; onFetchData: (state: IReactTableState) => void; }' is not assignable to type 'IntrinsicAttributes & IProfilesTableProps & Partial<TableProps<any, any>>'.
  Property 'toggleSelection' does not exist on type 'IntrinsicAttributes & IProfilesTableProps & Partial<TableProps<any, any>>'. 

[at-loader] ./src/containers/settings/APNSPage.tsx:7:19 
    TS2614: Module '"../../../node_modules/react-dropzone/typings/react-dropzone"' has no exported member 'DropFilesEventHandler'. Did you mean to use 'import DropFilesEventHandler from "../../../node_modules/react-dropzone/typings/react-dropzone"' instead? 

[at-loader] ./src/containers/settings/APNSPage.tsx:163:58 
    TS7006: Parameter 'accepted' implicitly has an 'any' type. 

[at-loader] ./src/containers/settings/APNSPage.tsx:163:68 
    TS7006: Parameter 'rejected' implicitly has an 'any' type. 

[at-loader] ./src/containers/settings/DEPAccountsPage.tsx:76:26 
    TS2739: Type '{ data: JSONAPIDataObject<DEPAccount>[]; loading: boolean; }' is missing the following properties from type 'IDEPAccountsTableProps': onToggleSelection, onToggleAll 

[at-loader] ./src/containers/settings/DEPAccountsPage.tsx:92:3 
    TS2345: Argument of type 'typeof UnconnectedDEPAccountsPage' is not assignable to parameter of type 'ComponentType<never>'.
  Type 'typeof UnconnectedDEPAccountsPage' is not assignable to type 'ComponentClass<never, any>'.
    Construct signature return types 'UnconnectedDEPAccountsPage' and 'Component<never, any, any>' are incompatible.
      The types of 'props' are incompatible between these types.
        Type 'Readonly<OwnProps> & Readonly<{ children?: ReactNode; }>' is not assignable to type 'never'. 

[at-loader] ./node_modules/formik-semantic-ui/dist/index.d.ts:1:6 
    TS2300: Duplicate identifier 'Omit'. 

[at-loader] ./src/containers/LoginPage.tsx:14:5 
    TS2305: Module '"../../node_modules/formik/dist"' has no exported member 'Label'. 

[at-loader] ./src/containers/LoginPage.tsx:42:7 
    TS2322: Type '(props: ILoginPageProps & RouteComponentProps<IRouteProps, StaticContext, any> & FormikSharedConfig<{}> & ... 4 more ... & FormikRegistration) => JSX.Element' is not assignable to type 'FC<{}>'.
  Types of parameters 'props' and 'props' are incompatible.
    Type '{ children?: ReactNode; }' is not assignable to type 'ILoginPageProps & RouteComponentProps<IRouteProps, StaticContext, any> & FormikSharedConfig<{}> & ... 4 more ... & FormikRegistration'.
      Type '{ children?: ReactNode; }' is missing the following properties from type 'ILoginPageProps': loading, login 

[at-loader] ./src/containers/LogoutPage.tsx:14:5 
    TS2305: Module '"../../node_modules/formik/dist"' has no exported member 'Label'. 

[at-loader] ./src/containers/LogoutPage.tsx:42:7 
    TS2322: Type '(props: ILogoutPageProps & RouteComponentProps<IRouteProps, StaticContext, any>) => JSX.Element' is not assignable to type 'FC<{}>'.
  Types of parameters 'props' and 'props' are incompatible.
    Type '{ children?: ReactNode; }' is not assignable to type 'ILogoutPageProps & RouteComponentProps<IRouteProps, StaticContext, any>'.
      Type '{ children?: ReactNode; }' is missing the following properties from type 'ILogoutPageProps': loading, logout 

[at-loader] ./src/containers/LogoutPage.tsx:67:22 
    TS2339: Property 'logout' does not exist on type 'typeof import("/home/ips/Projects/commandment/ui/src/store/auth/actions")'. 

[at-loader] ./src/components/modals/ProfileUploadModal.tsx:2:19 
    TS2614: Module '"../../../node_modules/react-dropzone/typings/react-dropzone"' has no exported member 'DropFilesEventHandler'. Did you mean to use 'import DropFilesEventHandler from "../../../node_modules/react-dropzone/typings/react-dropzone"' instead? 

[at-loader] ./src/components/NavigationLayout.tsx:8:103 
    TS2314: Generic type 'ComponentProps' requires 1 type argument(s). 

[at-loader] ./src/components/NavigationLayout.tsx:11:14 
    TS2739: Type '{}' is missing the following properties from type 'INavigationVerticalProps': history, location, match 

[at-loader] ./src/components/BareLayout.tsx:11:81 
    TS2339: Property 'Component' does not exist on type 'PropsWithChildren<INavigationLayout & RouteProps>'. 

[at-loader] ./src/components/BareLayout.tsx:14:14 
    TS2552: Cannot find name 'Component'. Did you mean 'component'? 

[at-loader] ./src/components/ProtectedRoute.tsx:12:7 
    TS2322: Type '({ component: Component, access_token, ...rest }: Partial<IProtectedRoute>) => JSX.Element' is not assignable to type 'FunctionComponent<{}>'.
  Types of parameters '__0' and 'props' are incompatible.
    Type '{ children?: ReactNode; }' has no properties in common with type 'Partial<IProtectedRoute>'. 

[at-loader] ./src/components/ProtectedRoute.tsx:18:14 
    TS2604: JSX element type 'Component' does not have any construct or call signatures. 

[at-loader] ./src/entry.tsx:48:45 
    TS2322: Type 'ConnectedComponent<ComponentType<ILoginPageProps>, Pick<ILoginPageProps, never>>' is not assignable to type '(ComponentClass<{}, any> & ComponentClass<any, any>) | (ComponentClass<{}, any> & FunctionComponent<any>) | (ComponentClass<...> & ComponentClass<...>) | (ComponentClass<...> & FunctionComponent<...>)'.
  Type 'ConnectedComponent<ComponentType<ILoginPageProps>, Pick<ILoginPageProps, never>>' is not assignable to type 'ComponentClass<{}, any> & FunctionComponent<any>'.
    Type 'ConnectedComponent<ComponentType<ILoginPageProps>, Pick<ILoginPageProps, never>>' is not assignable to type 'ComponentClass<{}, any>'.
      Type 'NamedExoticComponent<Pick<ILoginPageProps, never>> & NonReactStatics<ComponentType<ILoginPageProps>, {}> & { ...; }' provides no match for the signature 'new (props: {}, context?: any): Component<{}, any, any>'. 

[at-loader] ./src/entry.tsx:49:46 
    TS2322: Type 'ConnectedComponent<FC<{}>, Pick<{}, never>>' is not assignable to type '(ComponentClass<{}, any> & ComponentClass<any, any>) | (ComponentClass<{}, any> & FunctionComponent<any>) | (ComponentClass<...> & ComponentClass<...>) | (ComponentClass<...> & FunctionComponent<...>)'.
  Type 'ConnectedComponent<FC<{}>, Pick<{}, never>>' is not assignable to type 'ComponentClass<{}, any> & FunctionComponent<any>'.
    Type 'ConnectedComponent<FC<{}>, Pick<{}, never>>' is not assignable to type 'ComponentClass<{}, any>'.
      Type 'NamedExoticComponent<Pick<{}, never>> & NonReactStatics<FC<{}>, {}> & { WrappedComponent: FC<{}>; }' provides no match for the signature 'new (props: {}, context?: any): Component<{}, any, any>'. 

[at-loader] ./src/entry.tsx:51:18 
    TS2739: Type '{ children: Element[]; }' is missing the following properties from type 'RouteComponentProps<{}, StaticContext, any>': history, location, match 

[at-loader] ./src/entry.tsx:52:37 
    TS2322: Type '{ exact: true; path: string; component: FunctionComponent<RouteComponentProps<any, StaticContext, any>>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:53:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedApplicationsPage, any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:54:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedApplicationPage, Pick<IDispatchProps & IStateProps & RouteComponentProps<IRouteProps, StaticContext, any>, "history" | ... 2 more ... | "staticContext">>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:55:37 
    TS2322: Type '{ path: string; component: any; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:56:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedAppStorePage, any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:57:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedDevicesPage, Pick<DevicesPageProps, "history" | "location" | "match" | "staticContext"> & IReduxStateProps & IReduxDispatchProps & RouteComponentProps<...>>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:58:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof BaseDevicePage, Pick<DevicePageProps, "history" | "location" | "match" | "staticContext"> & IReduxStateProps & IReduxDispatchProps & RouteComponentProps<...>>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:59:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedProfilesPage, Pick<IProfilesPageProps, "history" | "location" | "match" | "staticContext" | "componentWillMount"> & IProfilesPageProps>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:60:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<FunctionComponent<IProfileUploadModalProps>, Pick<IProfileUploadModalProps, "history" | ... 3 more ... | "upload">>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:61:37 
    TS2322: Type '{ path: string; component: any; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:62:37 
    TS2322: Type '{ exact: true; path: string; component: FunctionComponent<any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:63:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedAPNSPage, Pick<APNSPageProps, "history" | "location" | "match" | "staticContext"> & RouteComponentProps<any, StaticContext, any>>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:64:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedDeviceAuthPage, Pick<OwnProps, "history" | "location" | "match" | "staticContext"> & OwnProps>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:65:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedOrganizationPage, Pick<OrganizationPageProps, "history" | "location" | "match" | "staticContext"> & OrganizationPageProps>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:66:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedVPPAccountsPage, Pick<UnconnectedVPPAccountsPageProps, "history" | "location" | "match" | "staticContext">>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:67:37 
    TS2322: Type '{ exact: true; path: string; component: any; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:68:37 
    TS2322: Type '{ path: string; component: ConnectedComponent<typeof UnconnectedDEPAccountSetupPage, Pick<OwnProps, "history" | "location" | "match" | "staticContext"> & OwnProps>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'path' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:69:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedDEPAccountPage, any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:70:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedDEPProfilePage, any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/entry.tsx:71:37 
    TS2322: Type '{ exact: true; path: string; component: ConnectedComponent<typeof UnconnectedDEPProfilePage, any>; }' is not assignable to type 'IntrinsicAttributes & Pick<{}, never>'.
  Property 'exact' does not exist on type 'IntrinsicAttributes & Pick<{}, never>'. 

[at-loader] ./src/@types/redux-api-middleware/index.d.ts:126:16 
    TS2304: Cannot find name 'GlobalFetch'. 

[at-loader] ./src/@types/redux-api-middleware/index.d.ts:185:21 
    TS2304: Cannot find name 'GlobalFetch'. 

[at-loader] ./src/components/errors/ApiError.tsx:2:9 
    TS2395: Individual declarations in merged declaration 'ApiError' must be all exported or all local. 

[at-loader] ./src/components/errors/ApiError.tsx:2:9 
    TS2440: Import declaration conflicts with local declaration of 'ApiError'. 

[at-loader] ./src/components/errors/ApiError.tsx:9:14 
    TS2322: Type '({ error }: IApiErrorProps) => JSX.Element' is not assignable to type 'FC<{}>'.
  Types of parameters '__0' and 'props' are incompatible.
    Property 'error' is missing in type '{ children?: ReactNode; }' but required in type 'IApiErrorProps'. 

[at-loader] ./src/components/errors/ApiError.tsx:9:14 
    TS2395: Individual declarations in merged declaration 'ApiError' must be all exported or all local. 

[at-loader] ./src/hooks/useForm.ts:3:25 
    TS7006: Parameter 'callback' implicitly has an 'any' type. 

[at-loader] ./src/hooks/useForm.ts:7:27 
    TS7006: Parameter 'event' implicitly has an 'any' type. 

[at-loader] ./src/hooks/useForm.ts:12:27 
    TS7006: Parameter 'event' implicitly has an 'any' type. 

[at-loader] ./node_modules/@storybook/router/dist/router.d.ts:1:8 
    TS1259: Module '"/home/ips/Projects/commandment/ui/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag 

[at-loader] ./node_modules/@storybook/react/dist/client/preview/types.d.ts:1:8 
    TS1259: Module '"/home/ips/Projects/commandment/ui/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag 

[at-loader] ./src/stories/redux.tsx:4:23 
    TS2305: Module '"../../node_modules/@storybook/react/dist/client"' has no exported member 'Story'. 

[at-loader] ./src/stories/redux.tsx:4:30 
    TS2305: Module '"../../node_modules/@storybook/react/dist/client"' has no exported member 'StoryDecorator'. 

[at-loader] ./src/stories/redux.tsx:10:41 
    TS7006: Parameter 'story' implicitly has an 'any' type. 
mosen commented 4 years ago

The typescript errors should be ignored, it should still produce something regardless. I'll take a look but i think npm start wont produce static assets, only npm run build

chiragc2 commented 4 years ago

@mosen npm run build there is not such commnad specify in package.json

"scripts": {
    "start": "./node_modules/.bin/webpack-dev-server",
    "storybook": "start-storybook -p 6006 -c .storybook",
    "build-storybook": "build-storybook",
    "lint": "eslint . --ext .ts,.tsx",
    "lint-fix": "eslint . --ext .ts,.tsx --fix"
  },
lagneshthakur commented 4 years ago

@chiragc-itpath @quilombodigital - I have run into the same situation. Were you able to get the UI working?

@mosen Is there any update on this issue?

The webpack server starts at port 4000 but it gives directory listing and in that directory, ui director, there's no entry point (index.html). It is in commandment/static folder.

lagneshthakur commented 4 years ago

And I was able to get the front-end working by serving the commandment/static folder using python SimpleHTTPServer. And there the index.dev.html does run the react app too but then it sends the login request to the same port where it is hosted.

How can we change that?

Attaching a screenshot for reference. Screenshot from 2020-11-19 14-07-58 Screenshot from 2020-11-19 14-08-56