question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

issues while creating custom react-scripts

See original GitHub issue

Description

I am making a custom react-scripts, and i used the latest master branch to clone and modify it. but while running i get into error Cannot find module 'react-dev-utils/getProcessForPort'

Expected behavior

The master branch of create react app has the getProcessForPort.js, but the one downloaded from npm doesn’t have it. (probably not part of the release ?)

Reproducible Demo

to reproduce this i have published the broken package on npm create-react-app myApp --scripts-version super-react-scripts

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kitzecommented, Dec 2, 2016

@shrynx one advice, if you want to keep up with the original repo easily, don’t modify too many things otherwise you’ll have a headache. I’m modifying only ~10 lines and it’s still hard 😅

1reaction
gaearoncommented, Dec 1, 2016

I’ll close because this is not very actionable for us. This particular issue will be solved with next release, but in general it might be better to fork from the latest stable version rather than from master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Everything you need to know about react-scripts
In this guide, we'll give an overview of react-scripts, compare a few different types of scripts, and describe how Create React App dramatically ......
Read more >
Having issues running a custom typescript script with create ...
I have a TypeScript react app that I set up with create-react-app . > create-react-app --version 4.0.3. Command used to create the app:...
Read more >
Tweaking Configuration For React Scripts In Create React App
If you want to tweak your CRA config only slightly, then ejecting your scripts is an extreme measure with a lot of downsides....
Read more >
Don't use create-react-app: How you can set up your own ...
Only one build dependency react-scripts . This maintains all your build dependencies, so it's easy to maintain and upgrade with just one ...
Read more >
Advanced linting with Create React App, Typescript, and ESLint
This will be run against your code base whenever you execute the `start` or `lint` npm scripts. The rules section is for any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found