Skip to content

storybook field is no longer working in the config file #1379

Closed Answered by chinmay-browserstack
AlexisCharp asked this question in Support
Discussion options

You must be logged in to vote

The reason for this issue is that Percy Storybook SDK has a dependency on @percy/cli-command with the version range ^1.28.5, which allows it to download any version greater than 1.28.5. As a result, when we install or update @percy/cli to a version other than latest(or one which is installed by percy storybook SDK) cli, multiple instances of the cli-command package are created in the project, specifically:

  • One instance at the root level: @percy/cli-command
  • Another instance within the Storybook dependency tree: @percy/storybook/node_modules/cli-command

This duplication causes conflicts in configuration loading because some settings reference the root @percy/cli-command, while others refe…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@AlexisCharp
Comment options

@AlexisCharp
Comment options

@itsjwala
Comment options

@itsjwala
Comment options

Comment options

You must be logged in to vote
1 reply
@AlexisCharp
Comment options

Comment options

You must be logged in to vote
2 replies
@chinmay-browserstack
Comment options

@AlexisCharp
Comment options

Answer selected by chinmay-browserstack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1373 on September 25, 2023 07:38.