Description
Hey there, I had decided to make a fork of this repo as to create my own default template that is scaffolded when running create-react-app
, I've only changed things like app.js
, and I've added the styled-component
package. My version runs off the master
branch. Is there a specific branch to use for this?
Is this a bug report?
(write your answer here)
yes.
Can you also reproduce the problem with npm 4.x?
Yes.
(Write your answer here.)
I've tried both npm 4 & npm 5, by running them, and by running yarn both times.
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
ignoredfiles
Environment
node -v
: 8.8.1npm -v
: 4.6.1yarn --version
(if you use Yarn): 1.2.1npm ls react-scripts
(if you haven’t ejected): (empty)
Then, specify:
- Operating system: Mac OS High Sierra
- Browser and version (if relevant):
Steps to Reproduce
(Write your steps here:)
- Fork create-react-app
- Make changes in the default project template
- Use said template
- Run
yarn start
.
Expected Behavior
(Write what you thought would happen.)
I'd expect it to run my app.
Actual Behavior
(Write what happened. Please add screenshots!)
I get the following error + stacktrace;
yarn start
yarn run v1.2.1
$ react-scripts start
module.js:515
throw err;
^
Error: Cannot find module 'react-dev-utils/ignoredFiles'
at Function.Module._resolveFilename (module.js:513:15)
at Function.Module._load (module.js:463:25)
at Module.require (module.js:556:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/jordy/projects/editor/frontend/node_modules/jordy-react-scripts/config/webpackDevServer.config.js:13:22)
at Module._compile (module.js:612:30)
at Object.Module._extensions..js (module.js:623:10)
at Module.load (module.js:531:32)
at tryModuleLoad (module.js:494:12)
at Function.Module._load (module.js:486:3)
at Module.require (module.js:556:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/jordy/projects/editor/frontend/node_modules/jordy-react-scripts/scripts/start.js:40:31)
at Module._compile (module.js:612:30)
at Object.Module._extensions..js (module.js:623:10)
at Module.load (module.js:531:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)