From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40657 invoked by alias); 25 Jan 2019 18:28:16 -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 40647 invoked by uid 89); 25 Jan 2019 18:28:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=BAYES_05,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=auf, wurde, antivirus, Diese X-HELO: mail-wm1-f51.google.com Received: from mail-wm1-f51.google.com (HELO mail-wm1-f51.google.com) (209.85.128.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Jan 2019 18:28:14 +0000 Received: by mail-wm1-f51.google.com with SMTP id b11so7711419wmj.1 for ; Fri, 25 Jan 2019 10:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Ko/7ETP7IATVnUo2XLyBmNOptf2Oh/b11U4tDNcGX/g=; b=t97rI6g0lPgdfojQaOWLLbYbthh9jUhH3pa/BgxPHF2+EsgtaQqMNllEYHBTwiqKNB kLb8yIsmYByumieExBUrH/5tGX6h5RADee7UkrdXhmcjp9cRwY/A2YFBBMTYCqvvKKJU AvJ/2cN3vJ7U/Vt932y4cl5H3iK/sLNmdqO6pvQde1lpEKmlu0BFIC3Q37JuvJwKgIEr zJvJufV+4fKht+sBWukv1itmwJ5fi4yjqrHw03EsybvRb/EfRA5qPUxa9WfIZt5GJdyC 8KMGAKM7XHqX9v7nVbcleJLHhkgdhylqA6xXq7I5kk9hUo4dYXCR98jdXO8IeXhMk236 FKiw== Return-Path: Received: from ?IPv6:::1? (p200300EE670F95017CA7E770081A2ED0.dip0.t-ipconnect.de. [2003:ee:670f:9501:7ca7:e770:81a:2ed0]) by smtp.gmail.com with ESMTPSA id t4sm101113805wrm.6.2019.01.25.10.28.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 25 Jan 2019 10:28:11 -0800 (PST) Subject: Re: Problem - Possibly Cygwin To: Mitch Rosefelt , "cygwin@cygwin.com" References: <61e1596c-d9f0-d8b7-07ff-976767f440ae@gmail.com> From: Marco Atzeri Message-ID: <21554440-5fa2-2367-7246-6d85e5b1f094@gmail.com> Date: Fri, 25 Jan 2019 18:28: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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00231.txt.bz2 back in the cygwin ML Am 25.01.2019 um 17:39 schrieb Mitch Rosefelt: > Hi Marco: > Thanks for taking a look at this. > > Are you referring to my Environmental Vars? > They look pretty clean. No mention of cygwin. > No. As you seem to have multiple programs that are using different cygwin1.dll, if you have those directories on the PATH they could interfere with each other. Try every application with clean PATH that does not include the other applications. > I was able to get expo (Mobile App Dev Tool) working by adding a local > install into my nodeJS project and calling it from there. > I noticed a difference in the local script vs the script in the global > install. The local script calls "node" where the global script calls > "pwsh" (which produces the error): > > Call in local repo \LactFacts\lactfact_190118\node_modules\.bin\expo: > #!/bin/sh > basedir=3D$(dirname "$(echo "$0" |sed -e 's,\\,/,g')") > case`uname`in > *CYGWIN*) basedir=3D`cygpath -w "$basedir"`;; > esac > if[ -x"$basedir/node"];then > "$basedir/node""$basedir/../expo-cli/bin/expo.js""$@" > ret=3D$? > else > node "$basedir/../expo-cli/bin/expo.js""$@" > ret=3D$? > fi > exit$ret > > Call to global install C:\Users\Mitch\AppData\Local\Yarn\bin\expo.ps1 > #!/bin/sh > basedir=3D$(dirname "$(echo "$0" |sed -e 's,\\,/,g')") > case `uname`in > *CYGWIN*) basedir=3D`cygpath -w "$basedir"`;; > esac > if[ -x"$basedir/pwsh"]; then > "$basedir/pwsh""$basedir/../Data/global/node_modules/.bin/expo.ps1""$@" > ret=3D$? > else > pwsh "$basedir/../Data/global/node_modules/.bin/expo.ps1""$@" > ret=3D$? > fi > exit$ret > > So it appears that PowerShell is choking on the script: > At C:\Users\Mitch\AppData\Local\Yarn\bin\expo.ps1:5 char:13 > + *CYGWIN*) basedir=3D`cygpath -w "$basedir"`;; > + ~ > Unexpected token ')'inexpression or statement. as it is a Bash script, I am not surprised, and "cygpath" is a cygwin utility that provides path information relative to its own cygwin1.dll --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr=C3=BCft. https://www.avast.com/antivirus -- 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