storybook-addon-html icon indicating copy to clipboard operation
storybook-addon-html copied to clipboard

Emits warnings since Storybook 6.3.0

Open Bilge opened this issue 3 years ago • 5 comments

Although it seemed fine in Storybook 6.2, upgrading to 6.3 seems to cause warnings emitted by this addon. However, the addon still seems to work anyway.

WARNING in ./node_modules/@whitespace/storybook-addon-html/node_modules/prettier/parser-typescript.js 1:282410-282420
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/@whitespace/storybook-addon-html/node_modules/prettier/standalone.js
 @ ./node_modules/@whitespace/storybook-addon-html/out/Panel.js
 @ ./node_modules/@whitespace/storybook-addon-html/out/register.js
 @ multi ./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js ./node_modules/@storybook/core-client/dist/esm/manager/index.js ./node_modules/@storybook/addon-links/dist/esm/register.js ./node_modules/@storybook/addon-docs/
dist/esm/register.js ./node_modules/@storybook/addon-controls/dist/esm/register.js ./node_modules/@storybook/addon-actions/dist/esm/register.js ./node_modules/@storybook/addon-backgrounds/dist/esm/register.js ./node_modules/@storybook/ad
don-viewport/dist/esm/register.js ./node_modules/@storybook/addon-toolbars/dist/esm/register.js ./node_modules/@storybook/addon-measure/dist/esm/preset/manager.js ./node_modules/storybook-addon-outline/dist/esm/preset/register.js ./node_
modules/@whitespace/storybook-addon-html/out/register.js

WARNING in ./node_modules/@whitespace/storybook-addon-html/node_modules/prettier/parser-typescript.js 1:369422-369432
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/@whitespace/storybook-addon-html/node_modules/prettier/standalone.js
 @ ./node_modules/@whitespace/storybook-addon-html/out/Panel.js
 @ ./node_modules/@whitespace/storybook-addon-html/out/register.js
 @ multi ./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js ./node_modules/@storybook/core-client/dist/esm/manager/index.js ./node_modules/@storybook/addon-links/dist/esm/register.js ./node_modules/@storybook/addon-docs/
dist/esm/register.js ./node_modules/@storybook/addon-controls/dist/esm/register.js ./node_modules/@storybook/addon-actions/dist/esm/register.js ./node_modules/@storybook/addon-backgrounds/dist/esm/register.js ./node_modules/@storybook/ad
don-viewport/dist/esm/register.js ./node_modules/@storybook/addon-toolbars/dist/esm/register.js ./node_modules/@storybook/addon-measure/dist/esm/preset/manager.js ./node_modules/storybook-addon-outline/dist/esm/preset/register.js ./node_
modules/@whitespace/storybook-addon-html/out/register.js

Bilge avatar Jun 24 '21 11:06 Bilge

Same here.

gael-boyenval avatar Sep 02 '21 07:09 gael-boyenval

Hi @Bilge! Were you able to resolve this?

jeanfredrik avatar Sep 27 '22 08:09 jeanfredrik

No, I'm not a maintainer. How would I resolve it?

Bilge avatar Sep 27 '22 08:09 Bilge

If you found a workaround or stopped using the addon, I mean. I know it's been a long time since you posted it. Sorry about that. So it's still an issue then I assume. I will have a look at it.

jeanfredrik avatar Sep 27 '22 08:09 jeanfredrik

Oh. Well I just stopped using Storybook altogether, but not so much due to this issue, but rather due to storybookjs/storybook#16016 (which nobody seems to care about).

Bilge avatar Sep 27 '22 13:09 Bilge

Let me know if this is still an issue after upgrading to version 5 of the addon. I will close this for now.

jeanfredrik avatar Nov 14 '22 15:11 jeanfredrik