-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
electron-forge init produce error on trying to copy a file via yarn #356
Comments
What version of yarn is this? Have you tried different versions of yarn? |
I wonder what happens if you delete the Yarn cache. |
The version of yarn is 1.2.1
The
|
Can you try older versions of yarn? |
This is an upstream |
Co-authored-by: malept <[email protected]>
Please describe your issue:
When I run the command
electron-forge init --template=angular2
, I get an error, that some modules could not be installed.My environment is a Windows 10 PC with the latest Update (Creators Fall).
Console output when you run
electron-forge
with the environment variableDEBUG=electron-forge:*
. (Instructions on how to do so here). Please include the stack trace if one exists.What command line arguments are you passing?
What does your
config.forge
data inpackage.json
look like?Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using
electron-forge init
is a good starting point, if that is not thesource of your problem.
To get more into the detail, the last interesting bit of the
yarn-error.log
is this:But the missing file is there, when I check this out. And it's nearly everytime another file, which could not be copied. For me, it seems, that one process is too fast or the underlying file system is too slow, so that they are running into a conflict. (But should it not be so, that one has to wait for the other?)
Without erasing anything, I run the command again, until it completes successfully. (That will happen, but it's not predictable, when.) While these trials, the
yarn-error.log
updates and shows me everytime another file, which could not be copied.(The story is not over, but that may be better put as another Issue, because it's about
electron-forge start
. But it may be related to this Issue. EDIT: It continues here: #357)The text was updated successfully, but these errors were encountered: