Last 12 weeks · 0 commits
5 of 6 standards met
MacBook-Pro ~ % npx create-react-app my-app Creating a new React app in /Users/Durai/my-app. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template... npm ERR! code EEXIST npm ERR! syscall mkdir npm ERR! path /Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff npm ERR! errno EEXIST npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: EACCES: permission denied, mkdir '/Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff' npm ERR! File exists: /Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff npm ERR! Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly. npm ERR! A complete log of this run can be found in: /Users/Durai/.npm/_logs/2024-01-13T12_30_16_019Z-debug-0.log Aborting installation. npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
{ "name": "AviGest Pro — Gil Tangata", "short_name": "AviGest", "description": "Gestão e protótipos de avicultura", "start_url": "/", "display": "standalone", "background_color": "#F5EFE4", "theme_color": "#2C1A0E", "orientation": "portrait", "icons": [ { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" } ] } 2. No index.html — adicionar dentro de : 3. public/sw.js (service worker básico para funcionar offline): self.addEventListener('install', e => e.waitUntil( caches.open('avigest-v1').then(c => c.addAll(['/'])) )); self.addEventListener('fetch', e => e.respondWith( caches.match(e.request).then(r => r fetch(e.request)) )); 4. Registar o SW — no src/main.tsx ou entrypoint: if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sw.js'); }
Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/create-react-app ❤️ What it does: adds a badge to show the latest number of financial contributors adds a banner displaying contributors to the project on GitHub adds a banner displaying all individuals contributing financially on Open Collective adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website We have also added a script to let people know after that you are welcoming donations. Feel free to remove it if you don't want it. [More info] P.S: As with any pull request, feel free to comment or suggest changes. Thank you for your great contribution to the Open Source community. You are awesome! 🙌 And welcome to the Open Collective community! 😊 Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!
Describe the bug start a vanilla project using the typescript template open any file. you'll see an error like this this: !image try to edit the !image but CRA overwrites the file every time it starts. Many bug reports on this ducking behavior https://github.com/facebook/create-react-app/issues/8614 https://stackoverflow.com/questions/53794875/how-to-configure-react-script-so-that-it-doesnt-override-tsconfig-json-on-star etc. Did you try recovering your dependencies? yes Which terms did you search for in User Guide? wtf does cra overwrite my tsconfig.json Cannot use JSX unless the '--jsx' flag is provided.", Environment Steps to reproduce 1 2 open vscode editor. Expected behavior can use typescript with CRA Actual behavior FFS !image Reproducible demo try with your own template
Repository: react/create-react-app. Description: Set up a modern web app by running one command. Stars: 103313, Forks: 26978. Primary language: JavaScript. Languages: JavaScript (98.3%), Shell (1.2%), CSS (0.1%), HTML (0.1%), AppleScript (0.1%). License: MIT. Homepage: https://create-react-app.dev/ Topics: build-tools, react, zero-configuration. Latest release: v5.0.1 (4y ago). Open PRs: 100, open issues: 2309. Last activity: 1y ago. Community health: 87%. Top contributors: gaearon, Timer, iansu, ianschmitz, selbekk, fson, mrmckeb, vjeux, viankakrisna, matrush and others.