{"id":18788136,"url":"https://github.com/thdk/repro-storybook-15336","last_synced_at":"2025-12-24T17:30:14.020Z","repository":{"id":69906173,"uuid":"430313825","full_name":"thdk/repro-storybook-15336","owner":"thdk","description":"reproduction of issue https://github.com/storybookjs/storybook/issues/15336","archived":false,"fork":false,"pushed_at":"2021-11-21T08:51:52.000Z","size":368,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T13:48:29.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-21T08:38:14.000Z","updated_at":"2021-11-21T08:51:55.000Z","dependencies_parsed_at":"2023-05-01T14:16:51.449Z","dependency_job_id":null,"html_url":"https://github.com/thdk/repro-storybook-15336","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Frepro-storybook-15336","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Frepro-storybook-15336/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Frepro-storybook-15336/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Frepro-storybook-15336/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thdk","download_url":"https://codeload.github.com/thdk/repro-storybook-15336/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239708991,"owners_count":19684165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:57:37.569Z","updated_at":"2025-12-24T17:30:13.976Z","avatar_url":"https://github.com/thdk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reproduction of issue https://github.com/storybookjs/storybook/issues/15336\n\n## project setup\n\nnode 16 with npm workspaces\n\n```\nroot\n -- package.json\n -- packages\n       storybook\n       -- package.json\n```\n\n## steps to reproduce\n```shell\n npm i\n npm run build-storybook --workspaces   \n```\n\nconsole output\n```\n➜  storybook-workspaces git:(main) npm run build-storybook -w storybook\n\n\u003e storybook@0.1.0 build-storybook\n\u003e build-storybook -s public\n\ninfo @storybook/react v6.3.12\ninfo \ninfo =\u003e Cleaning outputDir: /home/thdk/repos/storybook-workspaces/packages/storybook/storybook-static\ninfo =\u003e Copying static files: ./public =\u003e ./\ninfo =\u003e Loading presets\ninfo =\u003e Compiling preview..\ninfo =\u003e Loading Webpack configuration from `../../node_modules/react-scripts`\ninfo =\u003e Removing existing JavaScript and TypeScript rules.\ninfo =\u003e Modifying Create React App rules.\ninfo =\u003e Using default Webpack5 setup\n9% setup compilation DocGenPlugin(node:15160) [DEP0148] DeprecationWarning: Use of deprecated folder mapping \"./\" in the \"exports\" field module resolution of the package at /home/thdk/repos/storybook-workspaces/node_modules/postcss-safe-parser/node_modules/postcss/package.json.\nUpdate this package.json to use a subpath pattern like \"./*\".\n(Use `node --trace-deprecation ...` to show where the warning was created)\n(node:15160) [DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST] DeprecationWarning: MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)\n(node:15160) [DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST] DeprecationWarning: ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)\n(node:15160) [DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK] DeprecationWarning: MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)\nnode:internal/modules/cjs/loader:933\n  const err = new Error(message);\n              ^\n\nError: Cannot find module 'webpack/lib/util/makeSerializable.js'\nRequire stack:\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/dependency.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/plugin.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/index.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/dist/cjs/server/framework-preset-react-docgen.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/core-common/dist/cjs/presets.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/core-common/dist/cjs/index.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/node_modules/@storybook/core-server/dist/cjs/index.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/dist/cjs/server.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/server.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/dist/cjs/server/build.js\n- /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/bin/build.js\n    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)\n    at Function.Module._load (node:internal/modules/cjs/loader:778:27)\n    at Module.require (node:internal/modules/cjs/loader:1005:19)\n    at require (node:internal/modules/cjs/helpers:102:18)\n    at Object.\u003canonymous\u003e (/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/dependency.js:6:55)\n    at Module._compile (node:internal/modules/cjs/loader:1101:14)\n    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\n    at Module.load (node:internal/modules/cjs/loader:981:32)\n    at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n    at Module.require (node:internal/modules/cjs/loader:1005:19)\n    at require (node:internal/modules/cjs/helpers:102:18)\n    at /home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/plugin.js:108:42\n    at Hook.eval [as call] (eval at create (/home/thdk/repos/storybook-workspaces/packages/storybook/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:19:10), \u003canonymous\u003e:305:1)\n    at Hook.CALL_DELEGATE [as _call] (/home/thdk/repos/storybook-workspaces/packages/storybook/node_modules/webpack/node_modules/tapable/lib/Hook.js:14:14)\n    at Compiler.newCompilation (/home/thdk/repos/storybook-workspaces/packages/storybook/node_modules/webpack/lib/Compiler.js:1055:26)\n    at /home/thdk/repos/storybook-workspaces/packages/storybook/node_modules/webpack/lib/Compiler.js:1099:29 {\n  code: 'MODULE_NOT_FOUND',\n  requireStack: [\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/dependency.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/plugin.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react-docgen-typescript-plugin/dist/index.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/dist/cjs/server/framework-preset-react-docgen.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/core-common/dist/cjs/presets.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/core-common/dist/cjs/index.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/node_modules/@storybook/core-server/dist/cjs/index.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/dist/cjs/server.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/core/server.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/dist/cjs/server/build.js',\n    '/home/thdk/repos/storybook-workspaces/node_modules/@storybook/react/bin/build.js'\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdk%2Frepro-storybook-15336","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthdk%2Frepro-storybook-15336","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdk%2Frepro-storybook-15336/lists"}