New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 while installing react-dev-utils package #6330
Comments
Are you still seeing this? Can you visit https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-5.0.2.tgz in your browser and see if it downloads correctly? |
Not yet fixed. |
That's weird - it works fine for me. Must be a regional thing I guess? |
I confirm this also occurs to me and crashes my CI/CD pipelines relying on this package (except it's version 5.0.1 for me) It's been like this yesterday evening too, but relaunching the pipeline a few minutes later worked, now it's broken again |
@AxelTerizaki I believe this is caused by Yarn revoking |
I have updated package.json as follows- |
yarn add --exact react-scripts@1.1.5 |
same issue for me also please share some ideas to fix it |
please run this command and issue fixed now: npm install -g react-dev-utils@https://registry.npmjs.org/react-dev-utils/react-dev-utils-5.0.2.tgz |
That's not a good idea if you're using CRA, as you'll end up using a different version of dev utils to Also you shouldn't be using |
Looks like the |
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
Fails to install packages
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Should install all dependencies
Please mention your node.js, yarn and operating system version.
yarn version 1.6.4
node version 8.0
** getting following error logs **
Arguments:
/opt/node/bin/node /usr/share/yarn/bin/yarn.js install
PATH:
/home/mrk/.local/share/umake/bin:/home/mrk/bin:/home/mrk/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/node/bin:/opt/node/lib:/usr/local/go/bin:/home/mrk/work/bin:/usr/local/go/bin
Yarn version:
1.9.4
Node version:
10.5.0
Platform:
linux x64
Trace:
Error: https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-5.0.2.tgz: Request failed "404 Not Found"
at ResponseError.ExtendableBuiltin (/usr/share/yarn/lib/cli.js:218:66)
at new ResponseError (/usr/share/yarn/lib/cli.js:324:124)
at Request. (/usr/share/yarn/lib/cli.js:61013:26)
at Request.emit (events.js:182:13)
at Request.module.exports.Request.onRequestResponse (/usr/share/yarn/lib/cli.js:138345:10)
at ClientRequest.emit (events.js:182:13)
at HTTPParser.parserOnIncomingClient (_http_client.js:546:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at TLSSocket.socketOnData (_http_client.js:432:20)
at TLSSocket.emit (events.js:182:13)
npm manifest:
{
"name": "portal-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"axios": "^0.18.0",
"deep-equal": "^1.0.1",
"email-validator": "^2.0.4",
"express": "^4.16.3",
"ignore-styles": "^5.0.1",
"moment": "^2.22.2",
"react": "^16.4.1",
"react-classset": "^0.0.2",
"react-datepicker": "^1.5.0",
"react-dom": "^16.4.1",
"react-onclickoutside": "^6.7.1",
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.4",
"redux": "^4.0.0",
"redux-promise-middleware": "^5.1.1",
"semantic-ui-css": "^2.3.2",
"semantic-ui-react": "^0.81.3",
"toastr": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"ssr": "nodemon server/app.js --exec babel-node --presets=@babel/preset-env,@babel/preset-react --plugins=@babel/plugin-proposal-class-properties"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/node": "^7.0.0-beta.51",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/preset-react": "^7.0.0-beta.51",
"babel-plugin-module-resolver": "^3.1.1",
"nodemon": "^1.17.5"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
The text was updated successfully, but these errors were encountered: