Coder Social home page Coder Social logo

react-workspaces / create-react-app Goto Github PK

View Code? Open in Web Editor NEW
94.0 9.0 39.0 11.02 MB

Yarn Workspaces Monorepo support for Create-React-App / React-Scripts.

Home Page: https://github.com/react-workspaces/react-workspaces-playground

License: MIT License

JavaScript 98.10% CSS 0.15% AppleScript 0.09% HTML 0.12% TypeScript 0.22% Shell 1.33%
monorepo react create-react-app react-scripts workspaces yarn

create-react-app's Introduction

⚠️ WARNING!

This is a custom scripts-version of React-Scripts that provides Monorepo support.

See React Workspaces Playground for a working demo.

React Workspaces Playground Screenshots

For more information on why this was created, please read this for more info: Support Lerna and/or Yarn Workspaces #1333

Create React App Build Status PRs Welcome

Create React apps with no build configuration.

Create React App works on macOS, Windows, and Linux.
If something doesn’t work, please file an issue.
If you have questions or need help, please ask in our Spectrum community.

Quick Overview

npx create-react-app my-app
cd my-app
npm start

If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app to ensure that npx always uses the latest version.

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Then open http://localhost:3000/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build.

npm start

Get Started Immediately

You don’t need to install or configure tools like webpack or Babel.
They are preconfigured and hidden so that you can focus on the code.

Create a project, and you’re good to go.

Creating an App

You’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.

To create a new app, you may choose one of the following methods:

npx

npx create-react-app my-app

(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)

npm

npm init react-app my-app

npm init <initializer> is available in npm 6+

Yarn

yarn create react-app my-app

yarn create <starter-kit-package> is available in Yarn 0.25+

It will create a directory called my-app inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
└── src
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    ├── logo.svg
    └── serviceWorker.js

No configuration or complicated folder structures, only the files you need to build your app.
Once the installation is done, you can open your project folder:

cd my-app

Inside the newly created project, you can run some built-in commands:

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

Build errors

npm test or yarn test

Runs the test watcher in an interactive mode.
By default, runs tests related to files changed since the last commit.

Read more about testing.

npm run build or yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed.

User Guide

You can find detailed instructions on using Create React App and many tips in its documentation.

How to Update to New Versions?

Please refer to the User Guide for this and other information.

Philosophy

  • One Dependency: There is only one build dependency. It uses webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.

  • No Configuration Required: You don't need to configure anything. A reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.

  • No Lock-In: You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

What’s Included?

Your environment will have everything you need to build a modern single-page React app:

  • React, JSX, ES6, TypeScript and Flow syntax support.
  • Language extras beyond ES6 like the object spread operator.
  • Autoprefixed CSS, so you don’t need -webkit- or other prefixes.
  • A fast interactive unit test runner with built-in support for coverage reporting.
  • A live development server that warns about common mistakes.
  • A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps.
  • An offline-first service worker and a web app manifest, meeting all the Progressive Web App criteria. (Note: Using the service worker is opt-in as of [email protected] and higher)
  • Hassle-free updates for the above tools with a single dependency.

Check out this guide for an overview of how these tools fit together.

The tradeoff is that these tools are preconfigured to work in a specific way. If your project needs more customization, you can "eject" and customize it, but then you will need to maintain this configuration.

Popular Alternatives

Create React App is a great fit for:

  • Learning React in a comfortable and feature-rich development environment.
  • Starting new single-page React applications.
  • Creating examples with React for your libraries and components.

Here are a few common cases where you might want to try something else:

  • If you want to try React without hundreds of transitive build tool dependencies, consider using a single HTML file or an online sandbox instead.

  • If you need to integrate React code with a server-side template framework like Rails, Django or Symfony, or if you’re not building a single-page app, consider using nwb, or Neutrino which are more flexible. For Rails specifically, you can use Rails Webpacker. For Symfony, try Symfony's webpack Encore.

  • If you need to publish a React component, nwb can also do this, as well as Neutrino's react-components preset.

  • If you want to do server rendering with React and Node.js, check out Next.js or Razzle. Create React App is agnostic of the backend, and only produces static HTML/JS/CSS bundles.

  • If your website is mostly static (for example, a portfolio or a blog), consider using Gatsby instead. Unlike Create React App, it pre-renders the website into HTML at the build time.

  • Finally, if you need more customization, check out Neutrino and its React preset.

All of the above tools can work with little to no configuration.

If you prefer configuring the build yourself, follow this guide.

React Native

Looking for something similar, but for React Native?
Check out Expo CLI.

Contributing

We'd love to have your helping hand on create-react-app! See CONTRIBUTING.md for more information on what we're looking for and how to get started.

Credits

This project exists thanks to all the people who contribute.

Thanks to Netlify for hosting our documentation.

Acknowledgements

We are grateful to the authors of existing related projects for their ideas and collaboration:

License

Create React App is open source software licensed as MIT.

create-react-app's People

Contributors

amyrlam avatar andriijas avatar arcanis avatar bondz avatar bradfordlemley avatar brunolemos avatar enoahnetzach avatar existentialism avatar f1lt3r avatar fson avatar gaearon avatar greengremlin avatar heyimalex avatar iamandrewluca avatar ianschmitz avatar iansu avatar jeffposnick avatar mrmckeb avatar mxstbr avatar pmoleri avatar ro-savage avatar ryansully avatar selbekk avatar sidoshi avatar tharakawj avatar timer avatar tuchk4 avatar viankakrisna avatar vjeux avatar xiaoxiangmoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

create-react-app's Issues

tsconfig.json is not created after running npx create-react-app --scripts-version @react-workspaces/react-scripts --template typescript

Which terms did you search for in User Guide?

According to CRA doc: https://create-react-app.dev/docs/adding-typescript/#getting-started-with-typescript-and-react tsconfig.json will be created automatically

Running script form this section https://github.com/react-workspaces/react-workspaces-playground#creating-a-new-cra-app does not create it

Expected behavior

running npx create-react-app --scripts-version @react-workspaces/react-scripts --template typescript shared should create tsconfig.json file in root folder

Actual behavior

npx create-react-app --scripts-version @react-workspaces/react-scripts --template typescript shared

tsconfig.json has not beed created

Screen Shot 2020-03-06 at 20 05 21

This message is absent in following output, however it is present while using default react-scripts

We detected TypeScript in your project (src/App.test.tsx) and created a tsconfig.json file for you. Your tsconfig.json has been populated with default values.

output

npx: installed 99 in 7.186s

Creating a new React app in /Users/ivan/projects/monorepo/workspace-no-es5/packages/shared.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and @react-workspaces/react-scripts with cra-template-typescript...

yarn add v1.15.2
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
warning Pattern ["[email protected]"] is trying to unpack in the same destination "/Users/ivan/Library/Caches/Yarn/v4/npm-react-16.13.0-d046eabcdf64e457bbeed1e792e235e1b9934cf7/node_modules/react" as pattern ["react@^16.13.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["[email protected]"] is trying to unpack in the same destination "/Users/ivan/Library/Caches/Yarn/v4/npm-react-dom-16.13.0-cdde54b48eb9e8a0ca1b3dc9943d9bb409b81866/node_modules/react-dom" as pattern ["react-dom@^16.13.0"]. This could result in non-deterministic behavior, skipping.
[3/4] 🔗 Linking dependencies...
warning "workspace-aggregator-0bcca8c9-25ac-45a2-b068-d4557dfa6570 > web > @react-workspaces/react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.22.1", while you're on "1.15.2".
info To upgrade, run the following command:
$ brew upgrade yarn
success Saved 4 new dependencies.
info Direct dependencies
info All dependencies
├─ @react-workspaces/[email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
✨ Done in 21.48s.
Removing template package using yarnpkg...

yarn remove v1.15.2
[1/2] 🗑 Removing module cra-template-typescript...
[2/2] 🔨 Regenerating lockfile and installing missing dependencies...
warning "workspace-aggregator-fd2495c5-560c-41a6-aec9-54235e0c6177 > shared > @react-workspaces/react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
success Uninstalled packages.
✨ Done in 9.47s.

Initialized a git repository.

Success! Created shared at /Users/ivan/projects/monorepo/workspace-no-es5/packages/shared
Inside that directory, you can run several commands:

yarn start
Starts the development server.

yarn build
Bundles the app into static files for production.

yarn test
Starts the test runner.

yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

cd shared
yarn start

Happy hacking!

npx create-react-app --template typescript shared-copy

tsconfig.json has been fcreated

Screen Shot 2020-03-06 at 20 05 16

output

npx: installed 99 in 8.969s

Creating a new React app in /Users/ivan/projects/monorepo/workspace-no-es5/shared-copy.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template-typescript...

yarn add v1.15.2
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "react-scripts > [email protected]" has incorrect peer dependency "[email protected]".
warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
success Saved 9 new dependencies.
info Direct dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
✨ Done in 17.98s.

Initialized a git repository.

Installing template dependencies using yarnpkg...
yarn add v1.15.2
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "react-scripts > [email protected]" has incorrect peer dependency "[email protected]".
warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=5".
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
success Saved 25 new dependencies.
info Direct dependencies
├─ @testing-library/[email protected]
├─ @testing-library/[email protected]
├─ @testing-library/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
├─ @babel/[email protected]
├─ @sheerun/[email protected]
├─ @testing-library/[email protected]
├─ @testing-library/[email protected]
├─ @testing-library/[email protected]
├─ @testing-library/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
✨ Done in 11.80s.

We detected TypeScript in your project (src/App.test.tsx) and created a tsconfig.json file for you.

Your tsconfig.json has been populated with default values.

Removing template package using yarnpkg...

yarn remove v1.15.2
[1/2] 🗑 Removing module cra-template-typescript...
[2/2] 🔨 Regenerating lockfile and installing missing dependencies...
warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=5".
warning "react-scripts > [email protected]" has incorrect peer dependency "[email protected]".
success Uninstalled packages.
✨ Done in 16.67s.

Created git commit.

Success! Created shared-copy at /Users/ivan/projects/monorepo/workspace-no-es5/shared-copy
Inside that directory, you can run several commands:

yarn start
Starts the development server.

yarn build
Bundles the app into static files for production.

yarn test
Starts the test runner.

yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

cd shared-copy
yarn start

Happy hacking!

Seem like checking happens in this function

SecurityError: The operation is insecure.

script display an error on run start

SecurityError: The operation is insecure.
../../../node_modules/@react-workspaces/react-scripts/node_modules/react-dev-utils/webpackHotDevClient.js
node_modules/@react-workspaces/react-scripts/node_modules/react-dev-utils/webpackHotDevClient.js:60

version "@react-workspaces/react-scripts": "3.3.0-alpha-08"

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string

I'm having this error when executing yarn:app start:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at validateString (internal/validators.js:118:11) at Object.join (path.js:1039:7) at noopServiceWorkerMiddleware (/var/www/html/react-workspaces-playground/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26) at Layer.handle [as handle_request] (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:317:13) at /var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:335:12) at next (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:275:10) at launchEditorMiddleware (/var/www/html/react-workspaces-playground/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7) at Layer.handle [as handle_request] (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:317:13) at /var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:335:12) at next (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/index.js:275:10) at handleWebpackInternalMiddleware (/var/www/html/react-workspaces-playground/node_modules/react-dev-utils/evalSourceMapMiddleware.js:42:7) at Layer.handle [as handle_request] (/var/www/html/react-workspaces-playground/node_modules/express/lib/router/layer.js:95:5)

Tools and versions:

  • Windows 10 Enterprise
  • Yarn: v1.19.0 (cannot use v1.22.0, due to this error).
  • Lerna: 3.20.2
  • @react-workspaces/react-scripts: 3.3.0-alpha-08

According to this stackoverflow topic, this error should be resolved by upgrading the react-scripts version to 3.4.0.

Using jsdom in test environment

My test script in package.json looks like this:

"test": "react-scripts test"

It works fine and Jest takes over. But if I supply "env" argument to the script, it stops working:

"test": "react-scripts test --env=jsdom"

Output:

yarn workspace v1.22.4
yarn run v1.22.4
$ react-scripts test --env=jsdom
✨  Done in 0.14s.
✨  Done in 0.41s.

Jest never starts and no tests are executed.

cc @F1LT3R

Please release the reactscript in npm

If you have a general question about Create React App or about building an app with Create React App we encourage you to post on our Spectrum community instead of this issue tracker. The maintainers and other community members can provide help and answer your questions there: https://spectrum.chat/create-react-app

If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html

If you've discovered a bug or would like to propose a change please use one of the other issue templates.

Thanks!

Issue with babel-jest version mismatch.

These is an issue whenever I do "yarn install" or "yarn" as it overrides the yarn.lock file and with this whenever I run "yarn start" into my libraries or apps it fails with the following errors:

The @react-workspaces/react-scripts package provided by Create React App requires a dependency:

  "babel-jest": "24.7.1"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-jest was detected higher up in the tree:

  /ROOT/sample-app/node_modules/babel-jest (version: 24.8.0) 

Manually installing incompatible versions is known to cause hard-to-debug issues.
.
....
......

Is this issue because of base CRA and "@react-workspaces/react-scripts" using different version.? Not sure.

Don't want to use SKIP_PREFLIGHT_CHECK=true for all the modules.

Again tried with --frozen-lockfile true in yarnrc but this also does not solve it.

Any Idea, what I am doing wrong there.?

Deleting 'yarn.lock' before yarn install, things work fine, but I need to do it all the time whenever yarn install needed.

Used versions:
Node: v12.6.0,
Yarn: 1.17.3,
babel-eslint: v10.0.1

Parsing error: Unexpected token, expected "]" (eslint-loader)

Here's an error I get if I use any relatively new (in the last 3 or so years) features of typescript:

ERROR in ../linear/src/elements.tsx
Module Error (from /mnt/c/Users/thoma/OneDrive/Documents/devel/linear/node_modules/@react-workspaces/react-scripts/node_modules/eslint-loader/dist/cjs.js):

  Line 5:41:  Parsing error: Unexpected token, expected "]"

  3 | import classes from './classes';
  4 | 
> 5 | type PropsOf<T> = JSX.IntrinsicElements[T];
    |                                         ^
  6 | 
  7 | 
  8 | export const A:

It looks to me like the issue is that eslint-loader is pegged to exactly 3.0.3 here: https://github.com/react-workspaces/create-react-app/blob/master/packages/react-scripts/package.json#L47

Security issue: Need to upgrade jest

Hi,

High security issue have been reported to handlebars package used in the tree below :

@react-workspaces/react-scripts > jest-cli > @jest/core > @jest/reporters > istanbul-reports > handlebars

Link of the report

Your jest is under the 24.7.1 version.
I think upgrade to the latest version (24.9.0) will solve this security issue.

Bug: Can't import PubNub package

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Environment

Environment Info:

System:
OS: Windows 10
CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz
Binaries:
Node: 12.9.1 - E:\nodejs\node.EXE
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.10.2 - E:\nodejs\npm.CMD
Browsers:
Edge: 41.16299.248.0
Internet Explorer: 11.0.16299.15
npmPackages:
react: ^16.9.0 => 16.9.0
react-dom: ^16.9.0 => 16.9.0
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found

Steps to Reproduce

  1. yarn create react-app --scripts-version @react-workspaces/react-scripts test
  2. cd test && yarn add pubnub
  3. vi src/App.js
  4. Add import pubnub from "pubnub"; at the top
  5. yarn start

Expected Behavior

Start with only a unused warning

Compiled with warnings.

./src/App.js
  Line 4:  'pubnub' is defined but never used  no-unused-vars

Actual Behavior

Compiles but give a runtime error in the browser.
Screenshot_7

Uncaught TypeError: Cannot read property 'fd' of undefined
at Function.useColors (node.js:60)
at createDebug (debug.js:112)
at Object. (index.js:14)
at Object../node_modules/http-proxy-agent/index.js (index.js:110)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/pac-proxy-agent/index.js (index.js:36)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/proxy-agent/index.js (index.js:22)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/superagent-proxy/index.js (index.js:4)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/pubnub/lib/networking/modules/node.js (node.js:11)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/pubnub/lib/node/index.js (index.js:16)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/App.js (App.css?4433:45)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/index.js (index.css?f3f6:45)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (serviceWorker.js:135)
at webpack_require (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1

Reproducible Demo

Can't recreate the issue in codesandbox. Creating the issue in a new project as described above is fast and straightforward.

Some tests I did

  1. Tried with nodejs 10.16.3/12.9.1 with same issue.
  2. Tried with official react-scripts 3.0.1 and 3.1.1 and I do not face the issue.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.