just-boris / react-app-styleguidist

4 stars 1 forks source link

After ejecting, there is an error says 'No PostCSS Config found' #2

Open joshua7v opened 7 years ago

joshua7v commented 7 years ago

I want to change the port, but can't figure out the right way. so i ran the eject command, removed the react-app-styleguidist package and installed react-styleguidist instead. And here comes the error.

ERROR in ./~/css-loader?importLoaders=1!./~/postcss-loader!./src/index.css
Module build failed: Error: No PostCSS Config found in: ...../src
    at ...../node_modules/postcss-load-config/index.js:51:26
 @ ./src/index.css 4:14-130 13:2-17:4 14:20-136

ERROR in ./~/css-loader?importLoaders=1!./~/postcss-loader!./src/components/App.css
Module build failed: Error: No PostCSS Config found in: ...../src/components
    at ...../node_modules/postcss-load-config/index.js:51:26
 @ ./src/components/App.css 4:14-134 13:2-17:4 14:20-140
just-boris commented 7 years ago

Seems like recent updates in create-react-app had caused this.

Could you tell me version of react-scripts and react-styleguidist that you have?

joshua7v commented 7 years ago

in my package.json

"react-scripts": "0.9.5" "react-styleguidist": "^4.6.3"