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.

how to use this package in an existing create-react-app ?

See original GitHub issue

how to use this package in an existing create-react-app ? Can I just install it with npm i -S custom-react-scripts-ts and replace react-scripts start with custom-react-scripts start in package.json?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rafiuskecommented, Jan 18, 2018

This is simple. In my project, I inserted the "custom-react-scripts": "0.0.23" on package.json, remove react-scripts and run the npm install command. After this, you will need to create the environment file .env in the root and modify the configuration options.

ps.: Make sure that react-script package doesn’t exist in your node_modules directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a New React App
Create a New React App ... Use an integrated toolchain for the best user and developer experience. This page describes a few popular...
Read more >
Getting Started - Create React App
If you've previously installed create-react-app globally via npm install -g create-react-app , we recommend you uninstall the package using ...
Read more >
Switch over to Create React App on Existing Project?
Copy your src to a folder outside your repo; Clean your repo git rm -rf; Perform the above steps (create react app, install...
Read more >
How to Build a React Project with Create React App in 10 Steps
The package Create React App makes creating and developing React apps a breeze. It is one of the easiest ways to spin up...
Read more >
Pull and Build a React App Created via create-react-app from ...
You will know that an app has been created using create-react-app when you can find the package react-scripts in the package.json file of ......
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