title: Cant' build Tailwind CSS
body: <p>So I'm trying out Taiwlwind CSS for the first time and I'm following a tutorial. I'm sure I've followed the tutorial to the tee and we haven't even gotten anywhere and I can't seem to build, I always get a bunch of errors.</p>
  <p>Is there something that I'm doing wrong possibly?</p>
  <p><strong>package.json</strong></p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;name&quot;: &quot;Tailwind-learn&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;build:css&quot;: &quot;tailwindcss build src/style.css -o dist/style.css&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;autoprefixer&quot;: &quot;^10.1.0&quot;,
      &quot;postcss&quot;: &quot;^8.2.2&quot;,
      &quot;tailwindcss&quot;: &quot;^2.0.2&quot;
    }
  }
  </code></pre>
  <p><strong>The errors I get</strong></p>
  <pre><code>� TypeError: Object.entries(...).flatMap is not a function
      at flattenColorPalette (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\tailwindcss\lib\util\flattenColorPalette.js:8:83)
      at C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\tailwindcss\lib\plugins\divideColor.js:27:53
      at plugins.forEach.plugin (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\tailwindcss\lib\util\processPlugins.js:69:5)
      at Array.forEach (&lt;anonymous&gt;)
      at _default (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\tailwindcss\lib\util\processPlugins.js:63:11)
      at C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\tailwindcss\lib\processTailwindFeatures.js:64:54
      at LazyResult.runOnRoot (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\postcss\lib\lazy-result.js:303:16)
      at LazyResult.runAsync (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\postcss\lib\lazy-result.js:355:26)
      at LazyResult.async (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\postcss\lib\lazy-result.js:205:30)
      at LazyResult.then (C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\postcss\lib\lazy-result.js:190:17)
  
  Waiting for the debugger to disconnect...
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! Tailwind-learn@1.0.0 build:css: `tailwindcss build src/style.css -o dist/style.css`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the Tailwind-learn@1.0.0 build:css script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\PAVILION\AppData\Roaming\npm-cache\_logs\2021-01-04T03_03_14_233Z-debug.log
  Waiting for the debugger to disconnect...
  </code></pre>
  <p><strong>The complete log</strong></p>
  <pre><code>0 info it worked if it ends with ok
  1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
  1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
  1 verbose cli   'run',
  1 verbose cli   'build:css' ]
  2 info using npm@6.9.0
  3 info using node@v10.16.0
  4 verbose run-script [ 'prebuild:css', 'build:css', 'postbuild:css' ]
  5 info lifecycle Tailwind-learn@1.0.0~prebuild:css: Tailwind-learn@1.0.0
  6 info lifecycle Tailwind-learn@1.0.0~build:css: Tailwind-learn@1.0.0
  7 verbose lifecycle Tailwind-learn@1.0.0~build:css: unsafe-perm in lifecycle true
  8 verbose lifecycle Tailwind-learn@1.0.0~build:css: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\PAVILION\Desktop\Prac\Tailwind-learn\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Brackets\command;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Users\PAVILION\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\PAVILION\AppData\Local\Programs\Python\Python37\;C:\Users\PAVILION\AppData\Local\Programs\Python\Python36;C:\Users\PAVILION\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\PAVILION\.dotnet\tools;C:\Program Files\heroku\bin
  9 verbose lifecycle Tailwind-learn@1.0.0~build:css: CWD: C:\Users\PAVILION\Desktop\Prac\Tailwind-learn
  10 silly lifecycle Tailwind-learn@1.0.0~build:css: Args: [ '/d /s /c',
  10 silly lifecycle   'tailwindcss build src/style.css -o dist/style.css' ]
  11 silly lifecycle Tailwind-learn@1.0.0~build:css: Returned: code: 1  signal: null
  12 info lifecycle Tailwind-learn@1.0.0~build:css: Failed to exec build:css script
  13 verbose stack Error: Tailwind-learn@1.0.0 build:css: `tailwindcss build src/style.css -o dist/style.css`
  13 verbose stack Exit status 1
  13 verbose stack     at EventEmitter.&lt;anonymous&gt; (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
  13 verbose stack     at EventEmitter.emit (events.js:198:13)
  13 verbose stack     at ChildProcess.&lt;anonymous&gt; (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
  13 verbose stack     at ChildProcess.emit (events.js:198:13)
  13 verbose stack     at maybeClose (internal/child_process.js:982:16)
  13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  14 verbose pkgid Tailwind-learn@1.0.0
  15 verbose cwd C:\Users\PAVILION\Desktop\Prac\Tailwind-learn
  16 verbose Windows_NT 6.3.9600
  17 verbose argv &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js&quot; &quot;run&quot; &quot;build:css&quot;
  18 verbose node v10.16.0
  19 verbose npm  v6.9.0
  20 error code ELIFECYCLE
  21 error errno 1
  22 error Tailwind-learn@1.0.0 build:css: `tailwindcss build src/style.css -o dist/style.css`
  22 error Exit status 1
  23 error Failed at the Tailwind-learn@1.0.0 build:css script.
  23 error This is probably not a problem with npm. There is likely additional logging output above.
  24 verbose exit [ 1, true ]
  
  </code></pre>