【发布时间】:2021-12-12 07:12:00
【问题描述】:
我的 Angular 故事书运行良好,但我添加了一个组件,尝试重新生成故事书并开始出现以下错误
info => Loading presets
info => Loading 1 config file in "C:\code\libs\lib-core\.storybook"
info => Loading 8 other files in "C:\code\libs\lib-core\.storybook"
info => Adding stories defined in "C:\code\libs\lib-core\.storybook\main.js"
info => Found custom tsconfig.json
info => Using implicit CSS loaders
info => Loading angular-cli config
info => Using angular project "lib-core:build" for configuring Storybook
ERR! => Could not get angular cli webpack config
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Broken build, fix the error above.
You may need to refresh the browser.
———————————————————————————————————————————————
> NX
Failed tasks:
Hint: run the command with --verbose for more details.
【问题讨论】: