<?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: David Peck</title>
    <description>The latest articles on DEV Community by David Peck (@drpeck).</description>
    <link>https://dev.to/drpeck</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%2F196975%2Fd8b648ab-b583-49e1-b998-1b1e796bd2fb.png</url>
      <title>DEV Community: David Peck</title>
      <link>https://dev.to/drpeck</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/drpeck"/>
    <language>en</language>
    <item>
      <title>Basics#1 Noob troubleshooting "go get"</title>
      <dc:creator>David Peck</dc:creator>
      <pubDate>Fri, 19 Jul 2019 16:33:21 +0000</pubDate>
      <link>https://dev.to/drpeck/basics-1-noob-troubleshooting-go-get-57kd</link>
      <guid>https://dev.to/drpeck/basics-1-noob-troubleshooting-go-get-57kd</guid>
      <description>&lt;p&gt;ISSUE&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How do I tell npm to use the local install rather than the nvm global install to use the go command seen below?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;INFO&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm list -depth=0
gopak@1.0.0 /home/user/go
├── git@0.1.5
├── go@3.0.1
└── npm@6.10.1

$ go get github.com/ethereum/go-ethereum
Error: command is not recognized
at /home/user/.nvm/versions/node/v12.6.0/lib/node_modules/go/node_modules/go-cli/lib/invoke.js:24:13
at processTicksAndRejections (internal/process/task_queues.js:85:5)
$ env |grep go
OLDPWD=/home/delta/go/src/github.com/ethereum
PWD=/home/user/go
GOPATH=/home/user/go
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I removed global go:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm uninstall -g go
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Verified npm global to ensure removal:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm list -g -depth=0
/home/user/.nvm/versions/node/v12.6.0/lib
├── browserify@16.3.0
├── ethers@4.0.33
├── ethers-cli@4.0.0
├── ganache-cli@6.4.5
├── jquery@3.4.1
├── lite-server@2.5.3
├── npm@6.9.0
├── npx@10.2.0
└── truffle@5.0.27
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Tried connecting again but it checks the nvm path, so of course it is expected to not find any go:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ go get github.com/ethereum/go-ethereum
bash: /home/user/.nvm/versions/node/v12.6.0/bin/go: No such file or directory
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Issue tied to nvm...&lt;/p&gt;

&lt;p&gt;Checked env again:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ export GOPATH="$HOME/go"
$ env |grep go
OLDPWD=/home/user/go/src/github.com/ethereum/go-ethereum
PWD=/home/user/go
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I did try checking yesterday (6/19/2019) on stackoverflow &amp;gt; javascript chat room, but did not get tracktion.&lt;/p&gt;

&lt;p&gt;FIX:&lt;br&gt;
Remember that online tuts do NOT "dockerize" information, some must be gathered around. &lt;br&gt;
Install go , instructions &lt;a href="https://golang.org/doc/install?download=go1.12.7.linux-amd64.tar.gz"&gt;https://golang.org/doc/install?download=go1.12.7.linux-amd64.tar.gz&lt;/a&gt;&lt;/p&gt;

</description>
      <category>noob</category>
      <category>troubleshooting</category>
      <category>go</category>
    </item>
    <item>
      <title>Hello dev.to! Breaking the ice :)</title>
      <dc:creator>David Peck</dc:creator>
      <pubDate>Wed, 17 Jul 2019 16:24:23 +0000</pubDate>
      <link>https://dev.to/drpeck/hello-dev-to-breaking-the-ice-57hl</link>
      <guid>https://dev.to/drpeck/hello-dev-to-breaking-the-ice-57hl</guid>
      <description>&lt;p&gt;In the beginning...&lt;/p&gt;

&lt;p&gt;Googling around about Atom vs VSC after finding out VSC has official ethereum support found out this article by Ben Halpern:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/ben/why-i-switched-from-atom-to-visual-studio-code"&gt;https://dev.to/ben/why-i-switched-from-atom-to-visual-studio-code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And just like that decided to open an account here.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
      <category>noob</category>
    </item>
  </channel>
</rss>
