Create-react-app: Install dependencies fails

Created on 6 Aug 2020  路  5Comments  路  Source: facebook/create-react-app

Describe the bug

Running npx create-react-app my-app --template typescript fails with the following error

error An unexpected error occurred: "https://registry.npmjs.org/@testing-library%2freact: Not found".

Environment

Environment Info:

current version of create-react-app: 3.4.1
running from /Users/patrickengelkes/.config/yarn/global/node_modules/create-react-app

System:
OS: macOS 10.15.5
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Binaries:
Node: 14.2.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Browsers:
Chrome: 84.0.4147.105
Firefox: Not Found
Safari: 13.1.1
npmPackages:
react: ^16.13.1 => 16.13.1
react-dom: ^16.13.1 => 16.13.1
react-scripts: 3.4.1 => 3.4.1
npmGlobalPackages:
create-react-app: 3.4.1

Steps to reproduce

(Write your steps here:)

  1. Just run npx create-react-app my-app --template typescript

Expected behavior

All dependencies install without a problem

Actual behavior

error An unexpected error occurred: "https://registry.npmjs.org/@testing-library%2freact: Not found".

bug report needs triage stale

Most helpful comment

Looks to be an issue with npm (see https://github.com/npm/cli/issues/1626)

All 5 comments

Almost same problem here: 馃槬

# Installed via ASDF / asdf-nodejs
avlye in ~ 位 npm --version
6.14.6
avlye in ~ 位 node --version
v12.18.3

Linux Distro:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

Kernel:
Linux Lisa 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

react-app problem

Looks to be an issue with npm (see https://github.com/npm/cli/issues/1626)

@engelkes-finstreet this is an issue with NPM being down temporarily, not an issue with create-react-app, can this issue be closed?

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Evan-GK picture Evan-GK  路  3Comments

DaveLindberg picture DaveLindberg  路  3Comments

wereHamster picture wereHamster  路  3Comments

fson picture fson  路  3Comments

alleroux picture alleroux  路  3Comments