Comments (9)
Change to vite; npx is not an faster one, tbh
there is a link to compare VITE with WEBPACK, and we are talking about npx (NPX stands for Node Package eXecute. It is simply an NPM package runner)
from create-react-app.
use vite
from create-react-app.
Have you tried running it on wsl2?
If you did and the issue still persists try updating your create-react-app package (or) delete it and reinstall it globally.
Reinstall npm, and node
from create-react-app.
Reinstall npm, and node
Horror, advice like “reinstall windows”
from create-react-app.
npx create-react-app This command is working very slowly Give me any Solution this problem
Change to vite; npx is not an faster one, tbh
https://www.linkedin.com/pulse/exploring-npx-create-react-app-vs-vite-choosing-right-amitha-h-hp4yf/
https://v3.vitejs.dev/guide/
from create-react-app.
Have you tried running it on wsl2? If you did and the issue still persists try updating your create-react-app package (or) delete it and reinstall it globally. Reinstall npm, and node
Reinstalling won't solve this, npx cra is slow af since it uses webpack, and bundles the application before it makes ready to listen.
from create-react-app.
Change to vite; npx is not an faster one, tbh
There is no benchmark in your link, how much faster is 1%? by 2% by 10? some facts are needed, confirmed
I waited about 6 minutes and the installation went through npx, it just took a long time, but it was completed successfully
from create-react-app.
Change to vite; npx is not an faster one, tbh
There is no benchmark in your link, how much faster is 1%? by 2% by 10? some facts are needed, confirmed
I waited about 6 minutes and the installation went through npx, it just took a long time, but it was completed successfully
Simply speaking, vite is quicker because it uses module preloading to achieve a faster build.
Read on to better understand with graphs: https://kinsta.com/blog/vite-vs-webpack/. More thorough explanations can be obtained.
Trust me, I was using npx cra Then, after switching to vite, production build and deploy times rose, as I saw.
from create-react-app.
Change to vite; npx is not an faster one, tbh
there is a link to compare VITE with WEBPACK, and we are talking about npx (NPX stands for Node Package eXecute. It is simply an NPM package runner)
Well, I indeed know what npx is, since cra (create-react-app) uses webpack and NPX (Node package eXecute) runs the cra to initiate the app, it is mentioned as WEBPACK, basically it means the NPX.
If you wish, you can just initiate two new apps using vite and npx and watch which one builds quicker.
from create-react-app.
Related Issues (20)
- Create issue Facebook app HOT 3
- Uncaught ReferenceError: process is not defined at emitReadable (_stream_readable.js:529:1) at onEofChunk (_stream_readable.js:506:1) at readableAddChunk (_stream_readable.js:255:1) at Readable.push (_stream_readable.js:241:1) at index.js:423:1 emitReadable @ _stream_readable.js:529 onEofChunk @ _stream_readable.js:506 readableAddChunk @ _stream_readable.js:255 Readable.push @ _stream_readable.js:241 (anonymous) @ index.js:423 Show 5 more frames Show less
- Run `npm install` in `D:\git\r\`. HOT 1
- Hi gaearon
- Hebosho911
- Could the community save this dead project? HOT 4
- pateknuk
- use parameter decorator HOT 5
- My React app not installing HOT 3
- create-react-app problem
- Can't start creat react app HOT 2
- Facing an error to install firebase HOT 1
- It is intentionally verbose. Otherwise there is a risk of accidentally exposing a private key on the machine that happens to have the same name.
- Dependency Packages introduced vulnerabilities associated with react-scripts 5.0.1
- I am not able to run the project i have uploaded my issue so please help me or provide me a updated documentation for this
- Is there a way to resolve a GitHub octokit.js library issue while trying to build the react app?
- sir.k
- @1eldiego Good evening, is Create-React-App really abandoned? I'm joining now to contribute, help and network...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-react-app.