Skip to content
Latchkey
Bundlers & Linters

Webpack, Vite, ESLint, TypeScript - build & lint errors.

Fix frontend build and lint errors in CI: Webpack, Vite, Rollup, esbuild, Babel, TypeScript (tsc), ESLint, and Prettier.

Bundlers

Webpack, Vite, Rollup, esbuild, Babel.

"Cannot find module '@angular-devkit/build-angular'"Fix Angular "Cannot find module '@angular-devkit/build-angular'" in CI - the builder package referenced by an… compiler-cli missingFix "Cannot find module @angular/compiler-cli" in CI - the AOT compiler package is missing or version-mismatc… "ENOSPC ... file watchers reached"Fix Angular "ENOSPC: System limit for number of file watchers reached" in CI - the dev server or watch build… Module build failedFix "Module build failed" during ng build in CI - a loader, a SCSS error, or a bad import breaks compilation… "Module not found: ... Can't resolve"Fix Angular "Module not found: Error: Can't resolve 'X'" in CI - the bundler cannot resolve an import path be… "budget exceeded"Fix Angular "Error: bundle initial exceeded maximum budget" during `ng build` in CI - a bundle grew past the… "No binary for ChromeHeadless"Fix Angular "ng test" failures where Karma cannot find Chrome on the runner - the headless browser binary is… ng not foundFix "ng: command not found" in CI - the Angular CLI is not installed locally, dev deps were skipped, or the s… "ngcc failed to process"Fix Angular "ngcc failed to process" in CI - the Angular compatibility compiler could not convert a View Engi… "Schema validation failed"Fix Angular "Schema validation failed with the following errors" in CI - an option in angular.json is not all… "only compatible with Angular versions"Fix Angular "This version of CLI is only compatible with Angular versions X" in CI - the installed @angular/c… Angular AOT template errorFix Angular AOT template errors during `ng build` (e.g. NG8002 / NG6002) in CI - the production AOT compiler… AOT NG errorFix Angular AOT compile errors (NGxxxx) in CI - a template binding, missing declaration, or type error fails… Budget exceededFix "budgets exceeded" in ng build in CI - the initial or anyComponentStyle bundle grew past the configured b… "reference not found"Fix Antora "the branch/tag reference ... not found" / cannot resolve a content source in CI - a content sourc… "astro build" failedFix "astro build" failing in CI - the build errored while compiling pages, components, or content. The first… "astro check" found errorsFix "astro check" failing in CI - the type checker found TypeScript or template errors across .astro, .ts, an… "astro build" failedFix Astro "[build] ... failed" in CI - a missing adapter for SSR output, a component framework integration no… "Cannot find module 'astro:content'"Fix Astro "Cannot find module 'astro:content'" in CI - the virtual content module and its generated types are… "Cannot find package 'astro'"Fix Astro "Cannot find package 'astro'" in CI - the astro package is not installed on the runner, usually bec… "Cannot find package"Fix Astro "Error: Cannot find package X" in CI - an integration or framework package referenced in astro.conf… "output: server without an adapter"Fix Astro "Cannot use `output: server` ... without an adapter" in CI - server output or on-demand routes need… "Cannot use import statement outside a module"Fix Astro/Node "SyntaxError: Cannot use import statement outside a module" in CI - a config or integration fi… "import statement outside a module"Fix Astro "Cannot use import statement outside a module" in CI - a CommonJS-only dependency or a config parse… "Could not resolve"Fix Astro "Could not resolve X" in CI - the build could not find an imported component, module, or asset, usu… "getStaticPaths() function required"Fix Astro "getStaticPaths() function required for dynamic routes" in CI - a `[param]` page in a static build… "getStaticPaths() is required"Fix Astro "getStaticPaths() is required for dynamic routes" in CI - a static dynamic route ([slug]) must expo… "Unable to render" (SSR)Fix Astro "Unable to render" / adapter errors in CI - SSR output needs the correct adapter (@astrojs/node, ve… output mode vs adapter mismatchFix Astro build errors from an output-mode and adapter mismatch in CI - static output with SSR features, or s… Content collection zod errorFix Astro content collection schema errors in CI - frontmatter did not match the zod schema in the collection… content collection schema errorFix Astro "X frontmatter does not match collection schema" in CI - a Markdown or MDX entry violates the Zod s… import.meta.env undefined in clientFix Astro env vars reading undefined in client code in CI - only PUBLIC_ prefixed variables are exposed to th… "[astro] ... failed"Fix Astro integration failures in CI - a config references an integration (@astrojs/react, tailwind, mdx) tha… server module in client bundleFix Astro errors when server-only code (Node built-ins, secrets) is imported into a client-hydrated component… Unsupported Node versionFix Astro build failures from an unsupported Node version in CI - Astro requires a modern Node; an old runner… ".babelrc: preset not found"Fix Babel ".babelrc: Cannot find preset/module" in CI - a preset shorthand or plugin in .babelrc that is not… "Cannot find module '@babel/...'"Fix Babel "Cannot find module '@babel/preset-env'" / preset-react errors in CI - a preset or plugin reference… "Cannot find module '@babel/core'"Fix "Cannot find module '@babel/core'" in CI - @babel/cli or a loader needs @babel/core as a peer, but it is… "experimental syntax ... isn't currently enabled"Fix Babel "Support for the experimental syntax 'X' isn't currently enabled" in CI - the source uses syntax th… "could not be built" (Bridgetown)Fix Bridgetown "Liquid error" / page "could not be built" during `bridgetown deploy` in CI - a Liquid templat… tsconfig paths not resolvedFix "Module not found / Failed to resolve import" for tsconfig `paths` aliases (`@/...`) that tsc accepts but… "build limit" reachedFix Chromatic "Failed to publish to Chromatic" when the account snapshot or build limit is reached in CI - th… "git history" not found (shallow clone)Fix Chromatic baseline failures from a shallow git clone in CI - Chromatic needs commit history to compute ba… "Missing project token"Fix Chromatic "Missing project token" in CI - the Chromatic CLI ran without a project token because the secre… "manifest_version 2 ... no longer accepted"Fix Chrome Web Store "Manifest version 2 is no longer supported" in CI - the store rejects new uploads with m… "invalid_grant" refresh tokenFix chrome-webstore-upload-cli "invalid_grant" in CI - the OAuth refresh token used to mint an access token f… "ITEM_NOT_UPDATABLE"Fix Chrome Web Store "ITEM_NOT_UPDATABLE" in CI - the item is in a state (in review, or recently published) t… "Package is invalid"Fix Chrome Web Store "Package is invalid: ... manifest" in CI - the uploaded zip has a malformed or unreadabl… "version ... must be greater"Fix Chrome Web Store "The product version ... must be greater than the previously uploaded version" in CI - t… CRXjs manifest schema errorFix CRXjs (@crxjs/vite-plugin) manifest errors in CI - the plugin validates your manifest against the MV3 sch… "Can't render static file"Fix Docusaurus "Can't render static file" caused by referencing window or document during SSR in CI - browser… "Docusaurus found broken links"Fix "Error: Docusaurus found broken links!" in CI - the production build checks internal links and fails when… "MDX compilation failed"Fix "MDX compilation failed" in Docusaurus CI - a Markdown file uses syntax MDX parses as JSX, such as a raw… "data file could not be parsed"Fix Eleventy "could not be parsed" for a data file in CI - a JSON or JS file in the _data directory has inval… "filter not found" (Eleventy)Fix Eleventy "filter not found" or "unknown block tag" in CI - a template uses a filter or shortcode that was… "Problem writing Eleventy templates"Fix Eleventy "Problem writing Eleventy templates" in CI - the build collected templates but failed when writi… "Template render error" (Eleventy)Fix Eleventy "Template render error" in CI - a template threw while rendering, usually from an undefined vari… ENOSPCFix "ENOSPC: no space left on device" while building assets in CI - the runner ran out of disk during asset p… "Build failed with N errors"Fix "Build failed with N errors" from esbuild inside Vite/tsup in CI - esbuild aggregates transform/resolve e… "Could not resolve" (esbuild)Fix esbuild "Could not resolve '<package>'" in CI - a missing dependency, a wrong path, or a module that need… esbuild "Could not resolve"Fix esbuild "Could not resolve 'X'" in CI - esbuild could not find the imported module on disk or in node_mod… "No loader is configured"Fix esbuild "No loader is configured for '.X' files" in CI - map the extension to a loader (jsx, ts, css, fil… "No loader is configured for"Fix esbuild "No loader is configured for '.X' files" in CI - esbuild reached a file extension it has no built… "entry point cannot be marked as external"Fix esbuild "The entry point 'X' cannot be marked as external" in CI - an --external pattern matches the entr… "The service was stopped"Fix esbuild "Error: The service was stopped" in CI - the esbuild child process died, often from OOM, a killed… "The service was stopped"Fix esbuild "The service was stopped" in CI - the esbuild child process exited unexpectedly, often killed by… "Transform failed"Fix esbuild "Transform failed with N errors" in CI - a syntax error, JSX in a non-JSX loader, or a wrong load… "Transform failed with errors"Fix esbuild "Transform failed with N error(s)" in CI - esbuild could not parse or transform a file because of… "esbuild for another platform"Fix esbuild "you installed esbuild for another platform than the one you're currently using" in CI - a commit… "esbuild for another platform"Fix esbuild "you installed esbuild for another platform" / "host version does not match binary version" in CI… "Cannot find module 'gatsby'"Fix Gatsby "Error: Cannot find module 'gatsby'" in CI - the gatsby package is not installed in node_modules w… "Generating image thumbnails failed"Fix Gatsby "Something went wrong installing the \"sharp\" module" / "Generating image thumbnails failed" in C… "GraphQL Error Unknown field"Fix Gatsby "GraphQL Error Unknown field X on type Y" during `gatsby build` in CI - a query references a field… "window is not defined" (Gatsby SSR)Fix Gatsby "WebpackError: ReferenceError: window is not defined" while building static HTML in CI - code touc… "Cannot read property of undefined"Fix Gridsome "TypeError: Cannot read property X of undefined" during build in CI - a template or config reads… "GraphQL" build error (Gridsome)Fix Gridsome build GraphQL errors in CI - a page query references a field or collection that does not exist i… "Cannot find module" (Hexo)Fix Hexo "Cannot find module 'hexo'" or a missing plugin/theme module in CI - a required package is not insta… "Template render error" (Hexo EJS)Fix Hexo "Template render error" from an EJS theme template in CI - a theme layout references an undefined va… "failed to render pages"Fix Hugo "Error building site: failed to render pages" in CI - a template executed during rendering raised, o… "module ... not found"Fix Hugo "module X not found" in CI - a Hugo Module (often a theme) could not be fetched because Go was missi… "REF_NOT_FOUND"Fix Hugo "REF_NOT_FOUND" in CI - a ref or relref shortcode points to a page Hugo cannot find, and refLinksErr… "TOCSS ... requires ... extended"Fix Hugo "TOCSS ... this feature is not available in your current Hugo version" in CI - Sass/SCSS transpilati… imagemin failedFix imagemin plugin failures in CI - a missing native binary (e.g. mozjpeg/pngquant) or an incompatible plugi… "could not find compatible versions ... github-pages"Fix Bundler "Could not find compatible versions for gem ..." with the github-pages gem in CI - a pinned Jekyl… "Conversion error ... kramdown"Fix Jekyll "Conversion error: Jekyll::Converters::Markdown encountered an error while converting" in CI - kra… "Liquid Exception"Fix Jekyll "Liquid Exception" in CI - a Liquid tag or filter in a template or page raised during rendering, o… "background.scripts ... not supported"Fix Manifest V3 "background.scripts requires manifest version of 2 or lower" in CI - persistent background sc… "background.service_worker" missingFix Manifest V3 service worker errors in CI - the background service_worker is missing from the manifest or p… "browser_action ... use action"Fix Manifest V3 "browser_action is deprecated, use action instead" in CI - V3 merges browser_action and page_… "'unsafe-eval' ... not allowed"Fix Manifest V3 Content Security Policy errors in CI - V3 disallows 'unsafe-eval' and remote script sources i… "host_permissions" requiredFix Manifest V3 host permission errors in CI - V3 requires match patterns to live in host_permissions, not in… "error" (Middleman ERb)Fix Middleman build failures from an ERb or template error in CI - `middleman build` raises a Ruby error (Nam… "Aborted with a BuildError"Fix MkDocs "Aborted with a BuildError!" in CI - a strict build or a plugin raised a fatal error. The specific… "contains a link ... not found"Fix MkDocs "contains a link to X which is not found in the documentation files" in CI - a relative link point… "Unrecognised theme name: 'material'"Fix MkDocs "Unrecognised theme name: 'material'" in CI - the Material for MkDocs theme package is not install… "Permission to ... denied"Fix MkDocs "mkdocs gh-deploy" failing with "Permission denied" / 403 in CI - the job token lacks write access… "Cannot find module 'next/...'"Fix Next.js "Error: Cannot find module 'next/dist/...'" in CI - a corrupted/partial node_modules, a version m… "Cannot find module" post-installFix Next.js "Error: Cannot find module 'X'" right after npm ci in CI - the dependency is missing from package… "couldn't be rendered statically"Fix Next.js "Dynamic server usage: Route /x couldn't be rendered statically because it used `headers`/`cookie… "ENOENT ... open '.next/...'"Fix Next.js "ENOENT: no such file or directory, open '.next/build-manifest.json'" in CI - a step expects buil… "Error occurred prerendering page"Fix Next.js "Error occurred prerendering page" from getStaticProps/getStaticPaths during next build in CI - a… "Error occurred prerendering page"Fix Next.js "Error occurred prerendering page" during next build in CI - server code threw while statically g… "experimental.appDir" no longer validFix Next.js builds failing on "experimental.appDir" in CI after upgrading to Next 13.4+ - the App Router is s… Export errorsFix "Export encountered errors on following paths" in CI - a page threw during static export, often from runt… "Failed to fetch `Inter` from Google Fonts"Fix Next.js "Failed to fetch `<Font>` from Google Fonts" during next build in CI - next/font downloads fonts… "Failed to load next.config.js"Fix Next.js "Failed to load next.config.js" or "require() of ES Module" in CI - the config uses ESM syntax in… "Failed to load SWC binary"Fix Next.js "Failed to load SWC binary for linux/x64" in CI - the optional SWC native package for the runner… "Hydration failed"Fix Next.js/React "Hydration failed because the initial UI does not match what was rendered on the server" -… "Hydration failed ... didn't match"Fix Next.js "Hydration failed because the server rendered HTML didn't match the client" surfacing in CI - ser… Hydration failedFix "Hydration failed because the server rendered HTML did not match the client" in CI - non-deterministic re… next/image incompatible with exportFix Next.js "Image Optimization using the default loader is not compatible with `output: export`" in CI - a s… Image optimizationFix Next.js image optimization errors in CI - a static export or unconfigured remote host means next/image ca… "...requires sharp to be installed"Fix Next.js "Error: 'sharp' is required to be installed in standalone mode for the image optimization" in CI… "Invalid next.config.js options detected"Fix Next.js "Invalid next.config.js options detected" warnings and "Unrecognized key(s)" errors in CI - a con… Invalid configFix "Invalid next.config.js options detected" in CI - an unrecognized, moved, or wrongly typed config key fai… "JavaScript heap out of memory"Fix Next.js "FATAL ERROR: ... JavaScript heap out of memory" during next build in CI - the Node process excee… getStaticPathsFix "Page is missing exported function getStaticPaths" in CI - a dynamic Pages Router route uses getStaticPro… "Can't resolve" (Next.js)Fix Next.js "Module not found: Can't resolve '<module>'" during next build in CI - a missing dependency, a wr… "Can't resolve"Fix "Module not found: Can't resolve" during next build in CI - a missing dependency, a wrong tsconfig path a… "Module not found: Can't resolve"Fix Next.js "Module not found: Can't resolve 'X'" during next build in CI - the import target does not exist… "Type error" (next build)Fix "next build" failing with "Failed to compile. Type error: ..." in CI - Next type-checks during the build,… "missing param ... generateStaticParams"Fix Next.js "Page /x is missing param ... in generateStaticParams()" or the missing export error in CI - a dy… "Type error:" fails next buildFix "Failed to compile. Type error: ..." during next build in CI - Next.js type-checks the project with TypeS… "TypeError: fetch failed" at buildFix Next.js "TypeError: fetch failed" during next build in CI - a server component or generateStaticParams fe… "should be wrapped in a suspense boundary"Fix Next.js "useSearchParams() should be wrapped in a suspense boundary" that fails prerendering in CI - the… route handler missing HTTP exportFix Next.js App Router route handler errors in CI - "route.ts does not export named HTTP methods" or a handle… next build OOMFix "JavaScript heap out of memory" during next build in CI - a large app exceeds the Node heap on a small ru… build-manifest missingFix "ENOENT .next/build-manifest.json" in CI - the build artifact is missing because the build did not run, w… "Must use import to load ES Module"Fix Next.js lint failing with "Error [ERR_REQUIRE_ESM]: Must use import to load ES Module" in CI - the ESLint… ESLint errors fail next buildFix Next.js builds that fail because ESLint reported errors during next build in CI - Next runs lint on the p… "hostname ... not configured"Fix Next.js "Invalid src prop ... hostname is not configured under images in your next.config" - add the remo… "not supported in the Edge Runtime"Fix Next.js "A Node.js API is used (...) which is not supported in the Edge Runtime" in CI - middleware and E… monorepo package needs transpilePackagesFix Next.js monorepo build errors where an internal package fails to parse in CI - untranspiled workspace pac… NEXT_PUBLIC_ var inlined as undefinedFix Next.js NEXT_PUBLIC_ environment variables being undefined in CI builds - these are inlined at build time… standalone build missing static/publicFix Next.js standalone output failing in CI with missing CSS, JS, or public assets - the `output: standalone`… "@/..." alias fails to resolveFix Next.js builds where a tsconfig path alias like "@/components" fails to resolve in CI - the paths/baseUrl… "Failed to load SWC binary"Fix Next.js "Failed to load SWC binary for <platform>" in CI - a missing/wrong-platform native @next/swc bina… "conf.py" error (Nikola)Fix Nikola build failures from conf.py in CI - `nikola build` raises while importing the config, often from a… node-sass unsupportedFix node-sass build failures in CI - node-sass is deprecated and breaks on newer Node versions; replace it wi… "ERESOLVE" (webpack)Fix npm "ERESOLVE could not resolve" peer-dependency conflicts involving webpack in CI - a plugin/loader pins… "500 ... during prerendering"Fix Nuxt "Error: 500 ... during prerendering" in CI - a route threw while Nitro prerendered it, often a faile… "Cannot find module 'nuxt'"Fix Nuxt "Cannot find module 'nuxt'" or "nuxt: command not found" in CI - the framework is not installed or t… "JavaScript heap out of memory"Fix Nuxt "FATAL ERROR: ... JavaScript heap out of memory" during build in CI - the Node process exceeded the… "nuxt build" failedFix `nuxt build` failures in CI - a Nitro preset/build error, a missing module declared in nuxt.config, or an… "Nuxt instance unavailable" (useRuntimeConfig)Fix Nuxt "useRuntimeConfig" failing with "Nuxt instance unavailable" in CI - the composable is called outside… vue-tsc type errorFix Nuxt "nuxi typecheck" / vue-tsc errors in CI - the TypeScript type check fails the build on errors that t… auto-import "already declared"Fix Nuxt auto-import conflicts in CI - a composable or component name is both auto-imported and explicitly de… Nitro "Cannot resolve preset"Fix Nuxt Nitro "Cannot resolve preset" in CI - the `nitro.preset` (or NITRO_PRESET) names a server target Nit… "@parcel/core: Failed to resolve"Fix Parcel "@parcel/core: Failed to resolve '<module>'" and transformer errors in CI - a missing dependency,… "@parcel/resolver-default: Cannot find module"Fix Parcel "@parcel/resolver-default: Cannot find module 'X'" in CI - Parcel's resolver could not locate a de… "Build failed. @parcel/core"Fix Parcel "Build failed." errors thrown from @parcel/core in CI - a missing dependency, a transformer/resolv… "Could not process" (Pelican rST)Fix Pelican "Could not process X.rst" in CI - a reStructuredText article has a directive or markup error that… "ModuleNotFoundError" (Pelican plugin)Fix Pelican "ModuleNotFoundError: No module named X" for a plugin in CI - a plugin listed in pelicanconf.py i… "plasmo build" failedFix "plasmo build" failures in CI - the Plasmo framework build aborts on a missing entry, a bad manifest over… BPP "keys" not providedFix Plasmo Browser Platform Publisher (BPP) failures in CI - the publish action aborts because the submit key… "Cannot find module 'autoprefixer'"Fix PostCSS "Cannot find module 'autoprefixer'" (or tailwindcss/postcss-*) in CI - a plugin named in postcss.… Cannot find 'postcss'Fix "Cannot find module 'postcss'" in CI - postcss is a missing peer dependency of your loader or plugin, or… "Loading PostCSS Plugin failed"Fix "Loading PostCSS Plugin failed" in CI - a plugin threw at load time, was given the wrong invocation form,… "Loading PostCSS Plugin failed"Fix "Loading PostCSS Plugin failed" in CI - a plugin listed in the PostCSS config could not be loaded because… Requires PostCSS 8Fix "requires PostCSS 8" in CI - a plugin expects PostCSS 8 but a tool pulled in PostCSS 7; deduplicate and u… "Failed to find" (postcss-import)Fix postcss-import "Failed to find './foo.css'" in CI - an @import in a stylesheet points at a path the resol… PostCSS undefinedFix "PostCSS received undefined instead of CSS string" in CI - a loader chain passed a non-string (a binary a… "Invalid .readthedocs.yaml"Fix Read the Docs build failures from an invalid or missing .readthedocs.yaml - the config is required, must… "Problem ... installing requirements"Fix Read the Docs builds that fail while installing requirements - the python.install step did not point at t… "Cannot find module '@remix-run/...'"Fix Remix "Cannot find module '@remix-run/node'" (or /react, /serve) in CI - the framework package is missing… "Could not resolve"Fix Remix "Could not resolve X" in CI - the compiler could not find an imported module in the server or brows… "process is not defined"Fix Remix "ReferenceError: process is not defined" in CI - client or edge code reads process.env, but process… "remix build" failedFix "remix build" failing in CI - the classic compiler exited non-zero because a server or browser bundle cou… "remix vite:build" failedFix "remix vite:build" failing in CI - the Vite-based Remix build errored while producing the client or SSR b… "cannot use ... in a browser bundle"Fix Remix errors about server-only code leaking into the browser bundle in CI - a module used in a loader/act… Adapter mismatch for deploy targetFix Remix adapter mismatch in CI - the server build uses @remix-run/node but the deploy target is Cloudflare,… "Hydration failed" mismatchFix Remix "Hydration failed because the initial UI does not match" in CI - the server-rendered HTML differs f… loader/action must return dataFix Remix "You defined a loader/action but did not return anything" in CI - a loader or action returned undef… Missing generated Remix typesFix Remix type errors in CI when generated route types or remix.env.d.ts are missing - run remix typegen (or… Vite plugin migration errorFix errors after migrating Remix to the Vite plugin in CI - leftover remix.config.js options, a missing vite.… "remix build" failedFix Remix (React Router v7) `vite build` failures in CI - a server-only import pulled into the client bundle,… "Missing global variable name"Fix Rollup "(!) Missing global variable name" in CI - a UMD or IIFE build has external dependencies with no `… "Circular dependency"Fix Rollup/Vite "Circular dependency" warnings in CI - import cycles that can cause undefined-at-init bugs an… "Circular dependency"Fix Rollup "(!) Circular dependency" in CI - modules import each other in a cycle, which Rollup warns about a… "Could not resolve entry module"Fix Rollup "[!] RollupError: Could not resolve entry module '<input>'" in CI - the configured `input` path do… "Could not resolve entry module"Fix Rollup "Could not resolve entry module 'X'" in CI - the configured input path does not point to a real fi… "Missing global variable name"Fix Rollup "(!) Missing global variable name ... Guessing 'X'" when building UMD/IIFE bundles in CI - externa… "Unexpected token" (Rollup)Fix Rollup "Unexpected token (Note that you need plugins to import files that are not JavaScript)" in CI - ad… "Unexpected token" (Rollup)Fix Rollup "Unexpected token (Note that you need plugins to import files that are not JavaScript)" in CI - ad… "Unexpected token" (node_modules)Fix Rollup "Unexpected token" originating inside node_modules in CI - a CommonJS or untranspiled dependency t… Rollup "Unexpected token"Fix Rollup "Unexpected token (line:col)" in CI - Rollup's parser hit syntax it cannot read because a plugin t… "Generated an empty chunk"Fix Rollup/Vite `output.manualChunks` problems in CI - "Generated an empty chunk" warnings and broken chunk g… "Module build failed" (Rspack)Fix Rspack "Module build failed" in CI - a JS loader that is incompatible with Rspack, a missing builtin tran… "Could not find ... manifest"Fix xcrun safari-web-extension-converter "Could not find a manifest.json" in CI - the path you passed does no… "unable to find utility safari-web-extension-converter"Fix xcrun "unable to find utility safari-web-extension-converter" in CI - the tool ships with Xcode, and the… "@import rules are deprecated"Fix Sass "Deprecation Warning: Sass @import rules are deprecated" in CI - dart-sass warns on @import and a st… "Can't find stylesheet to import"Fix Sass "Error: Can't find stylesheet to import" in CI - a wrong path, a case mismatch, or a missing load pa… "Can't find stylesheet"Fix Sass "Error: Can't find stylesheet to import" in CI - a wrong @use/@import path, a missing load path, or… Cannot find 'sass'Fix "Error: Cannot find module 'sass'" in CI - the sass package is a missing devDependency, or the runner ins… "legacy JS API is deprecated"Fix the Dart Sass "The legacy JS API is deprecated" warning in CI - caused by an old node-sass-style integrat… "legacy JS API is deprecated"Fix Sass "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0" in CI - a tool calls render… Legacy JS APIFix the Sass legacy JS API deprecation warning in CI - render()/renderSync() are deprecated; move to compile(… "Module loop"Fix Sass "Module loop: this module is already being loaded" in CI - two stylesheets @use each other, creating… "Undefined mixin"Fix "Error: Undefined mixin" from dart-sass in CI - an @include references a mixin that was never defined or… "Undefined variable"Fix Sass "Error: Undefined variable" in CI - a variable used before it is defined, or accessed without the @u… sharp installFix a failing sharp install in CI - a missing prebuilt binary for the runner platform, or a blocked download,… "Could not import extension"Fix Sphinx "Could not import extension X (exception: No module named X)" in CI - an extension listed in conf.… "no theme named ... found"Fix Sphinx "Theme error: no theme named X found" in CI - html_theme in conf.py names a theme whose package is… "toctree contains reference to nonexisting document"Fix Sphinx "toctree contains reference to nonexisting document X" in CI - a toctree entry points to a documen… "WARNING ... treated as error"Fix Sphinx "Warning, treated as error" in CI - the -W flag turns every build warning into a fatal error, so a… "autodoc: failed to import"Fix Sphinx "autodoc: failed to import module X" in CI - autodoc imports your package to read docstrings, and… Storybook build failedFix a failing Storybook static build in CI - a broken story import, a missing addon, or a builder config erro… "build-storybook" failedFix "storybook build" / "build-storybook" failures in CI - a broken builder config, a story import error, or… "Cannot find module '@storybook/...'"Fix Storybook "Cannot find module '@storybook/react'" in CI - a Storybook package referenced by your config o… storybook not foundFix "storybook: command not found" in CI - the Storybook CLI is not installed, dev dependencies were skipped,… "Failed to load preset"Fix Storybook "Failed to load preset" in CI - an addon or framework listed in .storybook/main cannot be loade… "Can't resolve" in .storybookFix Storybook "Module not found: Error: Can't resolve" from .storybook/preview or main in CI - a file or pack… SB module not foundFix "Module not found" inside a Storybook build in CI - a missing dependency, an unresolved alias, or a path/… "No story files found"Fix Storybook "No story files found for the specified pattern" in CI - the glob in .storybook/main matched no… Addon mismatchFix Storybook addon version mismatches in CI - an addon on a different major than the Storybook core fails to… "Cannot find module '@sveltejs/kit'"Fix Svelte "Cannot find module '@sveltejs/kit'" in CI - the kit package is not in node_modules because dev de… "Cannot use 'import.meta' outside a module"Fix Svelte "SyntaxError: Cannot use 'import.meta' outside a module" in CI - Vite output using import.meta was… "vite-plugin-svelte" preprocess errorFix vite-plugin-svelte preprocess failures in CI - a `<style lang="scss">` or `<script lang="ts">` block need… "$env/static/private ... client-side"Fix SvelteKit "Cannot import $env/static/private into client-side code" in CI - a private env module is refer… "405 ... method not allowed"Fix SvelteKit "405 ... POST method not allowed. No actions exist for this page" in CI - a form posts to a rou… "500" during prerenderingFix SvelteKit "500" errors during prerendering in CI - a page or load function threw while the prerenderer re… SvelteKit adapter errorFix SvelteKit build failures from a missing or wrong adapter in CI - `vite build` produces no deployable outp… "Cannot find package '@sveltejs/adapter-node'"Fix SvelteKit "Cannot find package '@sveltejs/adapter-node'" in CI - svelte.config.js imports an adapter pack… "Cannot prerender pages with actions"Fix SvelteKit "Cannot prerender pages with actions" in CI - a route exports form actions but is also marked f… "Could not resolve @sveltejs/kit"Fix SvelteKit "Could not resolve @sveltejs/kit" / "Cannot find module @sveltejs/kit" in CI - the framework pa… "Not found: /path"Fix SvelteKit "Error: 404 ... Not found: /path" during prerendering in CI - the crawler followed a link to a… "ReferenceError: window is not defined"Fix SvelteKit "ReferenceError: window is not defined" in CI - module-level browser API access runs on the ser… "Could not detect a supported production environment"Fix SvelteKit "Could not detect a supported production environment" in CI - adapter-auto only recognizes a fe… SvelteKit "hydration" mismatchFix SvelteKit hydration mismatch failures in CI - server-rendered HTML differs from what the client renders,… "Bindings not found"Fix SWC "Bindings not found" in CI - the native @swc/core binary for the runner's platform is missing, often… "failed to parse .swcrc"Fix SWC "failed to parse config file" / `.swcrc` errors in CI - invalid JSON, an unknown option, or a `jsc.pa… "failed to read .swcrc file"Fix SWC "failed to read .swcrc file" / config parse errors in CI - the .swcrc is malformed JSON or has an opt… "Cannot apply unknown utility class"Fix Tailwind "Cannot apply unknown utility class" in CI - an @apply referencing a class Tailwind does not gen… Unknown utilityFix Tailwind "Cannot apply unknown utility class" in CI - an @apply references a class that is not generated,… "Cannot find module 'tailwindcss'"Fix "Cannot find module 'tailwindcss'" in CI - the PostCSS config references the tailwindcss plugin but the p… empty CSS, no utilitiesFix Tailwind producing CSS with no utility classes in CI - the content/purge globs matched no files, so Tailw… "requires PostCSS 8"Fix "It looks like you're trying to use tailwindcss with PostCSS 7" / "requires PostCSS 8" in CI - the instal… Empty CSS outputFix Tailwind producing empty/unstyled CSS in CI - the content (or v3 purge) globs miss your templates, so eve… Tailwind content misconfiguredFix missing Tailwind styles in a production build - a `content` glob that does not match your templates, so t… v4 plugin movedFix the Tailwind v4 PostCSS plugin error in CI - in v4 the PostCSS plugin moved to @tailwindcss/postcss; usin… "install @tailwindcss/postcss"Fix the Tailwind CSS v4 error "It looks like you're trying to use tailwindcss directly as a PostCSS plugin" i… "Can't resolve" (Turbopack)Fix Turbopack "Module not found: Can't resolve '<module>'" with `next --turbopack` in CI - a missing dependen… Turbopack "Can't resolve"Fix Turbopack "Module not found: Can't resolve 'X'" in CI - Turbopack could not resolve an import or alias, o… "[vite:css]"Fix Vite "[vite:css]" build errors in CI - a PostCSS/Sass plugin threw while processing a stylesheet, usually… "dynamic-import-vars ... cannot be analyzed"Fix Vite "[plugin vite:dynamic-import-vars] ... cannot be analyzed by the dynamic import bundler" in CI - a d… "Build failed with errors"Fix Vite "[vite]: Build failed with errors" in CI - the wrapper message above a specific transform, resolve,… "Rollup failed to resolve import"Fix "[vite]: Rollup failed to resolve import '<module>'" during vite build in CI - an externalized or missing… "Could not load" (ENOENT)Fix Vite "Could not load 'X' (imported by Y): ENOENT: no such file or directory" in CI - an imported file or… "Could not load ... ENOENT"Fix Vite "Could not load X (ENOENT: no such file or directory)" in CI - the build references a file that does… "Could not load" (ENOENT)Fix Vite "Could not load /path (imported by ...): ENOENT: no such file or directory" in CI - an import that p… "Could not load ... (imported by)"Fix Vite "Could not load <path> (imported by <file>): ENOENT" during vite build in CI - a missing file, a wro… "Could not resolve entry module"Fix Vite "Could not resolve entry module (index.html)" in CI - Rollup cannot find the entry point because the… "dynamic import will not be analyzed"Fix Vite "The above dynamic import cannot be analyzed by Vite" in CI - a fully dynamic import() string cannot… "Failed to resolve import"Fix Vite "Failed to resolve import '<module>' from '<file>'" in CI - a missing dependency, a wrong path, a ca… "Failed to resolve import"Fix Vite "Failed to resolve import 'X' from 'Y'. Does the file exist?" in CI - an import path does not resolv… "Internal server error" (PostCSS)Fix Vite PostCSS errors in CI - a missing PostCSS plugin, an invalid `postcss.config` export, or unparseable… vite build OOMFix "JavaScript heap out of memory" during vite build of a large app in CI - raise Node's heap, trim source m… "Pre-transform error"Fix Vite "Pre-transform error" in CI - a plugin or esbuild transform threw while pre-processing a module, usu… "process is not defined"Fix Vite "Uncaught ReferenceError: process is not defined" in CI - browser code references Node's `process`,… "Rollup failed to resolve import" (externalized)Fix Vite "[vite]: Rollup failed to resolve import 'X' ... has been externalized for browser compatibility" in… "Rollup failed to resolve import"Fix "[vite]: Rollup failed to resolve import '<module>'" during vite build in CI - a missing dependency or on… "Rollup failed to resolve import"Fix Vite "[vite]: Rollup failed to resolve import X" in CI - the production build cannot find a module that t… "CJS build ... deprecated"Fix the Vite warning "The CJS build of Vite's Node API is deprecated" in CI - caused by requiring Vite from C… "CJS build of Vite's Node API is deprecated"Fix Vite "The CJS build of Vite's Node API is deprecated" in CI - a CommonJS config or script imports Vite's… "Top-level await is not available"Fix Vite "Top-level await is not available in the configured target environment" in CI - the build target is… assets 404 from wrong baseFix Vite assets returning 404 in CI after deploy - the `base` option does not match the subpath the site is s… "Failed to resolve entry for package"Fix Vite "Failed to resolve entry for package" during dependency pre-bundling in CI - a bad package `exports`… Vite SSR externalizeFix Vite SSR build failures from incorrectly externalized dependencies in CI - a CommonJS dep that breaks und… "dead links found in file" (VitePress)Fix VitePress "Build failed due to dead links" in CI - the build found internal links that resolve to no page… "window is not defined" (VitePress)Fix VitePress "ReferenceError: window is not defined" during `vitepress build` in CI - a component or import… compiler-sfc errorFix Vue compiler-sfc errors in CI - a malformed Single File Component template/script, or a vue/compiler-sfc… Resolve componentFix "Failed to resolve component" in CI - a component used in a template was never registered, imported, or h… "--overwrite-dest" requiredFix web-ext build "Artifact ... already exists" in CI - a previous artifact of the same name is present and w… "web-ext lint" reports errorsFix web-ext lint errors in CI - the linter found manifest or code problems that AMO would also reject, so it… "Your add-on failed validation"Fix web-ext sign "Your add-on failed validation" in CI - AMO ran the signing validator on your uploaded XPI a… "401" from web-ext signFix web-ext sign 401 errors in CI - the AMO API rejected your JWT issuer/secret, so the request to sign the a… "Buffer is not defined"Fix runtime "Buffer is not defined" / "process is not defined" / "global is not defined" from a Webpack 5 bui… "Can't resolve 'babel-loader'"Fix Webpack "Module not found: Error: Can't resolve 'babel-loader'" in CI - the webpack config references bab… "Cannot find module 'webpack'"Fix "Error: Cannot find module 'webpack'" in CI - webpack is invoked but not installed, because it is missing… "undefined (reading 'tap')"Fix Webpack "Cannot read properties of undefined (reading 'tap')" in CI - a plugin built for a different Webp… "Cannot read properties of undefined (reading 'tap')"Fix Webpack "Cannot read properties of undefined (reading 'tap')" in CI - a plugin taps a hook that does not… "configuration has an unknown property"Fix Webpack "Invalid configuration object ... has an unknown property" in CI - the config uses an option Webp… "Conflicting order"Fix mini-css-extract-plugin "warning ... Conflicting order. Following module has been added" in CI - CSS impo… "Critical dependency"Fix the webpack warning "Critical dependency: the request of a dependency is an expression" in CI - a dynamic… "ERESOLVE" webpack peer dependencyFix npm "ERESOLVE could not resolve" on a Webpack peer dependency in CI - the loader/plugin peer range does n… "ERR_OSSL_EVP_UNSUPPORTED"Fix webpack "error:0308010C:digital envelope routines::unsupported" (ERR_OSSL_EVP_UNSUPPORTED) on Node 17+ in… "digital envelope routines"Fix "error:0308010C:digital envelope routines::unsupported" with Webpack on Node 17+ in CI - an OpenSSL 3 has… "export not found"Fix webpack "ERROR in ... export 'X' (imported as 'X') was not found in '<module>'" in CI - a named import th… "heap out of memory" (webpack)Fix webpack "FATAL ERROR: Reached heap limit ... JavaScript heap out of memory" during the build in CI - rais… "heap out of memory"Fix Webpack/Vite "FATAL ERROR: ... JavaScript heap out of memory" during the build in CI - raise Node's heap… "Can't resolve"Fix Webpack "Module not found: Error: Can't resolve '<module>'" in CI - a missing dependency, a wrong import… "Can't resolve" (webpack)Fix webpack "Module not found: Error: Can't resolve '<module>'" failing CI - a missing dependency, a wrong or… "Module parse failed"Fix Webpack "Module parse failed: Unexpected token" in CI - Webpack hit syntax it cannot parse because no loa… "Module parse failed"Fix webpack "Module parse failed: Unexpected token ... You may need an appropriate loader" in CI - JSX/TS or… "UnhandledSchemeError" node: importFix Webpack "Reading from 'node:...' is not handled by plugins (UnhandledSchemeError)" in CI - a dependency i… "need an appropriate loader"Fix Webpack "Module parse failed: ... You may need an appropriate loader to handle this file type" in CI - no… "webpack < 5 used to include polyfills"Fix Webpack 5 "BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules" in CI - Webpa… "BREAKING CHANGE: ... polyfill"Fix Webpack 5 "Module not found: Error: Can't resolve 'crypto'" / "BREAKING CHANGE: webpack < 5 used to inclu… "process is not defined"Fix "Uncaught ReferenceError: process is not defined" after upgrading to webpack 5 - webpack 5 dropped automa… Webpack "ERROR in" exit 1Fix a Webpack build that exits 1 with "ERROR in" lines in CI - the compiler reported one or more build errors… "Can't resolve" in url()Fix Webpack css-loader "Module not found: Can't resolve './img.png' in url()" in CI - a CSS `url()` pointing… "process.env.X is undefined"Fix Webpack builds where `process.env.MY_VAR` is undefined in the bundle - DefinePlugin only inlines values p… "Failed to parse source map"Fix Webpack source-map-loader "Failed to parse source map" warnings that fail CI - a dependency ships a broke… "wxt zip" failedFix "wxt zip" failures in CI - WXT could not produce the distributable zip because the build failed first or… "Couldn't find template"Fix Zola "Reason: Couldn't find template X" in CI - a page or section asks for a template file that does not… "Failed to build the site" (Zola)Fix Zola "Error: Failed to build the site" in CI - the top-level build failure whose real reason (a render, l… "Failed to render" (Tera)Fix Zola "Reason: Failed to render" Tera errors in CI - a template references a variable, filter, or block th…

TypeScript

tsc errors and config.

"error TS" in component templateFix Angular "error TSxxxx" raised by template type checking in CI - strictTemplates flags a binding whose typ… "NG6002: ... is not an NgModule"Fix Angular "error NG6002: 'X' appears in the NgModule.imports of Y, but could not be resolved to an NgModule… "NG8001: is not a known element"Fix Angular "error NG8001: 'X' is not a known element" in CI - the template uses a component or element whose… "NullInjectorError: No provider for"Fix Angular "NullInjectorError: No provider for X" in CI - a service requested by DI was never provided, so u… "has unused export property"Fix Svelte "Component has unused export property X. If it is for external reference only, please consider usi… "store.subscribe is not a function"Fix Svelte "TypeError: X.subscribe is not a function" in CI - a value used with the $ store syntax is not a v… Svelte "A11y:" warnings fail CIFix Svelte "A11y:" accessibility warnings failing CI - the compiler emits a11y warnings and the job promotes… svelte-check "found N errors"Fix svelte-check "svelte-check found N errors and M warnings" in CI - the type and template checker found rea… TS1005 expected tokenFix "error TS1005: ';' expected" (and other "X expected" variants) when tsc runs in CI - a syntax error or a… TS1109 expression expectedFix "error TS1005/TS1109: Expression expected" when tsc runs in CI - a parser error from malformed syntax or… TS1128 declaration expectedFix "error TS1128: Declaration or statement expected" when tsc runs in CI - a stray token, an extra brace, or… TS1192 no default exportFix "error TS1192: Module 'x' has no default export" when tsc runs in CI - a default import of a module that… TS1208 isolatedModulesFix "error TS1208: ... cannot be compiled under '--isolatedModules' because it is considered a global script… TS1259 esModuleInterop flagFix "error TS1259: Module ... can only be default-imported using the 'esModuleInterop' flag" when tsc runs in… TS1378 top-level awaitFix "error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is ... and the 'ta… TS17004 JSX not enabledFix "error TS17004: Cannot use JSX unless the '--jsx' flag is provided" when tsc runs in CI - set compilerOpt… TS18003 no inputs foundFix "error TS18003: No inputs were found in config file 'x'" when tsc runs in CI - include/files/exclude matc… TS18046 value is unknownFix "error TS18046: 'x' is of type 'unknown'" when tsc runs in CI - narrow a caught error or an unknown value… TS18047 possibly nullFix "error TS18047: 'x' is possibly 'null'" when tsc runs in CI under strictNullChecks - guard the value befo… TS18048 possibly undefinedFix "error TS18048: 'x' is possibly 'undefined'" when tsc runs in CI - narrow an optional or indexed value be… TS18049 null or undefinedFix "error TS18049: 'x' is possibly 'null' or 'undefined'" when tsc runs in CI - narrow a T | null | undefine… TS2300 duplicate identifierFix "error TS2300: Duplicate identifier 'x'" when tsc runs in CI - the same name declared twice, often from c… TS2304 cannot find nameFix "error TS2304: Cannot find name 'x'" when tsc runs in CI - a missing import, a missing lib/types entry, o… TS2305 no exported memberFix "error TS2305: Module 'x' has no exported member 'y'" when tsc runs in CI - an import name that the modul… TS2307 cannot find moduleFix "error TS2307: Cannot find module 'x' or its corresponding type declarations" when tsc runs in CI - a mis… TS2322 type not assignableFix "error TS2322: Type 'X' is not assignable to type 'Y'" when tsc runs in CI - a genuine type mismatch on a… TS2339 property does not existFix "error TS2339: Property 'x' does not exist on type 'Y'" when tsc runs in CI - accessing a member the type… TS2345 argument not assignableFix "error TS2345: Argument of type 'X' is not assignable to parameter of type 'Y'" when tsc runs in CI - a t… TS2349 not callableFix "error TS2349: This expression is not callable" when tsc runs in CI - calling a value whose type has no c… TS2366 missing returnFix "error TS2366: Function lacks ending return statement and return type does not include 'undefined'" in CI. TS2375 exactOptionalPropertyTypesFix "error TS2375: Type ... not assignable with exactOptionalPropertyTypes: true. Consider adding undefined t… TS2412 exactOptional propertyFix "error TS2412: Type 'undefined' is not assignable ... with exactOptionalPropertyTypes: true" when assigni… TS2451 cannot redeclareFix "error TS2451: Cannot redeclare block-scoped variable 'x'" when tsc runs in CI - a duplicate declaration… TS2515 abstract memberFix "error TS2515: Non-abstract class 'X' does not implement inherited abstract member 'y'" when tsc runs in… TS2531 object possibly nullFix "error TS2531: Object is possibly 'null'" when tsc runs in CI under strictNullChecks - guard the value be… TS2532 object possibly undefinedFix "error TS2532: Object is possibly 'undefined'" when tsc runs in CI - guard array/optional access before u… TS2533 null or undefinedFix "error TS2533: Object is possibly 'null' or 'undefined'" when tsc runs in CI - guard a value typed T | nu… TS2554 argument countFix "error TS2554: Expected N arguments, but got M" when tsc runs in CI - a call with the wrong number of arg… TS2564 no initializerFix "error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor" under s… TS2580 cannot find processFix "error TS2580: Cannot find name 'process'" (and require/__dirname/Buffer) when tsc runs in CI - install @… TS2688 type definition fileFix "error TS2688: Cannot find type definition file for 'x'" when tsc runs in CI - a types entry that is not… TS2691 import path .tsFix "error TS2691: An import path cannot end with a '.ts' extension. Consider importing './x' instead" in CI. TS2769 no overload matchesFix "error TS2769: No overload matches this call" when tsc runs in CI - arguments do not fit any of a functio… TS2792 moduleResolutionFix "error TS2792: Cannot find module 'x'. Did you mean to set the 'moduleResolution' option to 'nodenext', o… TS5023 unknown compiler optionFix "error TS5023: Unknown compiler option 'x'" when tsc runs in CI - a typo, a removed option, or an option… TS5024 option needs a valueFix "error TS5024: Compiler option 'x' requires a value of type ..." when tsc runs in CI - a tsconfig option… TS5083 cannot read tsconfigFix "error TS5083: Cannot read file 'tsconfig.json'" when tsc runs in CI - a missing config path, a bad exten… TS6053 file not foundFix "error TS6053: File 'x' not found" when tsc runs in CI - a files entry or a referenced path that does not… TS6059 not under rootDirFix "error TS6059: File 'x' is not under 'rootDir'. 'rootDir' is expected to contain all source files" when t… TS6133 declared but never usedFix "error TS6133: 'x' is declared but its value is never read" under noUnusedLocals/noUnusedParameters when… TS7006 parameter implicitly anyFix "error TS7006: Parameter 'x' implicitly has an 'any' type" under noImplicitAny when tsc runs in CI. TS7016 no declaration fileFix "error TS7016: Could not find a declaration file for module 'x'. '...' implicitly has an 'any' type" when… TS7030 not all paths returnFix "error TS7030: Not all code paths return a value" when tsc runs in CI under noImplicitReturns. TS7031 binding implicitly anyFix "error TS7031: Binding element 'x' implicitly has an 'any' type" under noImplicitAny - annotate a destruc… TS7053 element implicitly anyFix "error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to… TS80005 default import hintFix "TS80005: This import may be converted to a default import" when tsc runs in CI - a suggestion that can f… tsc passes locally, fails in CIFix tsc --noEmit passing locally but failing in CI - usually a different TypeScript version, a stale local ca… tsc JS heap out of memoryFix "FATAL ERROR: ... JavaScript heap out of memory" while running tsc in CI - raise Node's heap or shrink th… TS1005 "';' expected"Fix tsc "error TS1005: ';' expected" in CI - a syntax error where tsc could not parse a statement, often from… TS1192 "has no default export"Fix tsc "error TS1192: Module 'x' has no default export" in CI - you used a default import for a module that… TS1259 "can only be default-imported using the esModuleInterop flag"Fix tsc "error TS1259: Module 'X' can only be default-imported using the 'esModuleInterop' flag" in CI - a Co… TS18046 "is of type 'unknown'"Fix tsc "error TS18046: 'x' is of type 'unknown'" in CI - under useUnknownInCatchVariables you used a caught… TS18048 "is possibly 'undefined'"Fix tsc "error TS18048: 'x' is possibly 'undefined'" in CI - under strictNullChecks tsc requires a guard befo… TS2307 "or its corresponding type declarations"Fix tsc "error TS2307: Cannot find module 'X' or its corresponding type declarations" in CI when the runtime… TS2322 "is not assignable to type"Fix tsc "error TS2322: Type 'X' is not assignable to type 'Y'" in CI - a value's type does not match the decl… TS2339 "Property does not exist on type"Fix tsc "error TS2339: Property 'x' does not exist on type 'Y'" in CI - you accessed a member that is not dec… TS2345 "Argument of type ... not assignable to parameter"Fix tsc "error TS2345: Argument of type 'X' is not assignable to parameter of type 'Y'" in CI - a call passes… TS2367 "comparison appears to be unintentional"Fix tsc "error TS2367: This comparison appears to be unintentional because the types ... have no overlap" in… TS2451 "Cannot redeclare block-scoped variable"Fix tsc "error TS2451: Cannot redeclare block-scoped variable 'x'" in CI - a name is declared twice in the sa… TS2459 "declares ... locally, but it is not exported"Fix tsc "error TS2459: Module 'x' declares 'y' locally, but it is not exported" in CI - you imported a name t… TS2531 "Object is possibly 'null'"Fix tsc "error TS2531: Object is possibly 'null'" in CI - under strictNullChecks you accessed a member on a v… TS2554 "Expected N arguments, but got M"Fix tsc "error TS2554: Expected N arguments, but got M" in CI - a function call passes too few or too many ar… TS2741 "is missing in type ... but required"Fix tsc "error TS2741: Property 'x' is missing in type 'A' but required in type 'B'" in CI - an object value… TS2742 "inferred type ... cannot be named"Fix tsc "error TS2742: The inferred type of 'x' cannot be named without a reference to '...'. This is likely… TS2769 "No overload matches this call"Fix tsc "error TS2769: No overload matches this call" in CI - the arguments do not satisfy any of a function'… TS2792 "set the moduleResolution option"Fix tsc "error TS2792: Cannot find module 'x'. Did you mean to set the 'moduleResolution' option to 'nodenext… TS4023 "has or is using name ... but cannot be named"Fix tsc "error TS4023: Exported variable 'x' has or is using name 'y' from external module Z but cannot be na… TS4111 "comes from an index signature"Fix tsc "error TS4111: Property 'x' comes from an index signature, so it must be accessed with ['x']" in CI -… TS5024 "requires a value of type"Fix tsc "error TS5024: Compiler option 'x' requires a value of type Y" in CI - a tsconfig option was given th… TS6053 "File 'x' not found"Fix tsc "error TS6053: File 'x' not found" in CI - tsconfig references a file (via files, include, or a proje… TS6133 "declared but its value is never read"Fix tsc "error TS6133: 'x' is declared but its value is never read" in CI - noUnusedLocals or noUnusedParamet… TS7016 "Could not find a declaration file"Fix tsc "error TS7016: Could not find a declaration file for module 'X'" in CI - the module resolves but has… tsc type-checking is slowFix slow tsc type-checking in CI - enable incremental builds, project references, and skipLibCheck, and run o… "Failed to parse" tsconfigFix TypeScript "error TS1005/TS1136: ... in tsconfig.json" / "Failed to parse file" in CI - invalid JSON in t… "Found N errors"Understand TypeScript "Found N errors in M files" exit behavior in CI - why tsc exits non-zero, and how to re… "moduleResolution: bundler"Fix TypeScript errors from `moduleResolution: "bundler"` in CI - TS5095 (requires module esnext/preserve) and… "paths" not resolvingFix TypeScript `paths`/`baseUrl` aliases that resolve in the editor but fail in CI - a missing baseUrl, paths… "TS1205 (isolatedModules)"Fix TypeScript "TS1205: Re-exporting a type when isolatedModules is enabled requires using export type" in CI… "TS1484 (verbatimModuleSyntax)"Fix TypeScript "TS1484: 'X' is a type and must be imported using a type-only import when verbatimModuleSyntax… "TS18003: No inputs found"Fix TypeScript "error TS18003: No inputs were found in config file" in CI - include/files/exclude match no so… "TS2304: Cannot find name"Fix TypeScript "error TS2304: Cannot find name '<x>'" in CI - a missing import, an undeclared global, or a `l… "TS2307: Cannot find module"Fix TypeScript "error TS2307: Cannot find module '<x>' or its corresponding type declarations" in CI - a miss… "TS2345: not assignable"Fix TypeScript "error TS2345: Argument of type 'X' is not assignable to parameter of type 'Y'" in CI - a real… "TS2580: Cannot find name"Fix TypeScript "error TS2580: Cannot find name 'process'" (and require/__dirname/Buffer) in CI - install @typ… "TS2688: type definition file"Fix TypeScript "error TS2688: Cannot find type definition file for '<x>'" in CI - a name in compilerOptions.t… "TS5023: Unknown option"Fix TypeScript "error TS5023: Unknown compiler option '<x>'" in CI - a typo, a removed/renamed option, or an… "Cannot read tsconfig"Fix TypeScript "error TS5083: Cannot read file '<tsconfig>'" / failed extends in CI - a base config path that… "TS6059: not under rootDir"Fix TypeScript "error TS6059: '<file>' is not under 'rootDir'" in CI - an import reaching outside rootDir, co… "TS7016: no declaration file"Fix TypeScript "error TS7016: Could not find a declaration file for module '<x>'" in CI - install @types, or… "TS6305 / TS6202"Fix TypeScript `tsc --build` project-reference errors in CI - TS6305 "Output file has not been built from sou…

Lint & format

ESLint, Prettier failures in CI.

Browserslist errorFix autoprefixer browserslist errors in CI - an outdated caniuse-lite database or an unparseable browserslist… "Found an unknown key"Fix Biome failures in CI - an invalid `biome.json` (unknown key, wrong $schema version), or a config written… black "would reformat" / "files would be reformatted"Fix black "--check" failing in CI - black prints "would reformat <file>" and exits 1 when files are not forma… clippy "could not compile due to N previous errors"Fix cargo clippy "-D warnings" failing in CI - with warnings denied, every clippy lint becomes an error and t… "eslint: command not found"Fix "eslint: command not found" (exit 127) in CI - ESLint is not installed, or the step calls a global `eslin… "prettier: command not found"Fix "prettier: command not found" (exit 127) in CI - Prettier is not installed, dev deps were pruned, or the… "this lint expectation is unfulfilled"Fix clippy "this lint expectation is unfulfilled" in CI - an #[expect(...)] attribute did not catch the lint… "Cannot find @typescript-eslint/parser"Fix ESLint "Parsing error: Cannot find module '@typescript-eslint/parser'" in CI - the TypeScript parser is r… "Cannot find module 'eslint-config-...'"Fix ESLint "Cannot find module 'eslint-config-airbnb'" (or eslint-config-next, -prettier) in CI - a shareable… "Cannot read config file"Fix ESLint "Cannot read config file: <.eslintrc>" / "Unexpected token in JSON" in CI - a malformed or unreada… "undefined (reading 'getTokens')"Fix ESLint "TypeError: Cannot read properties of undefined (reading 'getTokens')" in CI - a parser/ESLint ver… "Command failed with exit code 1"Fix ESLint exiting with code 1 in CI - ESLint returns a non-zero exit when any error-level rule is violated,… "context.getScope is not a function"Fix ESLint "TypeError: context.getScope is not a function" in CI - a plugin built for a different ESLint majo… flat config migrationFix ESLint v9 "Could not find config file" / "Invalid option" in CI after the flat-config switch - migrate .e… "Cannot find module 'eslint-config-X'"Fix ESLint "Cannot find module 'eslint-config-X'" / "Failed to load config X to extend from" in CI - a sharea… "couldn't find an eslint.config.(js|mjs|cjs) file"Fix ESLint v9 "ESLint couldn't find an eslint.config.(js|mjs|cjs) file" in CI - v9 defaults to flat config an… "couldn't find the plugin"Fix ESLint "ESLint couldn't find the plugin '<eslint-plugin-x>'" in CI - the plugin package referenced in con… "couldn't find the plugin"Fix ESLint "ESLint couldn't find the plugin 'eslint-plugin-<x>'" in CI - the plugin package referenced in con… "Definition for rule not found"Fix ESLint "Definition for rule '<plugin/rule>' was not found" in CI - a rule from a plugin that is reference… "Definition for rule not found"Fix ESLint "Definition for rule '<plugin/rule>' was not found" in CI - a rule from a plugin that is reference… "Definition for rule X was not found"Fix ESLint "Definition for rule X was not found" in CI - your config references a rule whose plugin is missin… "Failed to load config to extend"Fix ESLint "Failed to load config '<x>' to extend from" in CI - a shareable config referenced in extends but… "Failed to load config"Fix ESLint "Failed to load config '<x>' to extend from" in CI - a shareable config referenced in extends but… ESLint OOMFix ESLint "JavaScript heap out of memory" on a large repo in CI - raise Node's heap, scope type-aware lintin… "Cannot find module '@typescript-eslint/parser'"Fix ESLint "Parsing error: Cannot find module '@typescript-eslint/parser'" in CI - the TypeScript parser name… "Parsing error: Cannot read tsconfig"Fix ESLint "Parsing error: Cannot read file '<tsconfig>'" in CI - typescript-eslint's parserOptions.project p… "keyword 'import' is reserved"Fix ESLint "Parsing error: The keyword 'import' is reserved" / "Unexpected token import" in CI - parserOption… "ESLint found too many warnings (maximum: 0)"Fix ESLint "ESLint found too many warnings (maximum: N)" in CI - the run exceeded the --max-warnings threshol… "too many warnings"Fix ESLint flat-config CI failures from `--max-warnings 0` - warnings that the eslintrc build tolerated now f… ESLint warnings fail CIFix ESLint failing CI with "too many warnings (maximum: 0)" from --max-warnings 0 - lint that passes locally… flat config plugin errorFix ESLint flat-config (eslint.config.js) plugin errors in CI - a plugin referenced by a rule but not registe… ESLint warnings fail CIFix ESLint "too many warnings" CI failures from --max-warnings 0 - lint that passes locally (warnings only) e… ESLint peer conflictFix npm ERESOLVE peer-dependency conflicts around ESLint in CI - a plugin/config that requires a different ES… flat config migrationFix ESLint v9 "Could not find config file" / "Invalid option" after the flat-config switch - migrate .eslintr… gofmt -l prints filenamesFix a gofmt formatting gate in CI - `gofmt -l` prints any file that is not gofmt-formatted, and the CI check… gofumpt -l lists filesFix a gofumpt formatting gate in CI - gofumpt applies stricter rules than gofmt, so files that pass gofmt can… "File is not `gofmt`-ed with `-s`"Fix golangci-lint gofmt linter "File is not `gofmt`-ed with `-s`" in CI - source was committed without gofmt… "level=error msg=\"Running error: ...\""Fix golangci-lint "level=error msg=\"Running error: ...\"" in CI - the linter could not load or typecheck pac… "unknown linters: ..."Fix golangci-lint "unknown linters: 'X'" in CI - the config enables a linter that the installed golangci-lint… "unsupported version of the configuration"Fix golangci-lint "unsupported version of the configuration" in CI - golangci-lint v2 needs `version: "2"` an… husky pre-commit blocks CIFix a Husky pre-commit lint/format hook failing or blocking in CI - hooks running where they should not, or f… "assertion(s) failed"Fix Lighthouse CI "assertions failed" in CI - lhci assert found audits below the thresholds in lighthouserc,… "Unable to determine ... server"Fix Lighthouse CI upload errors when the LHCI server address or token is missing in CI - lhci upload cannot r… oxlint config errorFix Oxlint failures in CI - an invalid `.oxlintrc.json`, an unknown rule or category, or a plugin not enabled… ".prettierignore" ignoredFix Prettier `--check` failing on generated/vendored files in CI - a `.prettierignore` that is not picked up… "Cannot find plugin"Fix Prettier "Cannot find plugin" / "Couldn't resolve plugin" in CI - a plugin named in .prettierrc (prettier… "Code style issues found"Fix Prettier "Code style issues found in N files. Run Prettier with --write to fix" failing CI - formatting t… "Code style issues found"Fix Prettier "Code style issues found in N files. Run Prettier with --write to fix" failing CI - formatting t… "Code style issues found in the above file(s)"Fix Prettier "[warn] Code style issues found in the above file(s). Run Prettier with --write to fix." in CI -… "SyntaxError" (Prettier)Fix Prettier "[error] SyntaxError: Unexpected token" in CI - Prettier cannot parse a file because of invalid… Prettier "exit code 1" in CIFix Prettier exiting with code 1 in CI - --check and --list-different return non-zero when any file is unform… "N offenses detected"Fix RuboCop "N files inspected, M offenses detected" exiting 1 in CI - RuboCop returns non-zero when any offe… "Unnecessary disabling of ..."Fix RuboCop "Unnecessary disabling of X" (Lint/RedundantCopDisableDirective) in CI - a rubocop:disable commen… RuboCop "unrecognized cop or department"Fix RuboCop config load failures in CI - an unrecognized cop, a missing required extension, or a bad inherit_… ruff "Failed to parse ... unknown rule selector"Fix ruff "unknown rule selector" / config parse error in CI - a code in select or ignore does not match any r… ruff "Found N errors" exit 1Fix ruff check failing in CI - ruff exits 1 when it finds lint violations, printing "Found N errors" and the… ruff "N files would be reformatted"Fix ruff "format --check" failing in CI - ruff lists "Would reformat: <file>" and exits 1 when files are not… "Undefined variable"Fix "SassError: Undefined variable" in CI - a variable used before it is declared, or a module-scoped variabl… "No configuration provided"Fix Stylelint "No configuration provided" / "Could not find <config>" / "Unknown rule" failures in CI - a mis… "Could not find a config"Fix Stylelint "No configuration provided" / "Could not find ... extend" in CI - a missing .stylelintrc or a s… "Unknown rule"Fix Stylelint "Unknown rule" in CI - the config references a rule that no longer exists or belongs to a plugi… stylelint "exit code 2" on lint problemsFix stylelint failing CI with exit code 2 - stylelint returns 2 when it finds lint problems, failing the work… "was not found by the project service"Fix typescript-eslint "ESLint was configured to run on <file> ... however that TSConfig does not include this… vue-tsc errorFix vue-tsc type errors in CI - strict template/script type checking surfaces errors the dev server skips, fa…
Explore other topics