X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=lyuHPiczQo+uz0Rr
	scZmWH1KGekYN5OPecx7pFiMoz7nb4df8MZfEKieEqlel/2hikZNo3pqRyYLXf6y
	8HN2WMfgVj856huLAx8q3PSR9gdUxq62NgX0WHuWfROIrAufncx6zwcun6+tbcH0
	DGLBnUyI5G8ORemh7N1eSp5Zn7I=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=tSHipjvrVcPykqma4xpweR
	+68vY=; b=WzAhIyW9OMc128Q3CvFtVE3bqWiCEvtVDuaezYDw0p/jAqndVl69vJ
	pBiaJh7HJZ8h38i2JHyFsTfkB97h5LrIxfkoIGyWDRDqt/iwDrXWTYSvGcOrxA1x
	BkRVpju8jeX/RLeSEm7slJoPh3D7StvJvaaZtU/QzTRosjsgqYDSY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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==
Subject: Re: Problem - Possibly Cygwin
To: Mitch Rosefelt <pixeldroid@gmail.com>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <61e1596c-d9f0-d8b7-07ff-976767f440ae@gmail.com> <f05b32bc-1a17-5e38-5bf2-6f890dd6fc71@gmail.com> <cce9f22e-9ad7-e72e-bd94-ad86e0e94d7e@gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <21554440-5fa2-2367-7246-6d85e5b1f094@gmail.com>
Date: Fri, 25 Jan 2019 19:28:10 +0100
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: <cce9f22e-9ad7-e72e-bd94-ad86e0e94d7e@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x0PISQLs024968

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=$(dirname "$(echo "$0" |sed -e 's,\\,/,g')")
> case`uname`in
> *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
> esac
> if[ -x"$basedir/node"];then
> "$basedir/node""$basedir/../expo-cli/bin/expo.js""$@"
> ret=$?
> else
> node "$basedir/../expo-cli/bin/expo.js""$@"
> ret=$?
> fi
> exit$ret
>
> Call to global install C:\Users\Mitch\AppData\Local\Yarn\bin\expo.ps1
> #!/bin/sh
> basedir=$(dirname "$(echo "$0" |sed -e 's,\\,/,g')")
> case `uname`in
> *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
> esac
> if[ -x"$basedir/pwsh"]; then
> "$basedir/pwsh""$basedir/../Data/global/node_modules/.bin/expo.ps1""$@"
> ret=$?
> else
> pwsh "$basedir/../Data/global/node_modules/.bin/expo.ps1""$@"
> ret=$?
> 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=`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üft.
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


