ionic-framework: Your current PostCSS version is 5.2.17, but autoprefixer uses 6.0.8. Perhaps this is the source of the error below.

Ionic version: (check one with “x”) [ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x ] 3.x

I’m submitting a … (check one with “x”) [x ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

Last night i try to create new project with ionic 3.x version, but there is no bug, today i try to create new project and then try to ionic serve the error message show in cli like this : "Your current PostCSS version is 5.2.17, but autoprefixer uses 6.0.8. Perhaps this is the source of the error below." what should i do ? please help me, ASAP. Thanks.

Expected behavior:

if it normal it will be run well, i think it’s newest bug in ionic CLI.

Steps to reproduce:

Related code:

$ionic serve

16:11:46]  watch started ...
[16:11:46]  build dev started ...
[16:11:46]  clean started ...
[16:11:46]  clean finished in 2 ms
[16:11:46]  copy started ...
[16:11:46]  transpile started ...
[16:11:49]  transpile finished in 2.98 s
[16:11:49]  preprocess started ...
[16:11:49]  deeplinks started ...
[16:11:49]  deeplinks finished in 20 ms
[16:11:49]  preprocess finished in 22 ms
[16:11:49]  webpack started ...
[16:11:49]  copy finished in 3.28 s
[16:11:58]  webpack finished in 8.96 s
[16:11:58]  sass started ...
Your current PostCSS version is 5.2.17, but autoprefixer uses 6.0.8. Perhaps this is the source of the error below.
[16:11:59]  dev server running: http://localhost:8101/

[INFO] Development server running
       Local: http://localhost:8101

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 43 (3 by maintainers)

Commits related to this issue

Most upvoted comments

You need to downgrade ionic/app-scripts to version 1.3.7 for now. (rm -rf node_modules first)

please link to issue in app scripts

Hi, I changed my package.json part with my old project’s package.json and it worked for me (Delete node_modules then type npm install)

 "dependencies": {
    "@angular/common": "4.0.0",
    "@angular/compiler": "4.0.0",
    "@angular/compiler-cli": "4.0.0",
    "@angular/core": "4.0.0",
    "@angular/forms": "4.0.0",
    "@angular/http": "4.0.0",
    "@angular/platform-browser": "4.0.0",
    "@angular/platform-browser-dynamic": "4.0.0",
    "@ionic-native/background-mode": "^3.6.1",
    "@ionic-native/core": "^3.6.1",
    "@ionic-native/local-notifications": "^3.6.1",
    "@ionic-native/splash-screen": "3.4.2",
    "@ionic-native/status-bar": "3.4.2",
    "@ionic/storage": "2.0.1",
    "ionic-angular": "3.0.1",
    "ionicons": "3.0.0",
    "rxjs": "5.1.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.3.0",
    "typescript": "~2.2.1"
  },

This should be fixed now. Please upgrade back to the latest version of app-scripts, and reinstall your node-modules.

You need to downgrade ionic/app-scripts to version 1.3.7 for now. (rm -rf node_modules first)

this worked for me!

@tunathoni I only change my package.json and delete my node_modules then type npm install.That’s all.

Changing package.json partly solve this issue, but now “vendor.js” not found

Ok @pvdyck i’ll make it open again

Hi @erdemozveren thanks for your help. It’s worked properly… Thank you so much. 👍