Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

yarn start throws an error #27

Closed
mrowa44 opened this issue Jan 12, 2018 · 0 comments · Fixed by #32
Closed

yarn start throws an error #27

mrowa44 opened this issue Jan 12, 2018 · 0 comments · Fixed by #32

Comments

@mrowa44
Copy link

mrowa44 commented Jan 12, 2018

Is this a bug report?

yep

Environment

  1. node -v: v6.2.2
  2. npm -v: yarn
  3. yarn --version (if you use Yarn): 1.3.2
  4. npm ls react-scripts (if you haven’t ejected): 1.3.0

Then, specify:

  1. Operating system: OS X
  2. Browser and version (if relevant): -

Steps to Reproduce

create-react-app project-name --scripts-version netguru-react-scripts
cd project-name
yarn start

results in:

$ react-scripts start
module.js:442
    throw err;
    ^

Error: Cannot find module 'react-hot-loader/webpack'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.resolve (internal/module.js:27:19)
    at Object.<anonymous> (/Users/justynarachowicz/Projects/project-name/node_modules/netguru-react-scripts/config/webpack.config.dev.js:170:23)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/justynarachowicz/Projects/project-name/node_modules/netguru-react-scripts/scripts/start.js:41:16)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant