Closed
Description
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
postcss
Environment
node -v
:
v8.1.2
npm -v
:
4.6.1
yarn --version
(if you use Yarn):
0.24.6
npm ls react-scripts
(if you haven’t ejected):
[email protected] /Users/deepak/code/personal/postcssbug
└── [email protected]
Then, specify:
-
Operating system: OS X Sierra
-
Browser and version (if relevant): Not Relevant
Steps to Reproduce
create-react-app postcssbug
cd postcssbug
yarn add normalize.css
echo "@import '~normalize.css/normalize.css';" >> src/index.css
yarn start
Expected Behavior
yarn start
should complete and launch a page in browser.
Actual Behavior
./~/normalize.css/normalize.css
Module build failed: Error: No PostCSS Config found in: /Users/deepak/code/personal/postcssbug/node_modules/normalize.css
at <anonymous>
Reproducible Demo
Problem occured here: deepakjois/deepakjois.com@f02c486
I was able to make it go away after downgrading react-scripts
to 1.0.7. So far I am able to reproduce this reliably in three independent projects, including the one I created using steps above under “Steps to Reproduce”