<?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: John-Wheater</title>
    <description>The latest articles on DEV Community by John-Wheater (@johnwheater).</description>
    <link>https://dev.to/johnwheater</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%2F530083%2Fa9f8a975-df76-4e7b-8194-447d3883fac3.jpeg</url>
      <title>DEV Community: John-Wheater</title>
      <link>https://dev.to/johnwheater</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/johnwheater"/>
    <language>en</language>
    <item>
      <title>How to run the React example code in the Bochuk book</title>
      <dc:creator>John-Wheater</dc:creator>
      <pubDate>Mon, 28 Dec 2020 16:29:23 +0000</pubDate>
      <link>https://dev.to/johnwheater/how-to-run-the-react-example-code-in-the-bochuk-book-2gg0</link>
      <guid>https://dev.to/johnwheater/how-to-run-the-react-example-code-in-the-bochuk-book-2gg0</guid>
      <description>&lt;p&gt;I'm just starting React, and have completed the Mozilla tutorial.&lt;/p&gt;

&lt;p&gt;Then I bought the Packt book React... by Bochuk, which looks really good (much cheaper from them than from the zon!).&lt;/p&gt;

&lt;p&gt;I downloaded the code, which also looks good. &lt;/p&gt;

&lt;p&gt;But, the book wisely advises us to run the code samples, and I can't see any way to do this.&lt;/p&gt;

&lt;p&gt;Has anyone seen this, and solved it?  &lt;/p&gt;

&lt;p&gt;On the Mozilla tut, there was a mass of stuff , including node.js, and npm, bundled with the single source file, which slowly grew.  To run, you just did 'npm start', and a server on localhost started, and your code ran.&lt;/p&gt;

&lt;p&gt;This time I installed node and npm separately, and checked they worked, but still no luck. &lt;/p&gt;

&lt;p&gt;There must be a way to run the code. They mention next.js, well on in the book.  I tried that, successfully, with the next.js example code, but couldn't see how to do it with the Packt examples.&lt;/p&gt;

&lt;p&gt;Help!&lt;/p&gt;

&lt;p&gt;PS -- I'm new to DEV, this is my first post, I see the advice to add tags, but not how to do it.  Help again:-(...&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
