I have configured tailwindcss for my project, however after npm run start I get following error.
(node:7032) UnhandledPromiseRejectionWarning: Error: Expected a pseudo-class or pseudo-element.
at D:\projects\frontend\example1\src\styles\tailwind.css:5:3 which points to the below tailwind.css file.
tailwind.css.
@tailwind base;
@tailwind components;
.input {
@apply focus: outline-none focus:border-gray-500 p-3 border-2 text-lg font-light border-gray-200;
}
.btn {
@apply py-3 px-5 bg-gray-800 text-white font-semibold mt-3 rounded-lg text-lg focus: outline-none hover:opacity-90;
}
@tailwind utilities;
Scripts in package.json are
"scripts": {
"tailwind:build": "npx tailwindcss -i ./src/styles/tailwind.css -o ./src/styles/styles.css",
"apollo:codegen": "rimraf src/__generated__ && apollo client:codegen src/__generated__ --target=typescript --outputFlat",
"start": "npm run apollo:codegen && npm run tailwind:build & react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
what could be causing this error ?