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

Error while creating new project, malformed response from registry for "pinkie-promise"

Open gergelybodor opened this issue 8 years ago • 3 comments

Is this a bug report?

Yes.

Can you also reproduce the problem with npm 4.x?

Yes.

Environment

  1. node -v: v7.5.0
  2. npm -v: 4.1.2
  3. yarn --version (if you use Yarn): 0.27.5

Then, specify:

  1. Operating system: Ubuntu 16.04 LTS

Steps to Reproduce

  1. run create-react-app new-app

Expected Behavior

Create new project.

Actual Behavior

Process stops with error, did not create new project.

In terminal:

$ create-react-app new-app

Creating a new React app in /home/bgolyoo/work/bucket-repo/new-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.27.5
info No lockfile found.
[1/4] Resolving packages...
error Received malformed response from registry for "pinkie-promise". The registry may be down.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts --cwd /home/bgolyoo/work/bucket-repo/udemy-react-the-complete-guide-incl-redux/assignment-1 has failed.

Deleting generated file... package.json
Deleting assignment-1 / from /home/bgolyoo/work/bucket-repo/udemy-react-the-complete-guide-incl-redux
Done.

gergelybodor avatar Jan 06 '18 20:01 gergelybodor

This is due to npm registry issue: See https://github.com/npm/registry/issues/255

randinterval avatar Jan 06 '18 20:01 randinterval

https://status.npmjs.org/incidents/41zfb8qpvrdj

jarretmoses avatar Jan 06 '18 21:01 jarretmoses

This is now resolved. Please try again.

Timer avatar Jan 06 '18 21:01 Timer