delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/25/08:25:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Uo/
/B5zluXlNhTEzXg6D6Ka0smTpmMddzGoBm5+5ns4sFWbQRcIBB4/Njqutu1QlGkh
Q/cWgJB3uI6HNbQlcDS+5EbM4cBXhct6D3aNcpbbw3kgzMVZyx8Jlxs/d18yIA8H
a/zH8duaY8jNyKY1cretLX5eSrZUgOzu9wHJOZXU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=q+HAJX8V4
jSu7Ual0I/iHuXJHGg=; b=YKF2EtK2bQBJmrhROU9OW5JFqtTYAYTf2zgnqTDFo
YVpq6bgyJOhyOvixw1M64Rp+4pRJzE6iJ/n70s4n578kQQSVHwOS/AroexrV3zFN
Ipz8HDaBBK2VZcmFWhXgXFEQQDZhmd3ILh7X6EFWsx2FaB48NPnRvmO0jaZdRLCy
Ww=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=registry, facebook, HContent-Transfer-Encoding:8bit, day
X-HELO: mail-it1-f173.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=xYF4Q1s+k1mX86TlVV85MJaR0bgJ8RHQc/2x2BiBoO8=; b=QE7EAagmPRJawBmnE6Xnnkf9Za5ZuiFlLKxoSOYhoFb9bsiXXzhU1JQdxrK8ijcx6G U0aYB6jXmt0AqYBTow2+zhIoHDzUUiI7lseXxmjWTwnhW73d/MZ0HDwNYKPbGwb6fDFn a7rUy3NZbczthutSfXf9eooKjisWkzIm3iv97TGI1KLyouLKga2+/xggtU2B9gYihcDr cGKuc65Qo9EEhiyX7ysh0GFbCScuvDSv/hfxluEQmCWhiqHjabgH+pf4QdmbC20lrD9j szhVNa2Y/ID2nKSIDh2sF+iEmjQaWmCrO4VKv4WtO7YRPLo6nk/u3mXmwoPfMSHWKQzi CnTA==
From: Mitch Rosefelt <pixeldroid AT gmail DOT com>
Subject: Problem - Possibly Cygwin
To: cygwin AT cygwin DOT com
Message-ID: <61e1596c-d9f0-d8b7-07ff-976767f440ae@gmail.com>
Date: Fri, 25 Jan 2019 07:24:28 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
MIME-Version: 1.0
Note-from-DJ: This may be spam

Hi All:
I've run into a problem in which cygwin is part of the error message.
I don't know that cygwin is part of the problem, but I'm having great difficulty figuring this out, so I'm posting it here with the hope that someone will know the fix.
Thanks much.
=============================

After installing react-devtools <https://github.com/facebook/react-devtools/tree/master/packages/react-devtools> into my Node JS environment, I am no longer able to run expo-cli.
Everything was working fine until I did that. I’m now getting the error below.
In addition to not being able to run expo, my Powershell permissions were also changed to "restricted" (fixed). I even restored my registry to the previous day in an effort to fix this.
I have uninstalled/reinstalled node and yarn.

The error indicates Cygwin, which I don't have installed on my computer (does not show up in a registry search), however, searching my computer, I see that Cygwin was installed with Git:C:\Program Files\Git\usr\share\cygwin
C:\Program Files\Git\usr\bin\cygwin-console-helper.exe
C:\Program Files\Android\Android Studio\bin\lldb\lib\distutils\cygwinccompiler.py
C:\Program Files\Git\usr\lib\perlS\core_per|\File\Spec\cygwin.pm
C:\Program Files\Git\usr\share\cygwin\cygwin.ldif
C:\Program Files\Git\usr\share\tern1info\63\cygwin
C:\Program Files\Git\usr\lib\terminf0\63\cygwin


Any help will be GREATLY appreciated.
Windows 10
npm: 6.6.0
node: v10.15.0
yarn: v1.13.0

=======================================================
ERROR
expo start --android
At C:\Users\name\AppData\Local\Yarn\bin\expo.ps1:5 char:13
+     *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+             ~
Unexpected token ')' in expression or statement.
At C:\Users\name\AppData\Local\Yarn\bin\expo.ps1:8 char:3
+ if [ -x "$basedir/pwsh" ]; then
+   ~
Missing '(' after 'if' in if statement.
At C:\Users\name\AppData\Local\Yarn\bin\expo.ps1:8 char:5
+ if [ -x "$basedir/pwsh" ]; then
+     ~
Missing type name after '['.
At C:\Users\name\AppData\Local\Yarn\bin\expo.ps1:9 char:20
+ ... edir/pwsh" "$basedir/../Data/global/node_modules/.bin/expo.ps1" "$@" ...
+
Unexpected token '"$basedir/../Data/global/node_modules/.bin/expo.ps1"' in expression or statement.
At C:\Users\name\AppData\Local\Yarn\bin\expo.ps1:9 char:73
+ ... edir/pwsh" "$basedir/../Data/global/node_modules/.bin/expo.ps1" "$@"
+
Unexpected token '"$@"' in expression or statement.
     + CategoryInfo          : ParserError: (:) [], ParseException
     + FullyQualifiedErrorId : UnexpectedToken




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019