viktorgullmark / exilence-next

Desktop application that helps you summarize your wealth in Path of Exile
648 stars 125 forks source link

Failed to compile on M1 Pro Mac #885

Closed ppraisethesun closed 10 months ago

ppraisethesun commented 1 year ago

Describe the bug Failed to compile on M1 mac

> exilence-next-app@1.2.0 start
> concurrently "cross-env BROWSER=none npm run react-start" "wait-on http://localhost:3000 && tsc -p electron -w" "wait-on http://localhost:3000 && tsc -p electron && electron ."

[0] 
[0] > exilence-next-app@1.2.0 react-start
[0] > react-scripts start
[0] 
[0] ℹ 「wds」: Project is running at http://192.168.35.221/
[0] ℹ 「wds」: webpack output is served from 
[0] ℹ 「wds」: Content not from webpack is served from ~/workspace/personal/exilence-next/ExilenceNextApp/public
[0] ℹ 「wds」: 404s will fallback to /
[0] Starting the development server...
[0] 
[0] Failed to compile.
[0] 
[0] ~/workspace/personal/exilence-next/ExilenceNextApp/src/components/bulk-sell-steps-panel/BulkSellStepsPanel.tsx
[0] TypeScript error in ~/workspace/personal/exilence-next/ExilenceNextApp/src/components/bulk-sell-steps-panel/BulkSellStepsPanel.tsx(60,17):
[0] Type 'Blob | null' is not assignable to type 'string | Blob | PromiseLike<string | Blob>'.
[0]   Type 'null' is not assignable to type 'string | Blob | PromiseLike<string | Blob>'.  TS2322
[0] 
[0]     58 |               // @ts-ignore
[0]     59 |               new ClipboardItem({
[0]   > 60 |                 'image/png': blob,
[0]        |                 ^
[0]     61 |                 'text/plain': textBlob,
[0]     62 |               }),
[0]     63 |             ])

To Reproduce Steps to reproduce the behavior:

  1. npm install
  2. npm start

Expected behavior Project compiles and starts

Version v1.2.1

Additional context Mac OS 13.4 (22F66) Apple M1 Pro node --version v18.16.1 npm --version 9.6.7

Is there something I'm doing wrong?

ghost commented 1 year ago

Tool is no longer being supported, and access to this git & the servers will be closed tonight.