oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.46k stars 2.71k forks source link

$$21d2adb2.hasBasePath is not a function #908

Closed CJHydraGenZ closed 2 years ago

CJHydraGenZ commented 2 years ago

Version

0.1.5

Platform

Linux DESKTOP-T8MROID 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux

Error Page

error when accessing https://localhost:3000: image

$$21d2adb2.hasBasePath is not a function In bun-framework-next/client.development.tsx – node_modules.bun:3001:20

        var currentTransition = ReactCurrentBatchConfig.transition;
        ReactCurrentBatchConfig.transition._updatedFibers = new Set;
        try {
          scope();
        } finally {
        /*         ^ happend here */
          ReactCurrentBatchConfig.transition = prevTransition;
          if (prevTransition === null && currentTransition._updatedFibers) {
            var updatedFibersCount = currentTransition._updatedFibers.size;

Stack trace:


  `bun-framework-next/client.development.tsx` node_modules.bun:3001:20
  `c`                                         node_modules.bun:7:6560
  λ()                                         node_modules/bun-framework-next/fallback.development.tsx:33:18

Info:

bun v0.1.5 framework: bun-framework-next@12.1.5 wsl #1 SMP Wed Mar 2 00:30:59 UTC 2022 (x64) User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36 Pathname: /

📦package.json ``` { "name": "komik", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint", "clean": "rm -rf dist out node_modules" }, "dependencies": { "axios": "^0.27.2", "cheerio": "^1.0.0-rc.12", "cloudflare-bypasser": "^0.0.3", "cors": "^2.8.5", "flowbite": "^1.4.7", "flowbite-react": "^0.1.3", "next": "^12.2.2", "nextjs-cors": "^2.1.1", "node-fetch": "^2.6.7", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "^4.4.0", "react-is": "^18.2.0", "swr": "^1.3.0", "tailwindcss": "^3.1.6", "tough-cookie": "^4.0.0" }, "devDependencies": { "@tailwindcss/aspect-ratio": "^0.4.0", "autoprefixer": "^10.4.7", "bun-framework-next": "^12.1.5", "eslint": "8.19.0", "eslint-config-next": "12.2.0", "postcss": "^8.4.14", "react-refresh": "latest" } } ```
TiKevin83 commented 2 years ago

duplicate of #473