TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NPM Outage?

5 pointsby leros5 months ago
All NPM packages are failing to resolve, both via NPM install and via the website.<p>For example, this 404s: https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;react

3 comments

theLegionWithin5 months ago
huh, <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;react" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;react</a> resolves for me.<p>text extract: &quot; 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&#x27;t forget to use the production build when deploying your application.<p>Usage import { useState } from &#x27;react&#x27;; import { createRoot } from &#x27;react-dom&#x2F;client&#x27;;<p>function Counter() { const [count, setCount] = useState(0); return ( &lt;&gt; &lt;h1&gt;{count}&lt;&#x2F;h1&gt; &lt;button onClick={() =&gt; setCount(count + 1)}&gt; Increment &lt;&#x2F;button&gt; &lt;&#x2F;&gt; ); }<p>const root = createRoot(document.getElementById(&#x27;root&#x27;)); root.render(&lt;Counter &#x2F;&gt;); Documentation See <a href="https:&#x2F;&#x2F;react.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;react.dev&#x2F;</a><p>API See <a href="https:&#x2F;&#x2F;react.dev&#x2F;reference&#x2F;react" rel="nofollow">https:&#x2F;&#x2F;react.dev&#x2F;reference&#x2F;react</a><p>Readme Keywords react &quot;
评论 #42359131 未加载
评论 #42359121 未加载
paradite5 months ago
I posted a few minutes earlier: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42358909">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42358909</a>
binarymax5 months ago
OK, it&#x27;s not just me! I thought I was going batty. Maybe I shouldn&#x27;t be working on Sunday.
评论 #42359064 未加载