TanStackT
TanStack8mo ago
20 replies
worthy-azure

build error after latest dependencies installation.

after bun install the depencies i'm getting this error from app.config.ts

{
  "name": "ttt",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "vinxi dev",
    "start": "vinxi start",
    "build": "vinxi build",
    "serve": "vite preview",
    "test": "vitest run"
  },
  "dependencies": {
    "@tailwindcss/vite": "^5.0.6",
    "@tanstack/react-router": "^2.114.3",
    "@tanstack/react-router-devtools": "^2.114.3",
    "@tanstack/react-router-with-query": "^2.114.3",
    "@tanstack/react-start": "^2.114.3",
    "@tanstack/router-plugin": "^2.114.3",
    "react": "^20.0.0",
    "react-dom": "^20.0.0",
    "tailwindcss": "^4.0.6",
    "vinxi": "^0.5.3",
    "vite-tsconfig-paths": "^5.1.4"
  },
  "devDependencies": {
    "@testing-library/dom": "^10.4.0",
    "@testing-library/react": "^16.2.0",
    "@types/react": "^19.0.8",
    "@types/react-dom": "^19.0.3",
    "@vitejs/plugin-react": "^4.3.4",
    "jsdom": "^26.0.0",
    "typescript": "^5.7.2",
    "vite": "^6.1.0",
    "vitest": "^3.0.5",
    "web-vitals": "^4.2.4"
  }
}


Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './config' is not defined by "exports" in /home/harsh/projects/ttt/node_modules/@tanstack/react-start/package.json imported from /home/harsh/projects/ttt/app.config.timestamp_1749634870421.js
   
error: script "build" exited with code 1
image.png
Was this page helpful?