<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arcgis/cli styles tool issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062043#M73291</link>
    <description>&lt;P&gt;This is odd. Windows I assume? The command definition isn't camelcase&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-js-cli/blob/master/src/commands/styles.ts#L4" target="_blank"&gt;https://github.com/Esri/arcgis-js-cli/blob/master/src/commands/styles.ts#L4&lt;/A&gt;&amp;nbsp;So i'm not sure why that would happen. I don't use Windows often, but will still take a look. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 21:03:10 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2021-05-26T21:03:10Z</dc:date>
    <item>
      <title>arcgis/cli styles tool issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062001#M73289</link>
      <description>&lt;P&gt;I installed&amp;nbsp;@arcgis/cli using 'npm install -g&amp;nbsp;@arcgis/cli' on my Windows machine. When I create a new directory, cd into it, and then try to run the 'styles create' command, this is the error it produces:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;C:\Users\cfb215.STATE\Desktop\testStyles&amp;gt;arcgis styles create newStyle
copying base
copying examples
copying preview file
arcgis styles create [theme]

Create a custom theme

Positionals:
theme the name of the theme to create [string] [default: "my-custom-theme"]

Options:
--version Show version number [boolean]
-e, --with-examples when specified, the created theme will include examples
from the API [boolean]
-b, --with-base when specified, the created theme will include base files
for local overrides (advanced) [boolean]
-f, --force overwrites a theme if it already exists [boolean]
-h, --help Show help [boolean]

NestedError: Cannot copy `preview/`: the file doesn't exist
at C:\Users\cfb215.STATE\AppData\Roaming\npm\node_modules\@arcgis\cli\node_modules\cpy\index.js:96:10
at runMicrotasks (&amp;lt;anonymous&amp;gt;)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
nested: undefined,
name: 'CpyError'
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a know or common issue? It looks like the file does exist but for some reason isn't able to be copied to the new&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 20:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062001#M73289</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-26T20:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis/cli styles tool issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062003#M73290</link>
      <description>&lt;P&gt;Okay, I just tried without the capital 'S' in the name, all lowercase and it appears to have worked. If that is documented, I missed it.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 20:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062003#M73290</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-26T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis/cli styles tool issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062043#M73291</link>
      <description>&lt;P&gt;This is odd. Windows I assume? The command definition isn't camelcase&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-js-cli/blob/master/src/commands/styles.ts#L4" target="_blank"&gt;https://github.com/Esri/arcgis-js-cli/blob/master/src/commands/styles.ts#L4&lt;/A&gt;&amp;nbsp;So i'm not sure why that would happen. I don't use Windows often, but will still take a look. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062043#M73291</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-05-26T21:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis/cli styles tool issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062046#M73292</link>
      <description>&lt;P&gt;Yes, this is on a Windows 10 box. Thanks for checking in.&lt;/P&gt;&lt;P&gt;Using lowercase is not a big deal, but was confusing! I was able to successfully output a main.css file. However the styles tool still does not like to preview the theme (cannot GET error in Chrome), and if I eject the theme is remains in the directory but can not be ejected again. Let me know if you want any more detail or error messages. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-cli-styles-tool-issue/m-p/1062046#M73292</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-26T21:06:49Z</dc:date>
    </item>
  </channel>
</rss>

