yarn install failing #213
Comments
me too |
Sorry; this was a mistake on my part. Please try upgrading to |
Not working for me either, tried upgrading to v3.0.4, still nothing. |
@pgarberg would you mind running Thanks! |
I am facing the same issue |
I thought it was my computer's problem and wasted hours |
@Maheshs1 please post the output of the commands above after upgrading to the latest. I can't debug the issue if I can't reproduce it. |
@transitive-bullshit here's the full output C:\Users\xxxxxx\Desktop> create-react-library
Initializing npm dependencies. This will take a minute. √ Running yarn install in root directory PS C:\Users\xxxxx\Desktop> create-react-library --version |
Thanks @FaisalST32. This appears to be a different issue than the original one and I'm guessing it's Windows-only. If anyone on Windows could figure out the issue (possibly with our use of |
λ npx create-react-library
Initializing npm dependencies. This will take a minute. √ Running npm install in root directory Looks like I am getting the same output as those above when running this as well. (ran with both npm and yarn to the same result) Transitive-bullshit, running with execa may be beyond my current knowledge base, but let me know if there is anything I can do to help, and I will gladly try. |
Hi, this was also blocking me. I've solved it in PR-215 linked above. Could someone else also verify it works? (I've only tested on Windows atm) |
Thanks @antondelorme. In the meantime, could you try updating to I updated |
@transitive-bullshit No problem, |
Please let me know if Thanks! |
Getting the following error when I try creating a new project
Initializing npm dependencies. This will take a minute.
√ Running yarn install in root directory
× Running yarn install in example directory
Error: spawn C:\windows\system32\cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:467:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn C:\windows\system32\cmd.exe',
path: 'C:\windows\system32\cmd.exe',
spawnargs: [ '/q', '/s', '/c', '"yarn install"' ],
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd: 'C:\windows\system32\cmd.exe /q /s /c "yarn install"',
timedOut: false,
killed: false
}
The error occurs for both yarn as well as npm.
node version: 13.12.0
yarn version: 1.21.1
The text was updated successfully, but these errors were encountered: