Fix Cannot find module '@vitejs/plugin-react' in Vite
TL;DR Cannot find module '@vitejs/plugin-react' or its corresponding type declarations (TS2307) in vite.config.ts has two distinct causes.
Curated development tutorials from top sources. Filter by language.
TL;DR Cannot find module '@vitejs/plugin-react' or its corresponding type declarations (TS2307) in vite.config.ts has two distinct causes.
Angular vs Svelte In this series I break down some of the most used features in front end developments, and how different it is to implemen
Introduction For years, the standard way to build Single Page Applications (SPAs) with React and Vite was through React Router. It provided
Chat widgets, analytics snippets, ad network tags, review platform embeds, nearly all of them ship with a copy-paste snippet meant for a plain HTML p
What is Treeporter? Treeporter is an open-source web application that allows users to send files to GitHub from any device. Why did I build it? I w
Munchable's first screen has to be right rather than fast, and also fast. It is a scanner: somebody has opened it in a supermarket aisle holding a pac
When Munchable does not have a product, you can add it by photographing the label. That flow is the one part of the app where the user's hand does the
Notifio is an Electron app that watches rental search pages and tells you the moment a listing appears. It stores everything it knows in plain files i
Notifio is an Electron app. The renderer is a web page, and it talks to an Express server running inside the app's own main process, on loopback: /
Notifio is an Electron app that watches rental search pages and tells you the moment a new listing appears. It has no Jest, no Vitest, no test runner
Imagine you hire a researcher to answer a question. They hand you a neat one-page report and say, "That took me 10 minutes." What they don't tell yo
Decision rule: for a failed Node.js scheduled job, use logs or metrics to explain the failure and an external heartbeat alert to prove the cron task r
I came across Metrivo, a free one-page HTML template that works well for general business sites. It's built by WPRiver Themes and has a clean, straigh
A code review flags a "protected" admin endpoint. The controller has @UseGuards(RolesGuard) on the class, RolesGuard injects a UserService to check ro
Every TypeScript starter ships a tsconfig.json. Almost every one ships it with strict: false, or with a partial strict config that leaves the most use
Munchable has seven condition landing pages. They are the pages that bring in search traffic: "low FODMAP", "foods to avoid with reflux", that shape o
Our blog has no CMS. Every post is a TypeScript object in one array, and the article bodies are React components. lib/blog/registry.ts currently holds
Google truncates a at roughly 60 characters and a meta description at roughly 160. Every SEO checklist says so. Most teams treat it as a thing you ey
Open cogniprep.app/cheating/shl and run this in the console: const ld = [...document.querySelectorAll('script[type="application/ld+json"]')] .map
Munchable has two buttons that most products make you send an email for: download everything you hold about me, and delete my account. Both are self s