Repository: storybook
Issue: [Bug]: Unable to resolve @storybook/builder-vite  'get-intrinsic' package 
Labels: bug,needs triage

### Describe the bug

### Error Log

``` 
Sourcemap for "/virtual:/@storybook/builder-vite/setup-addons.js" points to missing source files
✘ [ERROR] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]

    ../../../../node_modules/side-channel/index.js:3:27:
      3 │ var GetIntrinsic = require('get-intrinsic');
        ╵                            ~~~~~~~~~~~~~~~

Sourcemap for "/virtual:/@storybook/builder-vite/vite-app.js" points to missing source files
✘ [ERROR] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]

    ../../../../node_modules/call-bind/callBound.js:3:27:
      3 │ var GetIntrinsic = require('get-intrinsic');
        ╵                            ~~~~~~~~~~~~~~~

✘ [ERROR] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]

    ../../../../node_modules/call-bind/index.js:4:27:
      4 │ var GetIntrinsic = require('get-intrinsic');
        ╵                            ~~~~~~~~~~~~~~~

Unhandled promise rejection: Error: Build failed with 3 errors:
../../../../node_modules/call-bind/callBound.js:3:27: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json.
../../../../node_modules/call-bind/index.js:4:27: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json.
../../../../node_modules/side-channel/index.js:3:27: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "get-intrinsic". The package may have incorrect main/module/exports specified in its package.json.
    at failureErrorWithLog (C:\Users\SUMIT SAHNI\OneDrive\Desktop\Big_Error\ec-ui-library\node_modules\.pnpm\esbuild@0.21.5\node_modules\esbuild\lib\main.js:1472:15)      
    at C:\Users\SUMIT SAHNI\OneDrive\Desktop\Big_Error\ec-ui-library\node_modules\.pnpm\esbuild@0.21.5\node_modules\esbuild\lib\main.js:945:25
    at C:\Users\SUMIT SAHNI\OneDrive\Desktop\Big_Error\ec-ui-library\node_modules\.pnpm\esbuild@0.21.5\node_modules\esbuild\lib\main.js:1353:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: [Getter/Setter],
  warnings: [Getter/Setter]
}
```

### Reproduction link

https://github.com/Engineers-Cradle/ec-ui-library

### Reproduction steps

1. clone the repository
2. install dependencies using pnpm i
3. run storybook in development mode using pnpm run storybook 

### System

```bash
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.10.0 - ~\AppData\Local\pnpm\pnpm.EXE <----- active
  Browsers:
    Edge: Chromium (127.0.2651.74)
  npmPackages:
    @storybook/addon-essentials: ^8.2.9 => 8.2.9
    @storybook/addon-interactions: ^8.2.9 => 8.2.9
    @storybook/addon-links: ^8.2.9 => 8.2.9
    @storybook/addon-onboarding: ^8.2.9 => 8.2.9
    @storybook/blocks: ^8.2.9 => 8.2.9
    @storybook/react: ^8.2.9 => 8.2.9
    @storybook/react-vite: ^8.2.9 => 8.2.9
    @storybook/test: ^8.2.9 => 8.2.9
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.2.9 => 8.2.9
```


### Additional context

_No response_