I installed ionic 3 on a fresh node install and started a new project with ionic start myApp sidemenu.
When running ionic serve a page appears in the browser, but looks extremely ugly, because main.css is not generated by ionic. In the terminal window I see the following error: “Your current PostCSS version is 5.2.17, but autoprefixer uses 6.0.8. Perhaps this is the source of the error below.”.
npm list postcss shows me what I believe to be the cause of this problem, being that ionic/app-scripts requires another version of postcss than autoprefixer:
myApp@0.0.1 /home/arjan/Development/Ionic/myApp
└─┬ @ionic/app-scripts@2.0.2
├─┬ autoprefixer@7.1.1
│ └── postcss@6.0.8
└── postcss@5.2.17
How to solve this problem?