Rebuilding...
CssSyntaxError: tailwindcss: /Users/serguei/github/elixir/phoenix/calendlex/deps/petal_components/assets/default.css:52:3: The `bg-primary-600` class does not exist. If `bg-primary-600` is a custom class, make sure it is defined within a `@layer` directive.
at Input.error (/snapshot/tailwindcss/node_modules/postcss/lib/input.js:148:16)
at AtRule.error (/snapshot/tailwindcss/node_modules/postcss/lib/node.js:60:32)
at processApply (/snapshot/tailwindcss/lib/lib/expandApplyAtRules.js:380:29)
at /snapshot/tailwindcss/lib/lib/expandApplyAtRules.js:551:9
at /snapshot/tailwindcss/lib/processTailwindFeatures.js:55:50
at async Object.Once (/snapshot/tailwindcss/lib/cli/build/plugin.js:243:17)
at async LazyResult.runAsync (/snapshot/tailwindcss/node_modules/postcss/lib/lazy-result.js:396:11)
at async Object.watch (/snapshot/tailwindcss/lib/cli/build/plugin.js:368:13)
at async build (/snapshot/tailwindcss/lib/cli/build/index.js:47:9) {
reason: 'The `bg-primary-600` class does not exist. If `bg-primary-600` is a custom class, make sure it is defined within a `@layer` directive.',
file: '/Users/serguei/github/elixir/phoenix/calendlex/deps/petal_components/assets/default.css',
source: '/* Container */\n' +
...
I used the latest version of petal_compoents,
2.0.3
and set up the project as the docs explain. Here is themix.exs
deps/0 function:When starting the application, I get this error:
User elixir/erlang versions: