Deploy website

Deploy website version based on 8dcfd159fa9bf22376a0914f4d96f4c06e63d72e
This commit is contained in:
Website Deployment Script
2020-08-05 11:48:59 +00:00
parent 811e86d6ff
commit f3e61d6d99
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -74,7 +74,11 @@
<pre><code class="hljs css language-sh">npx react-native init MyApp --template react-native-template-typescript
</code></pre>
<blockquote>
<p><strong>Note</strong> If the above command is failing, you may have old version of <code>react-native</code> or <code>react-native-cli</code> installed globally on your pc. Try uninstalling the cli and run the cli using <code>npx</code>.</p>
<p><strong>Note:</strong> If the above command is failing, you may have old version of <code>react-native</code> or <code>react-native-cli</code> installed globally on your system. To fix the issue try uninstalling the CLI:</p>
<ul>
<li><code>npm uninstall -g react-native-cli</code> or <code>yarn global remove react-native-cli</code></li>
</ul>
<p>and then run the <code>npx</code> command again.</p>
</blockquote>
<p>You can use <a href="https://expo.io">Expo</a> which has two TypeScript templates:</p>
<pre><code class="hljs css language-sh"><span class="token function">npm</span> <span class="token function">install</span> -g expo-cli
+5 -1
View File
@@ -74,7 +74,11 @@
<pre><code class="hljs css language-sh">npx react-native init MyApp --template react-native-template-typescript
</code></pre>
<blockquote>
<p><strong>Note</strong> If the above command is failing, you may have old version of <code>react-native</code> or <code>react-native-cli</code> installed globally on your pc. Try uninstalling the cli and run the cli using <code>npx</code>.</p>
<p><strong>Note:</strong> If the above command is failing, you may have old version of <code>react-native</code> or <code>react-native-cli</code> installed globally on your system. To fix the issue try uninstalling the CLI:</p>
<ul>
<li><code>npm uninstall -g react-native-cli</code> or <code>yarn global remove react-native-cli</code></li>
</ul>
<p>and then run the <code>npx</code> command again.</p>
</blockquote>
<p>You can use <a href="https://expo.io">Expo</a> which has two TypeScript templates:</p>
<pre><code class="hljs css language-sh"><span class="token function">npm</span> <span class="token function">install</span> -g expo-cli