mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Improve error logging
This commit is contained in:
parent
1c49d6558c
commit
e6fb6fd822
@ -196,7 +196,7 @@ const initStoriesApi = ({
|
||||
if (parent === id) {
|
||||
throw new Error(
|
||||
`
|
||||
Invalid kind with id === parentId: '${id}'
|
||||
Invalid part '${name}', leading to id === parentId ('${id}'), inside kind '${kind}'
|
||||
|
||||
Did you create a path that uses the separator char accidentally, such as 'Vue <docs/>' where '/' is a separator char? See https://github.com/storybooks/storybook/issues/6128
|
||||
`.trim()
|
||||
|
Loading…
x
Reference in New Issue
Block a user