<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mitch</title>
    <description>The latest articles on DEV Community by Mitch (@eightbit).</description>
    <link>https://dev.to/eightbit</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F131197%2Ffb1456c2-7f66-443a-a221-c6467b448571.png</url>
      <title>DEV Community: Mitch</title>
      <link>https://dev.to/eightbit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eightbit"/>
    <language>en</language>
    <item>
      <title>React-Native/Expo/Cygwin “Unexpected Token” Problem</title>
      <dc:creator>Mitch</dc:creator>
      <pubDate>Wed, 23 Jan 2019 04:04:10 +0000</pubDate>
      <link>https://dev.to/eightbit/react-nativeexpocygwin-unexpected-token-problem-2k6n</link>
      <guid>https://dev.to/eightbit/react-nativeexpocygwin-unexpected-token-problem-2k6n</guid>
      <description>

&lt;p&gt;Hi all:&lt;br&gt;
I have a very tricky problem.&lt;br&gt;
After installing react-devtools, I am no longer able to run expo-cli.&lt;br&gt;
Everything was working fine until I did that. I’m now getting the error below.&lt;br&gt;
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.&lt;br&gt;
I have uninstalled/reinstalled node and yarn.&lt;/p&gt;

&lt;p&gt;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:&lt;br&gt;
C:\Program Files\Git\usr\share\cygwin&lt;br&gt;
C:\Program Files\Git\usr\bin\cygwin-console-helper.exe&lt;br&gt;
C:\Program Files\Android\Android Studio\bin\lldb\lib\distutils\cygwinccompiler.py&lt;br&gt;
C:\Program Files\Git\usr\lib\perlS\core_per|\File\Spec\cygwin.pm&lt;br&gt;
C:\Program Files\Git\usr\share\cygwin\cygwin.ldif&lt;br&gt;
C:\Program Files\Git\usr\share\tern1info\63\cygwin&lt;br&gt;
C:\Program Files\Git\usr\lib\terminf0\63\cygwin &lt;/p&gt;

&lt;p&gt;Any help will be GREATLY appreciated.&lt;br&gt;
Windows 10&lt;br&gt;
npm: 6.6.0&lt;br&gt;
node: v10.15.0&lt;br&gt;
yarn: v1.13.0&lt;/p&gt;

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


</description>
      <category>react</category>
      <category>reactnative</category>
      <category>expo</category>
      <category>cygwin</category>
    </item>
  </channel>
</rss>
