aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
461 stars 116 forks source link

Error while building Storybook using Next.js framework: "Custom error: standalone directory not found" #3332

Closed Danish903 closed 8 months ago

Danish903 commented 1 year ago

Before opening, please confirm:

App Id

d2feh8yh0hcec0

AWS Region

us-west-1

Amplify Hosting feature

Build settings, Deployments, Manual deploys, SSR

Describe the bug

I am trying to deploy Storybook using the Next.js framework, but I am facing an error message that says "Custom error: standalone directory not found". I've tried searching for solutions, but I 'haven't found any helpful resources yet. Any help or guidance on how to resolve this issue would be greatly appreciated. Thanks in advance.

package.json

{
  "name": "story-book",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "storybook": "start-storybook -p 6006",
    "build-storybook": "build-storybook"
  },
  "dependencies": {
    "@emotion/react": "^11.10.5",
    "@emotion/styled": "^11.10.5",
    "@next/font": "^13.1.6",
    "@types/node": "18.13.0",
    "@types/react": "18.0.27",
    "@types/react-dom": "18.0.10",
    "classnames": "^2.3.2",
    "eslint": "8.33.0",
    "eslint-config-next": "13.1.6",
    "next": "13.1.6",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "typescript": "4.9.5"
  },
  "devDependencies": {
    "@babel/core": "^7.20.12",
    "@storybook/addon-actions": "^6.5.16",
    "@storybook/addon-essentials": "^6.5.16",
    "@storybook/addon-interactions": "^6.5.16",
    "@storybook/addon-links": "^6.5.16",
    "@storybook/builder-webpack5": "^6.5.16",
    "@storybook/manager-webpack5": "^6.5.16",
    "@storybook/react": "^6.5.16",
    "@storybook/testing-library": "^0.0.13",
    "babel-loader": "^8.3.0",
    "eslint-plugin-storybook": "^0.6.10",
    "postcss": "^8.4.21",
    "storybook-addon-sass-postcss": "^0.1.3"
  }
}

Expected behavior

Storybook should be deployed successfully without any errors.

Reproduction steps

The steps I've taken so for to produce the error

Build Settings

version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build-storybook
  artifacts:
    baseDirectory: storybook-static
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Log output

``` # Put your logs below this line 2023-02-27T17:37:21.181Z [INFO]: # Starting phase: preBuild # Executing command: npm ci 2023-02-27T17:37:36.124Z [WARNING]: npm WARN 2023-02-27T17:37:36.126Z [WARNING]: deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated 2023-02-27T17:37:36.918Z [WARNING]: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated 2023-02-27T17:37:36.931Z [WARNING]: npm WARN 2023-02-27T17:37:36.931Z [WARNING]: deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs 2023-02-27T17:37:37.357Z [WARNING]: npm WARN deprecated 2023-02-27T17:37:37.358Z [WARNING]: sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added 2023-02-27T17:37:37.517Z [WARNING]: npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies 2023-02-27T17:37:37.913Z [WARNING]: npm WARN deprecated 2023-02-27T17:37:37.913Z [WARNING]: uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-02-27T17:37:38.224Z [WARNING]: npm WARN deprecated 2023-02-27T17:37:38.225Z [WARNING]: urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 2023-02-27T17:37:38.228Z [WARNING]: npm 2023-02-27T17:37:38.228Z [WARNING]: WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 2023-02-27T17:37:38.540Z [WARNING]: npm WARN 2023-02-27T17:37:38.541Z [WARNING]: deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 2023-02-27T17:37:46.897Z [INFO]: added 1896 packages, and audited 1897 packages in 26s 2023-02-27T17:37:46.899Z [INFO]: 282 packages are looking for funding run `npm fund` for details 2023-02-27T17:37:46.958Z [INFO]: 21 high severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. 2023-02-27T17:37:46.981Z [INFO]: # Completed phase: preBuild # Starting phase: build 2023-02-27T17:37:46.981Z [INFO]: # Executing command: npm run build-storybook 2023-02-27T17:37:47.230Z [INFO]: > teal-health-story-book@0.1.0 build-storybook > build-storybook 2023-02-27T17:37:47.966Z [WARNING]: info 2023-02-27T17:37:47.967Z [WARNING]: @storybook/react v6.5.16 info 2023-02-27T17:37:47.969Z [WARNING]: info 2023-02-27T17:37:47.969Z [WARNING]: => Cleaning outputDir: /codebuild/output/src793257236/src/storybook/storybook-static 2023-02-27T17:37:48.099Z [WARNING]: info 2023-02-27T17:37:48.100Z [WARNING]: => Loading presets 2023-02-27T17:37:48.474Z [INFO]: 2023-02-27T17:37:48.474Z [INFO]: attention => Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://storybook.js.org/telemetry 2023-02-27T17:37:48.486Z [WARNING]: info 2023-02-27T17:37:48.486Z [WARNING]: => Loading custom manager config 2023-02-27T17:37:48.487Z [WARNING]: info 2023-02-27T17:37:48.487Z [WARNING]: => Compiling manager.. 2023-02-27T17:37:48.488Z [WARNING]: info 2023-02-27T17:37:48.488Z [WARNING]: => Compiling preview.. 2023-02-27T17:37:48.628Z [WARNING]: info Addon-docs: using MDX1 2023-02-27T17:37:48.630Z [WARNING]: info => Using implicit CSS loaders 2023-02-27T17:37:48.638Z [WARNING]: info 2023-02-27T17:37:48.639Z [WARNING]: => Loading custom manager config 2023-02-27T17:37:48.644Z [WARNING]: info 2023-02-27T17:37:48.644Z [WARNING]: => Using default Webpack5 setup 2023-02-27T17:37:48.821Z [WARNING]: [webpack.Progress] 0% 2023-02-27T17:37:48.822Z [WARNING]: [webpack.Progress] 1% setup before run [webpack.Progress] 1% setup before run NodeEnvironmentPlugin 2023-02-27T17:37:48.823Z [WARNING]: [webpack.Progress] 1% setup before run 2023-02-27T17:37:48.823Z [WARNING]: [webpack.Progress] 2% setup run 2023-02-27T17:37:48.823Z [WARNING]: [webpack.Progress] 2% setup run 2023-02-27T17:37:48.826Z [WARNING]: [webpack.Progress] 4% setup normal module factory 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 4% setup normal module factory CaseSensitivePathsPlugin [webpack.Progress] 4% setup normal module factory 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 5% setup context module factory 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 5% setup context module factory 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 6% setup before compile [webpack.Progress] 6% setup before compile ProgressPlugin 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 6% setup before compile 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 7% setup compile 2023-02-27T17:37:48.827Z [WARNING]: [webpack.Progress] 7% setup compile ExternalsPlugin 2023-02-27T17:37:48.828Z [WARNING]: [webpack.Progress] 7% setup compile 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin 2023-02-27T17:37:48.834Z [WARNING]: [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin [webpack.Progress] 8% setup compilation WorkerPlugin 2023-02-27T17:37:48.835Z [WARNING]: [webpack.Progress] 8% setup compilation SplitChunksPlugin 2023-02-27T17:37:48.835Z [WARNING]: [webpack.Progress] 8% setup compilation RuntimeChunkPlugin 2023-02-27T17:37:48.835Z [WARNING]: [webpack.Progress] 8% setup compilation ResolverCachePlugin [webpack.Progress] 8% setup compilation HtmlWebpackPlugin 2023-02-27T17:37:48.836Z [WARNING]: [webpack.Progress] 8% setup compilation 2023-02-27T17:37:48.836Z [WARNING]: [webpack.Progress] 9% setup compilation 2023-02-27T17:37:48.836Z [WARNING]: [webpack.Progress] 9% setup compilation DefinePlugin 2023-02-27T17:37:48.839Z [WARNING]: [webpack.Progress] 9% setup compilation ProvidePlugin 2023-02-27T17:37:48.839Z [WARNING]: [webpack.Progress] 9% setup compilation ProgressPlugin 2023-02-27T17:37:48.839Z [WARNING]: [webpack.Progress] 9% setup compilation DocGenPlugin 2023-02-27T17:37:48.840Z [WARNING]: [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin 2023-02-27T17:37:48.840Z [WARNING]: [webpack.Progress] 9% setup compilation SourceMapDevToolPlugin 2023-02-27T17:37:48.840Z [WARNING]: [webpack.Progress] 9% setup compilation JavascriptModulesPlugin 2023-02-27T17:37:48.840Z [WARNING]: [webpack.Progress] 9% setup compilation JsonModulesPlugin 2023-02-27T17:37:48.840Z [WARNING]: [webpack.Progress] 9% setup compilation AssetModulesPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation EntryPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation EntryPlugin [webpack.Progress] 9% setup compilation RuntimePlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation DataUriPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation FileUriPlugin 2023-02-27T17:37:48.841Z [WARNING]: [webpack.Progress] 9% setup compilation CompatibilityPlugin 2023-02-27T17:37:48.842Z [WARNING]: [webpack.Progress] 9% setup compilation HarmonyModulesPlugin 2023-02-27T17:37:48.842Z [WARNING]: [webpack.Progress] 9% setup compilation AMDPlugin 2023-02-27T17:37:48.842Z [WARNING]: [webpack.Progress] 9% setup compilation RequireJsStuffPlugin 2023-02-27T17:37:48.842Z [WARNING]: [webpack.Progress] 9% setup compilation CommonJsPlugin 2023-02-27T17:37:48.842Z [WARNING]: [webpack.Progress] 9% setup compilation LoaderPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation LoaderPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation NodeStuffPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation APIPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin 2023-02-27T17:37:48.843Z [WARNING]: [webpack.Progress] 9% setup compilation ConstPlugin [webpack.Progress] 9% setup compilation UseStrictPlugin [webpack.Progress] 9% setup compilation RequireIncludePlugin [webpack.Progress] 9% setup compilation RequireEnsurePlugin [webpack.Progress] 9% setup compilation RequireContextPlugin 2023-02-27T17:37:48.844Z [WARNING]: [webpack.Progress] 9% setup compilation ImportPlugin [webpack.Progress] 9% setup compilation RequireContextPlugin [webpack.Progress] 9% setup compilation SystemPlugin 2023-02-27T17:37:48.844Z [WARNING]: [webpack.Progress] 9% setup compilation ImportMetaPlugin [webpack.Progress] 9% setup compilation URLPlugin 2023-02-27T17:37:48.844Z [WARNING]: [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin 2023-02-27T17:37:48.844Z [WARNING]: [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin 2023-02-27T17:37:48.844Z [WARNING]: [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin [webpack.Progress] 9% setup compilation FlagIncludedChunksPlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation FlagDependencyUsagePlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation InnerGraphPlugin 2023-02-27T17:37:48.845Z [WARNING]: [webpack.Progress] 9% setup compilation MangleExportsPlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation ModuleConcatenationPlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation NoEmitOnErrorsPlugin [webpack.Progress] 9% setup compilation RealContentHashPlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation WasmFinalizeExportsPlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation NamedModuleIdsPlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation DeterministicChunkIdsPlugin [webpack.Progress] 9% setup compilation DefinePlugin 2023-02-27T17:37:48.846Z [WARNING]: [webpack.Progress] 9% setup compilation TerserPlugin 2023-02-27T17:37:48.847Z [WARNING]: [webpack.Progress] 9% setup compilation TemplatedPathPlugin 2023-02-27T17:37:48.847Z [WARNING]: [webpack.Progress] 9% setup compilation RecordIdsPlugin 2023-02-27T17:37:48.847Z [WARNING]: [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin 2023-02-27T17:37:48.847Z [WARNING]: [webpack.Progress] 9% setup compilation IgnoreWarningsPlugin [webpack.Progress] 9% setup compilation 2023-02-27T17:37:48.848Z [WARNING]: [webpack.Progress] 10% building 2023-02-27T17:37:48.848Z [WARNING]: [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules 2023-02-27T17:37:49.047Z [WARNING]: [webpack.Progress] 10% building import loader ./node_modules/babel-loader/lib/index.js 2023-02-27T17:37:49.098Z [WARNING]: [webpack.Progress] 10% building 0/14 entries 13/32 dependencies 0/12 modules 2023-02-27T17:37:49.538Z [WARNING]: [webpack.Progress] 13% building 1/14 entries 27/62 dependencies 1/24 modules 2023-02-27T17:37:49.599Z [WARNING]: [webpack.Progress] 13% building import loader ./node_modules/@storybook/mdx1-csf/loader.js 2023-02-27T17:37:49.689Z [WARNING]: [webpack.Progress] 13% building 1/14 entries 41/80 dependencies 1/38 modules 2023-02-27T17:37:49.865Z [WARNING]: [webpack.Progress] 13% building import loader ./node_modules/@storybook/source-loader/dist/cjs/index.js 2023-02-27T17:37:50.183Z [WARNING]: [webpack.Progress] 13% building 1/14 entries 53/85 dependencies 1/50 modules 2023-02-27T17:37:50.811Z [WARNING]: [webpack.Progress] 13% building 1/14 entries 73/98 dependencies 2/60 modules 2023-02-27T17:37:51.384Z [WARNING]: [webpack.Progress] 13% building 1/14 entries 264/398 dependencies 7/136 modules 2023-02-27T17:37:51.433Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 319/424 dependencies 10/158 modules 2023-02-27T17:37:52.052Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 466/653 dependencies 17/211 modules 2023-02-27T17:37:52.673Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 592/756 dependencies 21/257 modules 2023-02-27T17:37:52.790Z [WARNING]: [webpack.Progress] 17% building import loader ./node_modules/style-loader/dist/cjs.js 2023-02-27T17:37:52.791Z [WARNING]: [webpack.Progress] 17% building import loader ./node_modules/css-loader/dist/cjs.js 2023-02-27T17:37:52.823Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 804/863 dependencies 24/315 modules 2023-02-27T17:37:53.331Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 1400/1449 dependencies 67/423 modules 2023-02-27T17:37:53.964Z [WARNING]: [webpack.Progress] 17% building import loader ./node_modules/sass-loader/dist/cjs.js 2023-02-27T17:37:53.966Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 1753/1822 dependencies 134/440 modules 2023-02-27T17:37:54.713Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 2248/2348 dependencies 230/500 modules 2023-02-27T17:37:55.422Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 2320/2400 dependencies 234/555 modules 2023-02-27T17:37:55.934Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 2621/2700 dependencies 331/628 modules 2023-02-27T17:37:56.583Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 2982/3100 dependencies 423/671 modules 2023-02-27T17:37:57.108Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 3095/3500 dependencies 459/671 modules 2023-02-27T17:37:57.624Z [WARNING]: [webpack.Progress] 17% building 2/14 entries 3921/4090 dependencies 600/844 modules 2023-02-27T17:37:58.219Z [WARNING]: [webpack.Progress] 19% building 2/14 entries 4677/4700 dependencies 888/1061 modules 2023-02-27T17:37:58.759Z [WARNING]: [webpack.Progress] 20% building 2/14 entries 5070/5100 dependencies 977/1138 modules 2023-02-27T17:37:58.788Z [WARNING]: [webpack.Progress] 21% building 3/14 entries 5112/5162 dependencies 1028/1138 modules 2023-02-27T17:37:58.788Z [WARNING]: [webpack.Progress] 25% building 4/14 entries 5112/5162 dependencies 1029/1138 modules [webpack.Progress] 29% building 5/14 entries 5112/5162 dependencies 1030/1138 modules [webpack.Progress] 33% building 6/14 entries 5112/5162 dependencies 1031/1138 modules [webpack.Progress] 37% building 7/14 entries 5112/5162 dependencies 1032/1138 modules [webpack.Progress] 41% building 8/14 entries 5112/5162 dependencies 1033/1138 modules [webpack.Progress] 45% building 9/14 entries 5112/5162 dependencies 1034/1138 modules [webpack.Progress] 49% building 10/14 entries 5112/5162 dependencies 1035/1138 modules [webpack.Progress] 53% building 11/14 entries 5112/5162 dependencies 1036/1138 modules 2023-02-27T17:37:58.902Z [WARNING]: [webpack.Progress] 57% building 12/14 entries 5249/5266 dependencies 1096/1166 modules 2023-02-27T17:37:59.861Z [WARNING]: [webpack.Progress] 61% building 13/14 entries 5353/5353 dependencies 1176/1196 modules 2023-02-27T17:37:59.872Z [WARNING]: [webpack.Progress] 65% building 14/14 entries 5361/5361 dependencies 1196/1196 modules 2023-02-27T17:37:59.872Z [WARNING]: [webpack.Progress] 65% building 2023-02-27T17:37:59.873Z [WARNING]: [webpack.Progress] 69% building finish 2023-02-27T17:37:59.873Z [WARNING]: [webpack.Progress] 69% building finish 2023-02-27T17:37:59.874Z [WARNING]: [webpack.Progress] 70% sealing finish module graph 2023-02-27T17:37:59.874Z [WARNING]: [webpack.Progress] 70% sealing finish module graph ResolverCachePlugin 2023-02-27T17:37:59.875Z [WARNING]: [webpack.Progress] 70% sealing finish module graph InferAsyncModulesPlugin 2023-02-27T17:37:59.875Z [WARNING]: [webpack.Progress] 70% sealing finish module graph FlagDependencyExportsPlugin 2023-02-27T17:37:59.925Z [WARNING]: [webpack.Progress] 70% sealing finish module graph InnerGraphPlugin 2023-02-27T17:37:59.925Z [WARNING]: [webpack.Progress] 70% sealing finish module graph WasmFinalizeExportsPlugin [webpack.Progress] 70% sealing finish module graph 2023-02-27T17:37:59.944Z [WARNING]: [webpack.Progress] 70% sealing plugins 2023-02-27T17:37:59.944Z [WARNING]: [webpack.Progress] 70% sealing plugins DocGenPlugin 2023-02-27T17:38:03.116Z [WARNING]: DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.118Z [WARNING]: DeprecationWarning: '' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createLiteral' has been deprecated since v4.0.0. Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead. DeprecationWarning: 'createBinaryExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createPropertyAssignment' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createNull' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createFalse' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createObjectLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.118Z [WARNING]: DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createTypeOfExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createElementAccessExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createIfStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.119Z [WARNING]: DeprecationWarning: 'createBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. DeprecationWarning: 'createVariableDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.119Z [WARNING]: DeprecationWarning: 'createCatchClause' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.119Z [WARNING]: DeprecationWarning: 'createTryStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.129Z [WARNING]: DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.146Z [WARNING]: DeprecationWarning: 'createArrayLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead. 2023-02-27T17:38:03.779Z [WARNING]: [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin 2023-02-27T17:38:03.782Z [WARNING]: [webpack.Progress] 70% sealing plugins 2023-02-27T17:38:03.782Z [WARNING]: [webpack.Progress] 71% sealing dependencies optimization [webpack.Progress] 71% sealing dependencies optimization SideEffectsFlagPlugin 2023-02-27T17:38:03.787Z [WARNING]: [webpack.Progress] 71% sealing dependencies optimization FlagDependencyUsagePlugin 2023-02-27T17:38:03.842Z [WARNING]: [webpack.Progress] 71% sealing dependencies optimization 2023-02-27T17:38:03.843Z [WARNING]: [webpack.Progress] 71% sealing after dependencies optimization [webpack.Progress] 71% sealing after dependencies optimization [webpack.Progress] 72% sealing chunk graph [webpack.Progress] 72% sealing chunk graph 2023-02-27T17:38:03.879Z [WARNING]: [webpack.Progress] 73% sealing after chunk graph [webpack.Progress] 73% sealing after chunk graph 2023-02-27T17:38:03.879Z [WARNING]: [webpack.Progress] 73% sealing optimizing [webpack.Progress] 73% sealing optimizing [webpack.Progress] 74% sealing module optimization [webpack.Progress] 74% sealing module optimization [webpack.Progress] 75% sealing after module optimization [webpack.Progress] 75% sealing after module optimization 2023-02-27T17:38:03.879Z [WARNING]: [webpack.Progress] 75% sealing chunk optimization [webpack.Progress] 75% sealing chunk optimization EnsureChunkConditionsPlugin 2023-02-27T17:38:03.879Z [WARNING]: [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin 2023-02-27T17:38:03.879Z [WARNING]: [webpack.Progress] 75% sealing chunk optimization MergeDuplicateChunksPlugin [webpack.Progress] 75% sealing chunk optimization SplitChunksPlugin 2023-02-27T17:38:03.900Z [WARNING]: [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin 2023-02-27T17:38:03.900Z [WARNING]: [webpack.Progress] 75% sealing chunk optimization [webpack.Progress] 76% sealing after chunk optimization [webpack.Progress] 76% sealing after chunk optimization [webpack.Progress] 77% sealing module and chunk tree optimization 2023-02-27T17:38:03.901Z [WARNING]: [webpack.Progress] 77% sealing module and chunk tree optimization PersistentChildCompilerSingletonPlugin [webpack.Progress] 77% sealing module and chunk tree optimization 2023-02-27T17:38:03.901Z [WARNING]: [webpack.Progress] 77% sealing after module and chunk tree optimization [webpack.Progress] 77% sealing after module and chunk tree optimization 2023-02-27T17:38:03.901Z [WARNING]: [webpack.Progress] 78% sealing chunk modules optimization [webpack.Progress] 78% sealing chunk modules optimization ModuleConcatenationPlugin 2023-02-27T17:38:03.959Z [WARNING]: [webpack.Progress] 78% sealing chunk modules optimization 2023-02-27T17:38:03.959Z [WARNING]: [webpack.Progress] 78% sealing after chunk modules optimization [webpack.Progress] 78% sealing after chunk modules optimization [webpack.Progress] 79% sealing module reviving [webpack.Progress] 79% sealing module reviving RecordIdsPlugin [webpack.Progress] 79% sealing module reviving [webpack.Progress] 80% sealing before module ids [webpack.Progress] 80% sealing before module ids [webpack.Progress] 80% sealing module ids 2023-02-27T17:38:03.959Z [WARNING]: [webpack.Progress] 80% sealing module ids NamedModuleIdsPlugin 2023-02-27T17:38:03.966Z [WARNING]: [webpack.Progress] 80% sealing module ids 2023-02-27T17:38:03.966Z [WARNING]: [webpack.Progress] 81% sealing module id optimization [webpack.Progress] 81% sealing module id optimization [webpack.Progress] 82% sealing module id optimization [webpack.Progress] 82% sealing module id optimization [webpack.Progress] 82% sealing chunk reviving [webpack.Progress] 82% sealing chunk reviving RecordIdsPlugin [webpack.Progress] 82% sealing chunk reviving [webpack.Progress] 83% sealing before chunk ids [webpack.Progress] 83% sealing before chunk ids 2023-02-27T17:38:03.966Z [WARNING]: [webpack.Progress] 84% sealing chunk ids [webpack.Progress] 84% sealing chunk ids DeterministicChunkIdsPlugin 2023-02-27T17:38:03.975Z [WARNING]: [webpack.Progress] 84% sealing chunk ids 2023-02-27T17:38:03.975Z [WARNING]: [webpack.Progress] 84% sealing chunk id optimization [webpack.Progress] 84% sealing chunk id optimization FlagIncludedChunksPlugin 2023-02-27T17:38:03.977Z [WARNING]: [webpack.Progress] 84% sealing chunk id optimization 2023-02-27T17:38:03.978Z [WARNING]: [webpack.Progress] 85% sealing after chunk id optimization [webpack.Progress] 85% sealing after chunk id optimization [webpack.Progress] 86% sealing record modules 2023-02-27T17:38:03.978Z [WARNING]: [webpack.Progress] 86% sealing record modules RecordIdsPlugin 2023-02-27T17:38:03.978Z [WARNING]: [webpack.Progress] 86% sealing record modules 2023-02-27T17:38:03.978Z [WARNING]: [webpack.Progress] 86% sealing record chunks [webpack.Progress] 86% sealing record chunks RecordIdsPlugin 2023-02-27T17:38:03.979Z [WARNING]: [webpack.Progress] 86% sealing record chunks 2023-02-27T17:38:04.004Z [WARNING]: [webpack.Progress] 87% sealing module hashing 2023-02-27T17:38:04.004Z [WARNING]: [webpack.Progress] 87% sealing module hashing 2023-02-27T17:38:04.075Z [WARNING]: [webpack.Progress] 87% sealing code generation 2023-02-27T17:38:04.075Z [WARNING]: [webpack.Progress] 87% sealing code generation 2023-02-27T17:38:04.612Z [WARNING]: [webpack.Progress] 88% sealing runtime requirements [webpack.Progress] 88% sealing runtime requirements 2023-02-27T17:38:04.618Z [WARNING]: [webpack.Progress] 89% sealing hashing [webpack.Progress] 89% sealing hashing 2023-02-27T17:38:04.621Z [WARNING]: [webpack.Progress] 89% sealing after hashing 2023-02-27T17:38:04.622Z [WARNING]: [webpack.Progress] 89% sealing after hashing 2023-02-27T17:38:04.622Z [WARNING]: [webpack.Progress] 90% sealing record hash 2023-02-27T17:38:04.622Z [WARNING]: [webpack.Progress] 90% sealing record hash [webpack.Progress] 91% sealing module assets processing [webpack.Progress] 91% sealing module assets processing 2023-02-27T17:38:04.623Z [WARNING]: [webpack.Progress] 91% sealing chunk assets processing 2023-02-27T17:38:04.623Z [WARNING]: [webpack.Progress] 91% sealing chunk assets processing 2023-02-27T17:38:04.633Z [WARNING]: [webpack.Progress] 92% sealing asset processing 2023-02-27T17:38:04.633Z [WARNING]: [webpack.Progress] 92% sealing asset processing PersistentChildCompilerSingletonPlugin [webpack.Progress] 92% sealing asset processing TerserPlugin 2023-02-27T17:38:26.429Z [WARNING]: info => Manager built (38 s) 2023-02-27T17:38:29.100Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 2023-02-27T17:38:29.101Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 2023-02-27T17:38:29.101Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.6cb9fdee.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.122Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.6cb9fdee.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.122Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.5e789088.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.123Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.5e789088.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.123Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.48654dba.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.123Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.48654dba.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.124Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.5aa115ca.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.5aa115ca.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.1c0ff087.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.133Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.1c0ff087.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.133Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.60506255.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.152Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.60506255.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.152Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.cadbd977.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.152Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.cadbd977.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.152Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.4a2302e8.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.158Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.4a2302e8.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.158Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.60dc577e.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.165Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.60dc577e.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.165Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.c8b28d2f.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.167Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.c8b28d2f.iframe.bundle.js generated SourceMap 2023-02-27T17:38:29.167Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 24.ee494b9c.iframe.bundle.js generate SourceMap 2023-02-27T17:38:29.282Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 24.ee494b9c.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources 2023-02-27T17:38:29.282Z [WARNING]: [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin 2023-02-27T17:38:29.290Z [WARNING]: [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin 2023-02-27T17:38:29.291Z [WARNING]: [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin resolve sources [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 2023-02-27T17:38:30.123Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 2023-02-27T17:38:30.125Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.6f7e76c0.iframe.bundle.js generate SourceMap 2023-02-27T17:38:30.129Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.6f7e76c0.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.c8ad6ab0.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.c8ad6ab0.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.f47ac8f0.iframe.bundle.js generate SourceMap 2023-02-27T17:38:30.130Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.f47ac8f0.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 745.f31b0e03.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 745.f31b0e03.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 551.6070597d.iframe.bundle.js generate SourceMap 2023-02-27T17:38:30.130Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 551.6070597d.iframe.bundle.js generated SourceMap 2023-02-27T17:38:30.130Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 229.8805af81.iframe.bundle.js generate SourceMap 2023-02-27T17:38:30.132Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 229.8805af81.iframe.bundle.js generated SourceMap 2023-02-27T17:38:30.132Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.3ea601b6.iframe.bundle.js generate SourceMap 2023-02-27T17:38:30.134Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.3ea601b6.iframe.bundle.js generated SourceMap 2023-02-27T17:38:30.134Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.2f0be9bc.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.2f0be9bc.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.74b06768.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.74b06768.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.5f252a94.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.5f252a94.iframe.bundle.js generated SourceMap 2023-02-27T17:38:30.134Z [WARNING]: [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 24.1172ccc4.iframe.bundle.js generate SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 24.1172ccc4.iframe.bundle.js generated SourceMap [webpack.Progress] 92% sealing asset processing RealContentHashPlugin resolve sources [webpack.Progress] 92% sealing asset processing RealContentHashPlugin [webpack.Progress] 92% sealing asset processing 2023-02-27T17:38:30.134Z [WARNING]: [webpack.Progress] 93% sealing after asset optimization [webpack.Progress] 93% sealing after asset optimization 2023-02-27T17:38:30.138Z [WARNING]: [webpack.Progress] 93% sealing recording [webpack.Progress] 93% sealing recording 2023-02-27T17:38:30.138Z [WARNING]: [webpack.Progress] 94% sealing after seal [webpack.Progress] 94% sealing after seal 2023-02-27T17:38:30.139Z [WARNING]: [webpack.Progress] 95% emitting emit 2023-02-27T17:38:30.139Z [WARNING]: [webpack.Progress] 95% emitting emit 2023-02-27T17:38:30.159Z [WARNING]: [webpack.Progress] 98% emitting after emit 2023-02-27T17:38:30.159Z [WARNING]: [webpack.Progress] 98% emitting after emit SizeLimitsPlugin 2023-02-27T17:38:30.160Z [WARNING]: [webpack.Progress] 98% emitting after emit 2023-02-27T17:38:30.160Z [WARNING]: [webpack.Progress] 99% done plugins [webpack.Progress] 99% done plugins CaseSensitivePathsPlugin [webpack.Progress] 99% done plugins [webpack.Progress] 99% [webpack.Progress] 99% cache store build dependencies [webpack.Progress] 99% cache store build dependencies [webpack.Progress] 99% cache begin idle [webpack.Progress] 99% cache begin idle [webpack.Progress] 100% 2023-02-27T17:38:30.160Z [WARNING]: info => Preview built (42 s) 2023-02-27T17:38:30.565Z [WARNING]: WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). WARN This can impact web performance. WARN Assets: WARN static/media/BestPractices.923c3f68.png (329 KiB) WARN 2023-02-27T17:38:30.566Z [WARNING]: static/media/image2.83422e32.png (787 KiB) WARN static/media/image3.b9d6ef31.png (618 KiB) WARN static/media/image4.04cc9a75.png (525 KiB) WARN static/media/image5.322958e6.png (508 KiB) WARN static/media/image6.dd995ae8.png (468 KiB) WARN 807.74b06768.iframe.bundle.js (794 KiB) WARN 24.1172ccc4.iframe.bundle.js (2.37 MiB) WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. WARN Entrypoints: WARN main (2.56 MiB) WARN runtime~main.c8ad6ab0.iframe.bundle.js WARN 24.1172ccc4.iframe.bundle.js WARN main.6f7e76c0.iframe.bundle.js WARN 2023-02-27T17:38:30.566Z [WARNING]: [webpack.Progress] 99% cache shutdown [webpack.Progress] 99% cache shutdown 2023-02-27T17:38:30.566Z [WARNING]: [webpack.Progress] 100% 2023-02-27T17:38:30.567Z [WARNING]: info => Output directory: /codebuild/output/src793257236/src/storybook/storybook-static 2023-02-27T17:38:30.641Z [INFO]: # Completed phase: build 2023-02-27T17:38:30.643Z [INFO]: ## Build completed successfully 2023-02-27T17:38:30.643Z [INFO]: # Starting caching... 2023-02-27T17:38:30.653Z [INFO]: # Creating cache artifact... 2023-02-27T17:38:41.898Z [INFO]: # Created cache artifact 2023-02-27T17:38:42.038Z [INFO]: # Uploading cache artifact... 2023-02-27T17:38:47.088Z [INFO]: # Uploaded cache artifact 2023-02-27T17:38:47.167Z [INFO]: # Caching completed 2023-02-27T17:38:47.170Z [INFO]: Setting NEXT_PRIVATE_STANDALONE=true to produce .next/standalone directory 2023-02-27T17:38:47.174Z [INFO]: # No custom headers found. 2023-02-27T17:38:47.177Z [ERROR]: !!! CustomerError: Standalone directory not found in /codebuild/output/src793257236/src/storybook/storybook-static/standalone. Please enable output standalone on your next.config.js file or set NEXT_PRIVATE_STANDALONE=true. https://nextjs.org/docs/advanced-features/output-file-tracing#automatically-copying-traced-files 2023-02-27T17:38:47.177Z [INFO]: # Starting environment caching... 2023-02-27T17:38:47.177Z [INFO]: # Environment caching completed Terminating logging... ```

Additional information

No response

ghost commented 1 year ago

Hi @Danish903 πŸ‘‹πŸ½ thanks for raising this issue. Can you provide a snippet of your next-config.js file? Specifically, do you have a custom build directory defined using distDir? If so, try removing it and redeploying your application.

Danish903 commented 1 year ago

@hloriana, I am trying to deploy the files that's generated by storybook under 'storybook-static' folder. I've not created any custom build directory. Below is the snipped of the next-config.js file.

/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    appDir: false,

  },
};

module.exports = nextConfig;
ghost commented 1 year ago

@Danish903 thanks for sharing your next-config.js file. I reproduced the behavior and we're currently investigating a resolution for this. Will update this issue with next steps shortly.

Jay2113 commented 8 months ago

@Danish903 πŸ‘‹ , over the past several months we have made significant improvements to how we bundle Next.js apps and we no longer rely on the standalone mode. As a result, this issue should no longer occur. Additionally, you can refer to this documentation to inspect your build output: https://docs.aws.amazon.com/amplify/latest/userguide/troubleshooting-ssr-deployment.html#build-output-too-large

github-actions[bot] commented 8 months ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.

github-actions[bot] commented 8 months ago

This issue has been automatically locked.