Cloned my repo from github as working from a new machine, installed all the dependencies for my project but throwing up this error and not sure what is going on or how to fix it. Have tried uninstalling all node modules and reinstalling. Reinstalled postCSS to version 8 as is recommended. Any ideas?
Error
ERROR Failed to compile with 1 error 17:43:02
error in ./src/index.css
Syntax Error: Error: Loading PostCSS Plugin failed: Invalid or unexpected token
(@/home/project/postcss.config.js)
at Array.map (<anonymous>)
@ ./src/index.css 4:14-157 15:3-20:5 16:22-165
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.23:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
postcss.config.js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
index.css
@tailwind base;
@tailwind components;
@tailwind utilities;