3 ms·
Just looked at the "dependencies" for one of my projects and it interprets "react" as this 5 year old, defunct repo: https://github.com/wballard/react https://g
by alexlrobertson 9y ago
Just looked at the "dependencies" for one of my projects and it interprets "react" as this 5 year old, defunct repo: https://github.com/wballard/react https://github.com/wballard/react.
- Spazer 9y agoGet in touch with support, they can point it to the correct place!
- caffed 9y agoI am thinking that it's because the React package.json does not have `repository` listed. https://github.com/facebook/react/blob/master/package.json https://github.com/facebook/react/blob/master/package.json See Redux: https://github.com/reactjs/redux/blob/master/package.json#L36-L39 https://github.com/reactjs/redux/blob/master/package.json#L3...
- wereHamster 9y agoLet's be honest, unless you use a private NPM registry, "react" means https://www.npmjs.com/package/react https://www.npmjs.com/package/react. GitHub should use the standard resolution algorithm as employed by npm/yarn (the CLI tools).
- couchand 9y agoThat's not the package.json that gets published in the npm react package. This one is what you're looking for: https://github.com/facebook/react/blob/master/packages/react/package.json https://github.com/facebook/react/blob/master/packages/react...
- Klathmon 9y agoHow are you depending on react? I just checked 3 of my projects that use it, and all 3 are pointing to the correct "facebook react" repo.
- alexlrobertson 9y agoJust a standard dependency on version 15. It figured out react-dom just fine though. { "dependencies": { "react": "^15.6.1", "react-dom": "^15.6.1" } }