Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from scratch. #6

Open
MattGyverLee opened this issue Oct 3, 2023 · 0 comments
Open

Building from scratch. #6

MattGyverLee opened this issue Oct 3, 2023 · 0 comments

Comments

@MattGyverLee
Copy link

MattGyverLee commented Oct 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant