create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Issue with react-scripts not updating for 2 years

Open pavankumar9849 opened this issue 2 years ago • 6 comments

Hi,

I've noticed that the "react-scripts" package hasn't been updated for the past two years. This is causing npm deprecation warnings in my React app for the inner dependencies that react-scripts relies on.

1.Is there any plan to update the react-scripts package in the near future? 2.If not, can you recommend any alternative packages to use instead? 3.Any suggestions on how to address the npm deprecation warnings in the meantime?

I appreciate your support and any insights you can provide on this matter.

npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser npm WARN deprecated [email protected]: Use your platform's native atob() and btoa() methods instead npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard ality npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead. npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser npm WARN deprecated [email protected]: Use your platform's native atob() and btoa() methods instead npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard anpm WARN deprecated [email protected]: Use your platform's native DOMException instead npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: [email protected] npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x. npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

image

pavankumar9849 avatar Jan 22 '24 05:01 pavankumar9849

As far as I know, create-react-app is kind of abandoned. It's not even mentioned in the react install page anymore.

For me, the easiest solution was to replace it with vite.

Good luck!

1eldiego avatar Jan 23 '24 20:01 1eldiego

Hi, you can try Rsbuild as an alternative to CRA: https://github.com/web-infra-dev/rsbuild

Rsbuild is a build tool powered by Rspack. Switching from CRA to Rsbuild is straightforward and can result in significant performance gains.

There is a migration guide for CRA users in the Rsbuild website: https://rsbuild.dev/guide/migration/cra

chenjiahan avatar Jan 26 '24 02:01 chenjiahan

@1eldiego Good evening, is Create-React-App really abandoned? I'm joining now to contribute, help and network...

Vite is a good alternative too, I recommend it.

BraianS avatar Feb 07 '24 22:02 BraianS

Yes. it's abandoned. no updates for 2 years.. not recommended by React.dev site anymore.

tommck avatar Feb 08 '24 18:02 tommck

try checking out https://github.com/bhbs/viject It's a simple utility that migrates all of the react-scripts dependencies that came from create-react-app over to using the stuff that vite provides. I've used it a couple of times and it's been great.

BriceShatzer avatar Jun 25 '24 21:06 BriceShatzer

u can use: npx app_name@latest

Victor-Djaangoo avatar Sep 18 '24 16:09 Victor-Djaangoo