<?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: Sid Kiwi</title>
    <description>The latest articles on DEV Community by Sid Kiwi (@sid7kiwi).</description>
    <link>https://dev.to/sid7kiwi</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%2F494574%2F490632b0-ad63-493b-a2a5-6040f062b087.jpeg</url>
      <title>DEV Community: Sid Kiwi</title>
      <link>https://dev.to/sid7kiwi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sid7kiwi"/>
    <language>en</language>
    <item>
      <title>How to update Go version of tailscaled on macOS</title>
      <dc:creator>Sid Kiwi</dc:creator>
      <pubDate>Fri, 22 Mar 2024 18:09:43 +0000</pubDate>
      <link>https://dev.to/sid7kiwi/how-to-update-go-version-of-tailscaled-on-macos-2m4o</link>
      <guid>https://dev.to/sid7kiwi/how-to-update-go-version-of-tailscaled-on-macos-2m4o</guid>
      <description>&lt;p&gt;I'm using the GitHub version of &lt;code&gt;tailscaled&lt;/code&gt; on one of my Macs as a &lt;a href="https://github.com/tailscale/tailscale/wiki/Tailscaled-on-macOS"&gt;background daemon launched at boot&lt;/a&gt;. To upgrade to the latest version, try the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo launchctl stop com.tailscale.tailscaled
go install tailscale.com/cmd/tailscale{,d}@main
sudo $HOME/go/bin/tailscaled install-system-daemon
tailscale up
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you don't re-install the system daemon from your user's local installation, the old version will continue to get launched at boot.&lt;/p&gt;

&lt;p&gt;Hope this helps someone!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Resolving ERR_UNSUPPORTED_ESM_URL_SCHEME</title>
      <dc:creator>Sid Kiwi</dc:creator>
      <pubDate>Sun, 25 Feb 2024 19:26:06 +0000</pubDate>
      <link>https://dev.to/sid7kiwi/resolving-errunsupportedesmurlscheme-hd2</link>
      <guid>https://dev.to/sid7kiwi/resolving-errunsupportedesmurlscheme-hd2</guid>
      <description>&lt;p&gt;I've been getting back into Node development lately, specifically working on a SvelteKit+Skeleton+Tailwind app. I recently upgraded to a new Mac and started running into a strange issue:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;✗ npm install
npm ERR! code 1
npm ERR! path /..../node_modules/@vercel/speed-insights
npm ERR! command failed
npm ERR! command sh -c node scripts/postinstall.mjs
npm ERR! internal/process/esm_loader.js:74
npm ERR!     internalBinding('errors').triggerUncaughtException(
npm ERR!                               ^
npm ERR!
npm ERR! Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. Received protocol 'node:'
npm ERR!     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11)
npm ERR!     at Loader.resolve (internal/modules/esm/loader.js:85:40)
npm ERR!     at Loader.getModuleJob (internal/modules/esm/loader.js:229:28)
npm ERR!     at ModuleWrap.&amp;lt;anonymous&amp;gt; (internal/modules/esm/module_job.js:51:40)
npm ERR!     at link (internal/modules/esm/module_job.js:50:36) {
npm ERR!   code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
npm ERR! }

npm ERR! A complete log of this run can be found in: /..../.npm/_logs/2024-02-25T18_59_56_421Z-debug-0.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This wasn't just with the &lt;code&gt;@vercel/speed-insights&lt;/code&gt; package though, and even occurred when &lt;a href="https://www.skeleton.dev/docs/get-started"&gt;creating a brand new Skeleton app&lt;/a&gt;, like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;➜  nvm use node
Now using node v20.11.1 (npm v10.4.0)
➜  npm create skeleton-app@latest my-skeleton-app
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. Received protocol 'node:'
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11)
    at Loader.resolve (internal/modules/esm/loader.js:85:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:229:28)
    at ModuleWrap.&amp;lt;anonymous&amp;gt; (internal/modules/esm/module_job.js:51:40)
    at link (internal/modules/esm/module_job.js:50:36) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
npm ERR! code 1
npm ERR! path /..../new
npm ERR! command failed
npm ERR! command sh -c create-skeleton-app my-skeleton-app

npm ERR! A complete log of this run can be found in: /..../.npm/_logs/2024-02-25T19_13_17_337Z-debug-0.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After trying everything I could think of (reinstalling nvm, updating dependencies, reinstalling Homebrew, and much more), I realized I had a &lt;code&gt;~/node_modules&lt;/code&gt;. Removing that solved the issue!&lt;/p&gt;

&lt;p&gt;I hope this helps someone.&lt;/p&gt;

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