-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Please tell me how to create an electron-builder development environment in a Windows. #6820
Comments
Happy to help! Re: # 3, IIRC Re: # 1, this is what I found regarding your error code: pnpm/pnpm#4128. My best suggestion is to try a different version of pnpm 🤷 Please make any additions to the CONTRIBUTING doc that you find helps you out! |
@mmaietta QuestionDo I need to have yarn installed globally?Sorry, I've never used yarn, and I've been using electron-builder from npm for a long time, so I haven't added it yet.😅 Do you need to do the following steps?
Still the tsc command is not recognized. |
Yarn shouldn't be necessary, you can continue using npm for your project to leverage yalc if you install it globally.
You need to compile the assets first in order for publish to work IIRC
This was also my first project working in a mono-repo, so I still stumble a bit from time to time 😅 |
@mmaietta pnpm installScope: all 14 workspace projects pnpm compile
tsc is not a recognized as an internal or external command... (Actually displayed in Japanese) Sorry for my lack of knowledge, do I need to do a pnpm install for 12 packages? |
Idk why You're correct in your assumption that it resolves recursively. You only need to run |
The
Next, Not in the specified order, but after
It's not accurate because I don't have any knowledge about workspace, but I think this is okay. |
That's super weird that yarn is required to be installed for that to work, but I'm glad you were able to get your env set up. Must be a newer version of yalc as I don't recognize those warnings. As long as the dev environment is there working for ya, then all is swell 🤷 |
@mmaietta |
Would you be willing to open a PR on the document with the information you needed to get your env set up? We can iterate on it from there :) It's been a long time since I've had to set up an env and both my dev machines are already configured. Doc: https://github.com/electron-userland/electron-builder/blob/master/CONTRIBUTING.md |
Hi. I would like to small contribute to this project.
I read this document and tried to create a development environment.
But, I'm failing the "pnpm compile" command.
There are some points to be worried about.
pnpm install
command, I get the error.ERR_PNPM_PREPARE_PKG_FAILURE not found: yarn
.yalk link ***
command, I get many warning messages.Could not find package `app-builder-lib` in store (C:\Users\***\AppData\Local\Yalc\packages\app-builder-lib), skipping.
pnpm compile
command, I get the error. ```'tsc' is not recognized as an internal or external command ~~~``Any information is welcome.
The text was updated successfully, but these errors were encountered: