<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[example does not work]]></title><description><![CDATA[<p dir="auto">hi,<br />
i need help to get startet with the plugin system.</p>
<p dir="auto">i read and used <a href="https://docs.windy-plugins.com/getting-started/" rel="nofollow ugc">https://docs.windy-plugins.com/getting-started/</a></p>
<p dir="auto">when i run</p>
<pre><code>git clone https://github.com/windycom/windy-plugin-template.git
cd windy-plugin-template
npm install
npm start
</code></pre>
<p dir="auto">i get an error</p>
<pre><code>
&gt; windy-plugin-template@2.0.2 start
&gt; rollup -w -c

rollup v4.17.2
bundles src/plugin.svelte → dist/plugin.js, dist/plugin.min.js...
  ERROR  failed to read input source map: failed to parse inline source map url
pluginConfig.js.map

Caused by:
    relative URL without a base
    at C:\Users\runneradmin/.cargo\registry\src\index.crates.io-6f17d22bba15001f\swc-0.275.1\src\lib.rs:405

Error while opening and parsing C:\Users\thoma\Desktop\kitesaas\windy-plugin-template\src\plugin.svelte/pluginConfig.ts Error: ENOENT: no such file or directory, open 'C:\Users\thoma\Desktop\kitesaas\windy-plugin-template\src\plugin.svelte/pluginConfig.ts'
    at Object.openSync (node:fs:601:3)
    at Object.readFileSync (node:fs:469:35)
    at transformCode (file:///C:/Users/thoma/Desktop/kitesaas/windy-plugin-template/node_modules/@windycom/plugin-devtools/index.mjs:181:31)
    at Object.renderChunk (file:///C:/Users/thoma/Desktop/kitesaas/windy-plugin-template/node_modules/@windycom/plugin-devtools/index.mjs:237:20)
    at C:\Users\thoma\Desktop\kitesaas\windy-plugin-template\node_modules\rollup\dist\shared\rollup.js:989:40
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\Users\\thoma\\Desktop\\kitesaas\\windy-plugin-template\\src\\plugin.svelte/pluginConfig.ts'
}
</code></pre>
<p dir="auto">Did i miss something?</p>
<p dir="auto">thanks</p>
]]></description><link>https://community.windy.com/topic/33203/example-does-not-work</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 20:22:59 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/33203.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 May 2024 10:21:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to example does not work on Sat, 18 May 2024 21:26:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tombourine" aria-label="Profile: Tombourine">@<bdi>Tombourine</bdi></a></p>
<p dir="auto">Also.  To run the examples.</p>
<p dir="auto">add cross-env dependency from npm:</p>
<p dir="auto"><code>npm install cross-env</code></p>
<p dir="auto">In package.json change to</p>
<pre><code>"example01": "cross-env CONFIG=example01 rollup -w -c",
</code></pre>
]]></description><link>https://community.windy.com/post/190678</link><guid isPermaLink="true">https://community.windy.com/post/190678</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Sat, 18 May 2024 21:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to example does not work on Sat, 18 May 2024 21:21:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tombourine" aria-label="Profile: Tombourine">@<bdi>Tombourine</bdi></a></p>
<p dir="auto">The plugins template does not work in the windows environment.   It works in WSL2.</p>
<p dir="auto">But you can try the following:</p>
<p dir="auto">In:</p>
<pre><code>node_modules\@windycom\plugin-devtools\index.mjs
</code></pre>
<p dir="auto">Change:</p>
<pre><code>const pathOfTheFile = facadeModuleId.replace(/\/[^/]*$/, '');    
</code></pre>
<p dir="auto">to:</p>
<pre><code>const pathOfTheFile = facadeModuleId.replace(/\\[^\\]*$/, '');
</code></pre>
]]></description><link>https://community.windy.com/post/190677</link><guid isPermaLink="true">https://community.windy.com/post/190677</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Sat, 18 May 2024 21:21:18 GMT</pubDate></item></channel></rss>