orbital icon indicating copy to clipboard operation
orbital copied to clipboard

Building from scratch.

Open MattGyverLee opened this issue 9 months ago • 0 comments

I posted on your YouTube channel, and I've been trying to build your code from scratch at https://github.com/MattGyverLee/Prestige-O/ for the last few days. I have an app that uses TS/CRACO/Electron/Redux that was written with very old versions of Electron, and I can't update it because 1) it was poorly written, and 2) they have changed the security structure in Electron. I want to find a model project that I can compare to as I rebuild my app (https://github.com/MattGyverLee/prestige).

I started with Node18, tried in vain to update dependencies, and worked through issues like this being invalid: "tsc": "tsc ./src/background/*", and these not existing: "main": "./src/background/main.js"

I eventually got the Dev to load (without Electron), and the build to compile and crash because of Typescript issues: import * as path from 'path'; on main.ts`

I went back to Node14 and Node16 and tried again....I just can't get it to run properly. Does this still build on your machine?

I am developing on a Windows machine if that matters.

MattGyverLee avatar Oct 03 '23 15:10 MattGyverLee