From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25366 invoked by alias); 25 Jan 2019 13:24:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25209 invoked by uid 89); 25 Jan 2019 13:24:34 -0000 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 Received: from mail-it1-f173.google.com (HELO mail-it1-f173.google.com) (209.85.166.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Jan 2019 13:24:33 +0000 Received: by mail-it1-f173.google.com with SMTP id w18so10466115ite.1 for ; Fri, 25 Jan 2019 05:24:33 -0800 (PST) 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== Return-Path: Received: from [192.168.0.5] (h69-131-87-221.mdsnwi.dsl.dynamic.tds.net. [69.131.87.221]) by smtp.gmail.com with ESMTPSA id 72sm12780927itw.16.2019.01.25.05.24.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 05:24:30 -0800 (PST) From: Mitch Rosefelt Subject: Problem - Possibly Cygwin To: cygwin@cygwin.com Message-ID: <61e1596c-d9f0-d8b7-07ff-976767f440ae@gmail.com> Date: Fri, 25 Jan 2019 13:24:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2019-01/txt/msg00224.txt.bz2 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 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