How can I use create-react-app@next ?
See original GitHub issueDescribe the bug
I am unable to use npx create-react-app@next
is it normal ?
Environment
I am using:
Code: 1.51.0 Python 3.8.5 Node: v15.1.0 NPM: 7.0.9 Yarn: 1.22.10 TSC: Version 4.0.5 Linux: 5.8.18-200.fc32.x86_64 zsh 5.8 (x86_64-redhat-linux-gnu)
create-react-app:
npx create-react-app --info
Environment Info:
current version of create-react-app: 4.0.0
running from /home/luxcium/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app
System:
OS: Linux 5.8 Fedora 32 (KDE Plasma) 32 (KDE Plasma)
CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
Binaries:
Node: 15.1.0 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/node
Yarn: 1.22.10 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/yarn
npm: 7.0.9 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/npm
Browsers:
Chrome: 86.0.4240.183
Firefox: 82.0.2
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
create-react-app@next:
npx create-react-app@next --info
Environment Info:
current version of create-react-app: 4.0.0-next.117+2b1161b3
running from /home/luxcium/.npm/_npx/735e6577b9b7ff3f/node_modules/create-react-app
System:
OS: Linux 5.8 Fedora 32 (KDE Plasma) 32 (KDE Plasma)
CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
Binaries:
Node: 15.1.0 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/node
Yarn: 1.22.10 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/yarn
npm: 7.0.9 - ~/dev/vscode-luxcium.io/data/tmp/fnm-shell-7097277/bin/npm
Browsers:
Chrome: 86.0.4240.183
Firefox: 82.0.2
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
cd /tmp
rm -fr ./my-app-tmp
npm uninstall -g create-react-app
yarn global remove create-react-app
npx create-react-app@next my-app-tmp --template typescript
Expected behavior
Being able to try the next version
Actual behavior
up to date in 127ms
found 0 vulnerabilities
yarn global v1.22.10
[1/2] Removing module create-react-app...
error This module isn't specified in a package.json file.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
You are running `create-react-app` 4.0.0-next.117+2b1161b3, which is behind the latest release (4.0.0).
We no longer support global installation of Create React App.
Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app
The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/
npm ERR! code 1
npm ERR! path /tmp
npm ERR! command failed
npm ERR! command sh -c create-react-app my-app-tmp --template typescript
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luxcium/.npm/_logs/2020-11-08T06_47_36_015Z-debug.log
Reproducible demo
cd /tmp; rm -fr ./my-app-tmp
npm uninstall -g create-react-app; yarn global remove create-react-app; npx create-react-app@next my-app-tmp --template typescript
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Migrating from Create React App - Next.js
Migrating from Create React App. This guide will help you understand how to transition from an existing non-ejected Create React App project to...
Read more >Creating a website with Next.js and React - LogRocket Blog
Step 1 — Bootstrap a Next.js application · Step 2 – Understanding pages folders · Step 3 — Retrieve and display data from...
Read more >Create a New React App
If you're learning React or creating a new single-page app, use Create React App. If you're building a server-rendered website with Node.js, try...
Read more >Next JS How To Create New React App (NextJS) - YouTube
nextjs #webapp #vscode next js create react app / create next app (the fastest way)00:13 checking nodejs version (node --version)00:26 ...
Read more >Migrating a Create-React-App to NextJS - Better Programming
Installing NextJS · Step 1 — Uninstall React Scripts · Step 2 — Install Next package · Step 3 — Change the scripts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
and even if it is not your ‘department’ I just want to inform you that I want to use both NestJs and react in the same project so this is the NestJS struggle I have to figure out also:
Why do I have to struggle with managing all that myself (Is it a forbidden DOOM to
yarn eject
)?