All NPM packages are failing to resolve, both via NPM install and via the website.<p>For example, this 404s: https://www.npmjs.com/package/react
huh, <a href="https://www.npmjs.com/package/react" rel="nofollow">https://www.npmjs.com/package/react</a> resolves for me.<p>text extract:
"
react
React is a JavaScript library for creating user interfaces.<p>The react package contains only the functionality necessary to define React components. It is typically used together with a React renderer like react-dom for the web, or react-native for the native environments.<p>Note: by default, React will be in development mode. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages. Don't forget to use the production build when deploying your application.<p>Usage
import { useState } from 'react';
import { createRoot } from 'react-dom/client';<p>function Counter() {
const [count, setCount] = useState(0);
return (
<>
<h1>{count}</h1>
<button onClick={() => setCount(count + 1)}>
Increment
</button>
</>
);
}<p>const root = createRoot(document.getElementById('root'));
root.render(<Counter />);
Documentation
See <a href="https://react.dev/" rel="nofollow">https://react.dev/</a><p>API
See <a href="https://react.dev/reference/react" rel="nofollow">https://react.dev/reference/react</a><p>Readme
Keywords
react
"
I posted a few minutes earlier: <a href="https://news.ycombinator.com/item?id=42358909">https://news.ycombinator.com/item?id=42358909</a>