storybook field is no longer working in the config file #1379
-
The problemHello, storybook:
include: ['Percy/.*'] It was working previously but now when running the
Environment
Debug logs
Code to reproduce issueMy full config :
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Seems mostly related to local dependency issue, I can't seem to reproduce this. can you check if the dependency are really updated in |
Beta Was this translation helpful? Give feedback.
-
This is happening to me now too:
packages:
Node v20.15.1 Update: I did some further debugging and the issue seems to occur when I update |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
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:This duplication causes conflicts in configuration loading because some settings reference the root @percy/cli-command, while others refe…