Open vogonyo opened 6 years ago
How did we get in package.json to node scripts/start.js https://github.com/Christianq010/netflix_landing-page/blob/master/package.json#L50
"scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js", "test": "node scripts/test.js --env=jsdom"
from react-scripts start https://github.com/Christianq010/netflix_landing-page/commit/e846914d81e75ec5051945d3400c8d5db1d6d08f#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R10
"scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject"
?
@giorgioriccardi, the problem is in .gitignore file. The author of this repo added scripts
dir to ignore and then upload changes. So you can't start/build/test project. This is another reason why not ejecting from create-react-app.
To fix this :
create-react-app
.yarn add react-icons@^2.2.7 node-sass styled-components
yarn start
This happens when running command start.js