← Back to dashboard

dependency

50 patterns in this category
ModuleNotFoundError: No module named 'pip'
Reinstall pip: python3 -m ensurepip --upgrade
confidence: 40% · Python 3.x · seeded
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Pin markupsafe: pip install markupsafe==2.0.1, or upgrade Jinja2 to >=3.1
confidence: 40% · markupsafe 2.1+ · seeded
pip install fails: Could not find a version that satisfies the requirement
Check package name spelling. Try: pip install --upgrade pip. Check Python version compatibility. Use pip install package==version for specific version.
confidence: 40% · seeded
git push rejected: failed to push some refs
Pull first: git pull --rebase origin main. Resolve any conflicts, then push again.
confidence: 40% · git · seeded
npm ERR! ERESOLVE unable to resolve dependency tree
Use --legacy-peer-deps flag: npm install --legacy-peer-deps. Or fix version conflicts in package.json.
confidence: 40% · npm 7+ · seeded
ReferenceError: fetch is not defined
Node.js < 18 doesn't have fetch built in. Upgrade to Node 18+, or install: npm install node-fetch
confidence: 40% · Node.js < 18 · seeded
Error: Cannot find module
Run npm install. If the module is local, check the import path (case-sensitive on Linux). If using TypeScript, check tsconfig paths.
confidence: 40% · Node.js · seeded
ModuleNotFoundError: No module named 'cv2'
Install OpenCV: pip install opencv-python. For headless servers: pip install opencv-python-headless
confidence: 40% · Python · seeded
ImportError: libGL.so.1: cannot open shared object file
Missing OpenGL library on headless Linux. Install: apt-get install libgl1-mesa-glx. Or use opencv-python-headless instead.
confidence: 40% · Linux/OpenCV · seeded
error TS2307: Cannot find module or its type declarations
Install types: npm install -D @types/modulename. Or create a declaration file: declare module 'modulename'. Check tsconfig include paths.
confidence: 40% · TypeScript · seeded
ImportError: attempted relative import with no known parent package
Run as module: python -m package.module. Or restructure to use absolute imports.
confidence: 40% · Python 3.x · seeded
AttributeError: module has no attribute
Wrong import or circular import. Check: python -c 'import module; print(dir(module))'. Rename files that shadow stdlib modules.
confidence: 40% · Python · seeded
DeprecationWarning: pkg_resources is deprecated as an API
Replace pkg_resources with importlib.metadata (Python 3.9+). pip install importlib-metadata for older versions.
confidence: 40% · Python 3.12+ · seeded
ModuleNotFoundError: No module named '_ctypes'
Missing system library. Install: apt-get install libffi-dev (Debian) or yum install libffi-devel (RHEL), then rebuild Python.
confidence: 40% · Python · seeded
Module not found: Can't resolve '@/components/...'
Path alias not configured. Add to tsconfig.json: "paths": {"@/*": ["./src/*"]}. Also configure in webpack/vite.
confidence: 40% · TypeScript · seeded
ERR_REQUIRE_ESM: Must use import to load ES Module
Package switched to ESM-only. Use dynamic import: const pkg = await import('package'). Or find a CJS-compatible version.
confidence: 40% · Node.js · seeded
go: module requires Go >= 1.21
Your Go version is too old. Update: brew upgrade go (macOS), or download from go.dev/dl/.
confidence: 40% · Go · seeded
cannot find package in GOPATH or GOROOT
Run: go mod tidy. If outside a module: go mod init modulename. Check GO111MODULE=on.
confidence: 40% · Go · seeded
error: linker cc not found
C compiler missing. Install: apt-get install build-essential (Debian), xcode-select --install (macOS).
confidence: 40% · Rust · seeded
Bundler::GemNotFound: Could not find gem
Run: bundle install. If version conflict: bundle update gemname. Check Gemfile for typos.
confidence: 40% · Ruby · seeded
LoadError: cannot load such file
Gem not installed or file path wrong. Run: bundle install. Check require path matches file location.
confidence: 40% · Ruby · seeded
java.lang.ClassNotFoundException
Class not on classpath. Check dependencies in pom.xml/build.gradle. Run: mvn dependency:tree to find conflicts.
confidence: 40% · Java · seeded
exec format error
Binary compiled for wrong architecture (e.g., arm64 binary on amd64). Rebuild with correct GOARCH/platform or use multi-arch Docker build.
confidence: 40% · Docker · seeded
error: failed to push some refs to remote (non-fast-forward)
Remote has commits you don't have. Pull first: git pull --rebase origin main. Then push again.
confidence: 40% · git · seeded
fatal: refusing to merge unrelated histories
Two repos with no common ancestor. Use: git pull origin main --allow-unrelated-histories. Then resolve conflicts.
confidence: 40% · git · seeded
error: Your local changes to the following files would be overwritten
Uncommitted changes conflict with pull. Stash first: git stash, then git pull, then git stash pop.
confidence: 40% · git · seeded
Module not found: Can't resolve 'fs' / 'path' / 'crypto'
Using Node.js APIs in client component. Add 'use server' directive, or move to API route, or use next/dynamic with ssr: false.
confidence: 40% · Next.js · seeded
Error: Migration failed: Already applied migration was modified
Don't edit applied migrations. Reset dev DB: npx prisma migrate reset. Or create a new migration for the change.
confidence: 40% · Prisma · seeded
Error: PostCSS plugin tailwindcss requires PostCSS 8
Version mismatch. Update: npm install -D tailwindcss postcss autoprefixer. Or use the compatibility build.
confidence: 40% · Tailwind CSS · seeded
Error: Cannot find module 'vite'
Run npm install. If global: npm install -g vite. Check node_modules exists. Try: rm -rf node_modules && npm install.
confidence: 40% · Vite · seeded
[vite] Pre-transform error: Failed to resolve import
Import path wrong or package not installed. Check the import path. Install missing package. Restart vite dev server.
confidence: 40% · Vite · seeded
Module build failed: SyntaxError: Unexpected token
Webpack can't parse the file. Missing loader for the file type. Add appropriate loader (babel-loader, ts-loader) in webpack config.
confidence: 40% · Webpack · seeded
Jest: Cannot find module from test file
Module resolver not configured. Add moduleNameMapper in jest.config for path aliases. Or check tsconfig paths.
confidence: 40% · Jest · seeded
Jest: SyntaxError: Cannot use import statement outside a module
Jest doesn't understand ESM by default. Add transform in jest.config: transform: {'^.+\\.tsx?$': 'ts-jest'}. Or use --experimental-vm-modules.
confidence: 40% · Jest · seeded
vitest: Failed to resolve import in test file
Vite aliases not configured for vitest. Add resolve.alias in vitest.config.ts matching your vite.config.ts.
confidence: 40% · Vitest · seeded
npm WARN deprecated: This package is no longer maintained
Find a replacement: npm info package-name. Check npm for alternatives. Pin current version if it still works.
confidence: 40% · npm · seeded
yarn: error Couldn't find package on the npm registry
Package name wrong or scoped package needs auth. Check spelling. For private registries: yarn config set registry URL.
confidence: 40% · yarn · seeded
pnpm: ERR_PNPM_PEER_DEP_ISSUES
Peer dependency conflicts. Use --strict-peer-dependencies=false. Or fix version conflicts in package.json.
confidence: 40% · pnpm · seeded
poetry: SolverProblemError: package requires python >=3.10
Python version too old for the package. Update Python or pin an older package version: poetry add package@^1.0.
confidence: 40% · Poetry · seeded
cargo: failed to select a version for the requirement
Version conflict in Cargo.toml. Check the version exists on crates.io. Try cargo update to refresh the index.
confidence: 40% · Cargo · seeded
xcode-select: error: command line tools are already installed
Tools installed but not linked. Run: sudo xcode-select --reset. Or: xcode-select --install to repair.
confidence: 40% · macOS · seeded
Error: state snapshot was created by Terraform vX.Y
Terraform version mismatch. Upgrade Terraform to match or use required_version in terraform block.
confidence: 40% · Terraform · seeded
alembic.util.exc.CommandError: Target database is not up to date
Run: alembic upgrade head. If heads diverge: alembic merge heads. Check alembic_version table.
confidence: 40% · Alembic/SQLAlchemy · seeded
poetry: Could not find a matching version of package
Package version doesn't exist or source is wrong. Check: poetry search package. Try: poetry source add pypi https://pypi.org/simple/
confidence: 40% · Poetry · seeded
torch.cuda.is_available() returns False
CUDA not detected. Check: nvidia-smi for GPU. Install correct PyTorch: pip install torch --index-url https://download.pytorch.org/whl/cu121
confidence: 40% · PyTorch · seeded
TypeError: (0, react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
React version mismatch. Multiple React copies in node_modules. Run: npm ls react. Deduplicate: npm dedupe.
confidence: 40% · React · seeded
Error: Unable to resolve module from (React Native)
Module not linked. Run: npx pod-install (iOS). Or: npx react-native link. Clear cache: npx react-native start --reset-cache.
confidence: 40% · React Native · seeded
Build Failed: Execution failed for task ':app:mergeDebugJavaResource'
Duplicate files in Android build. Add packagingOptions { exclude 'META-INF/...' } to build.gradle.
confidence: 40% · React Native/Android · seeded
Error: CocoaPods could not find compatible versions
Pod version conflict. Run: cd ios && pod install --repo-update. Or delete Podfile.lock and reinstall.
confidence: 40% · iOS/CocoaPods · seeded
Error: plugin_not_found: grafana-plugin
Grafana plugin not installed. Run: grafana-cli plugins install plugin-name. Restart Grafana after install.
confidence: 40% · Grafana · seeded