DeprecationWarning: The `punycode` module is deprecated.

Created on 18 July 2024, 5 months ago

Problem/Motivation

After running npm run build, I see a warnings like:

info => Cleaning outputDir: /web/themes/contrib/civictheme/storybook-static
(node:58284) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:58284) DeprecationWarning: --static-dir CLI flag is deprecated, see:

https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated---static-dir-cli-flag

and

info => Using default Webpack4 setup
(node:58284) DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss',
you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.

See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details.

Steps to reproduce

  1. Install 10.3.1
  2. Apply required core patch and clear cache
  3. Enable required modules
  4. Install CT and put as default theme
  5. Go to theme directory and run npm run build
  6. See the warnings

Proposed resolution

TBD

Remaining tasks

  1. Determine fix
  2. Update code
  3. Test
  4. Commit

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024