-
Notifications
You must be signed in to change notification settings - Fork 111
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
ern create-miniapp fails [Windows] #1527
Comments
Facing same issue. Error: spawn C:\Users.ern\versions\0.40.0\node_modules.bin\yarn ENOENT |
Can anybody provide help here? @friederbluemle @krunalsshah |
Hi @IndianNative and @dig22 - Would you be able to test using version
Also, just checking: How did you install the Electrode Native CLI (e.g. using npm or Yarn)? |
Hi @friederbluemle thanks for your response - Also I tried using version 0.38.16 but no luck. Also I installed it using npm. |
Thanks for writing back. I believe you are using Win OS.
Please confirm your node version. For curiosity sake please let us know the
yarn version.
Try running the command with ERN_LOG_LEVEL=trace & past the logs. thanks
…On Sun, Mar 22, 2020 at 10:07 PM IndianNative ***@***.***> wrote:
Hi @friederbluemle <https://github.com/friederbluemle> thanks for your
response - Also I tried using version 0.38.16 but no luck.
Also I installed it using npm.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABO2TRQXNFMSC6UBPGTPKXLRI3VCPANCNFSM4LOLQZFA>
.
|
It appears to be an issue with spawn.. Can you also try to use bash for WSL? |
Hi @krunalsshah .Yes I am using Win OS,. My current versions are |
Hi @friederbluemle , tried git bash for the same but not solved. |
Are you able to create a regular React Native app?
|
Hi @krunalsshah I tried using
|
@friederbluemle I tried using WSL (ubuntu 18.04) it works but gives another error mentioned below:
(However unrelated to this issue i think) This issue is only with respect to windows : cmd/powershell gets stuck on running the command and git-bash gives a spawn error. [Windows] [WSL Ubuntu 18.04] Thank you for assistance and WSL workaround @IndianNative @friederbluemle @krunalsshah |
Thanks for reporting back @dig22 - Is there any additional output for the other error you're seeing? |
@friederbluemle unfortunately no other log info apart from what @IndianNative found on git bash. PowerShell gets stuck here : |
@dig22 - Thanks for the screenshot. I have a Windows machine ready for testing and will check this either tomorrow or on the weekend (quite busy with work at the moment, so apologies for the delay). |
@dig22 @IndianNative - The issue is reproducible and we're looking into it. Will update you on the progress. |
@dig22 @IndianNative - Electrode Native version 0.40.2 was released just a couple of hours ago. It contains a fix related to running Yarn on Windows. Can you please try again using the latest version: ern platform use latest Then, repeat the same command you used above. ern create-miniapp app |
Thanks @friederbluemle will check with latest version and update you soon. I was also occupied with other work so didn't get time to check this thread. |
Hi @IndianNative - Just checking real quick if you've had a chance to test it again with the latest version of ERN? |
$ ern create-miniapp app
Error: spawn C:\Users\Zapcom_Intern\.ern\versions\0.39.0\node_modules\.bin\yarn ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:81:21)
The text was updated successfully, but these errors were encountered: