wallabyjs / console-ninja

Repository for Console Ninja questions and issues
https://console-ninja.com
Other
384 stars 21 forks source link

[Bug]: Storybook needs approx. 3 minutes to start #272

Closed valentinpalkovic closed 8 months ago

valentinpalkovic commented 8 months ago

What happened?

I found out that Console Ninja in its latest version somehow affects Storybook's startup time by a lot. Normally the manager starts up in approx. 500ms. Now it takes almost 3 minutes for Storybook to start.

Debugging showed me, that

Version

1.0.288 (1.0.287 is not affected)

Steps to reproduce (or sample repo)

  1. Clone https://github.com/storybookjs/sandboxes
  2. cd nextjs/default-ts/after-storybook
  3. npm install
  4. npm run storybook -> Storybook takes 3 minutes to start (normally it takes like 500ms)

Log output

5:22:11.805 info host ------------ starting ------------
15:22:11.814 info extension host process output: port:[49994]
15:22:11.814 info extension 
15:22:11.825 info host client connected: extension { address: '::', family: 'IPv6', port: 49994 }
15:22:11.902 info host worker Starting Host Worker...
15:22:12.182 info host starting host: {"extensionFolder":"/Users/valentinpalkovic/.vscode/extensions/wallabyjs.console-ninja-1.0.288","runtimeHookFile":"/Users/valentinpalkovic/.vscode/extensions/wallabyjs.console-ninja-1.0.288/out/runtimeHook/tracer.js","globalErrorHandlerFile":"/Users/valentinpalkovic/.vscode/extensions/wallabyjs.console-ninja-1.0.288/out/runtimeHook/errorHandler.js","filesToInstrument":[{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-yarn/default-ts/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-yarn/default-ts/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite-yarn/default-ts/before-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-pnpm/default-ts/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite-yarn/default-ts/after-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-yarn/default-ts/after-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-pnpm/default-ts/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli-yarn/default-ts/before-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-webpack/default/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/html-webpack/default/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/before-storybook/server.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/before-storybook/server.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite-yarn/default-ts/before-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/after-storybook/server.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/15-ts/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/server.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/15-ts/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/prerelease/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/src/index.js","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/src/index.js","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite-yarn/default-ts/after-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/15-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/src/index.tsx","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular-cli/15-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/qwik-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/prerelease/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/prerelease/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-ts/after-storybook/src/index.tsx","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/cra/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/qwik-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/13-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/13-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-webpack/17-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-webpack/17-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-webpack/18-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-webpack/18-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/ember/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/ember/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/ember/3-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite-yarn/default-ts/before-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite-yarn/default-ts/after-storybook/.yarn/releases/yarn-3.6.1.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/ember/3-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/react-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue-cli/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue-cli/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular/latest/before-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular/latest/after-storybook/src/main.ts","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue3-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular/latest/before-storybook/.yarn/releases/yarn-1.23.0-20220130.1630.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/angular/latest/after-storybook/.yarn/releases/yarn-1.23.0-20220130.1630.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/server-webpack5/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/react18-webpack-babel/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/server-webpack5/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/react16-webpack/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/react18-webpack-babel/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/internal/react16-webpack/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue2-vite/2.7-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/vue2-vite/2.7-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/solid-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/solid-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/solid-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/solid-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/lit-vite/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-webpack5/default-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/skeleton-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-webpack5/default-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-webpack5/default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/skeleton-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/skeleton-js/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/skeleton-js/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/prerelease-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/svelte-kit/prerelease-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/preact-webpack5/default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-webpack-18-ts-test-build/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-webpack-18-ts-test-build/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-webpack-18-ts/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts-test-build/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-webpack-18-ts/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts-test-build/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts-nodocs/before-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/bench/react-vite-default-ts-nodocs/after-storybook/.yarn/releases/yarn-classic.cjs","reason":"search"},{"path":"/users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/node_modules/esbuild/lib/main.js","autoLogPoints":[{"range":{"startLine":2376,"endLine":2376,"startColumn":0,"endColumn":0}}],"reason":"autoLogPoints"}],"debug":false,"config":{"dateTimeFormat":"HH:mm:ss.SSS","dateTimeDisplayMode":"Absolute","installBinToPath":true,"openLinksInEditor":true,"maxLogViewerEntries":15000,"fontSize":10,"outputMode":"Beside File","captureFunctions":false,"searchUrl":"https://www.google.com/search?q={query}","enableProFeatures":true,"toolsToAutoPatch":["vite","angular","jest","webpack","next.js","nest.js","cypress","http-server","serve","live-server","nuxt","remix","qwik","hydrogen","serverless","astro"],"showErrors":true,"showLogsOnlyFromOpenedFiles":false,"showLogsFromLogPointsOnly":false,"showLogsFromMultipleRunningToolsTogether":false,"predictiveLoggingEnabled":true,"allowConsoleLogToTriggerPredictions":false},"allowedHosts":["localhost","127.0.0.1","example.cypress.io","MBPvonValentin.fritz.box","192.168.178.22"],"host":"127.0.0.1"}
15:22:12.190 info host starting tools discovery and integration
15:22:12.191 info host updating /Users/valentinpalkovic/.console-ninja/.bin/loader.js
15:22:12.193 info host looking for tools to patch
15:22:13.449 info host found 57 tool file(s) to patch
15:22:13.450 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/vite/bin/vite.js
15:22:13.450 info host patching /users/valentinpalkovic/projects/sandboxes/react-vite/default-js/after-storybook/node_modules/vite/bin/vite.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/react-vite/default-ts/before-storybook/node_modules/vite/bin/vite.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/@angular/cli/bin/ng.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/@angular/cli/bin/ng.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/@angular-devkit/build-angular/src/tools/esbuild/javascript-transformer-worker.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/@angular-devkit/build-angular/src/tools/esbuild/angular/compilation/parallel-worker.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/node_modules/jest/bin/jest.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/node_modules/jest-runner/build/testWorker.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/jest/bin/jest.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/jest-runner/build/testWorker.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/node_modules/jest/bin/jest.js
15:22:13.451 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/node_modules/jest-runner/build/testWorker.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/node_modules/next/dist/compiled/webpack/bundle5.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/before-storybook/node_modules/next/dist/compiled/webpack/bundle5.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-js/after-storybook/node_modules/next/dist/compiled/webpack/bundle5.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/before-storybook/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
15:22:13.452 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-js/after-storybook/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/default-ts/after-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/after-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-ts/before-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/node_modules/webpack/lib/index.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook/node_modules/webpack/lib/webpack.js
15:22:13.462 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/before-storybook/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/before-storybook/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-js/after-storybook/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/nextjs/default-js/after-storybook/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/react-webpack/17-ts/before-storybook/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/react-webpack/17-ts/before-storybook/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/react-webpack/18-ts/before-storybook/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/react-webpack/18-ts/before-storybook/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/css-loader/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/css-loader/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/fork-ts-checker-webpack-plugin/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/fork-ts-checker-webpack-plugin/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/html-webpack-plugin/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/html-webpack-plugin/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/react-scripts/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/react-scripts/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/style-loader/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/style-loader/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/terser-webpack-plugin/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/terser-webpack-plugin/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/@storybook/angular/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/@storybook/angular/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/@storybook/builder-webpack5/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/angular-cli/14-ts/after-storybook/node_modules/@storybook/builder-webpack5/node_modules/webpack/lib/webpack.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/webpack/lib/index.js
15:22:13.463 info host patching /users/valentinpalkovic/projects/sandboxes/cra/default-js/before-storybook/node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/webpack/lib/webpack.js
15:22:13.545 info host completed tools discovery and integration
15:22:14.615 info buildHook-20694 installing build hook for webpack at /users/valentinpalkovic/projects/sandboxes/nextjs/default-ts/after-storybook, node v16.20.0
15:22:14.624 info buildHook-20694 allowed tools: vite, angular, jest, webpack, next.js, nest.js, cypress, http-server, serve, live-server, nuxt, remix, qwik, hydrogen, serverless, astro, node
15:22:15.295 info host client connected: buildHook { address: '::', family: 'IPv6', port: 49994 }
15:22:14.624 info buildHook-20694 running tools: webpack
15:23:11.812 info host removing cache folder: e650a472cc4b5f6101e8ecb77802f06a
15:25:58.538 info host client disconnected: buildHook 1006
15:25:58.538 info host client disconnected: buildHook 1006, has clients false
smcenlly commented 8 months ago

Thanks for raising the issue; we've been able to reproduce the problem by following your instructions.

While we investigate the cause, you may pause Console Ninja on your project when you start storybook as a short term workaround.

smcenlly commented 8 months ago

We have found the cause of your problem and fixed it in the latest version of Console Ninja, v1.0.289.

Console Ninja was attempting to process .yarn folder dependencies, and this resulted in a slow startup time for this sample project. Console Ninja now ignores files in the .yarn folder.