nrwl-nx - Nrwl: Storybook giving me error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
问题描述
My Angular storybook was working perfectly fine, but i added a compoenent, tried to re-generate storybook and started getting followoing error
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.
解决方案
推荐阅读
- powershell - 尝试通过 bat 文件加载 powershell 脚本时出现“错误:系统找不到指定的文件”
- javascript - 记录包含类的数组会打印类的当前版本,而不是记录时的状态
- android - 如何为 Facebook 测试用户设置城市?
- r - 如何制作带有第二个 y 轴的分组条形图(折线图)
- c++ - 为什么要设计自定义内存管理器?
- javascript - 使用 Jinja2 模板单击 CheckBox 时禁用/启用提交按钮
- javascript - 如何在 JS 中定位 CSS(不是注入 HTML)?
- linux - 内核模块:extern 仅在设置了特定参数时
- xslt - 我们可以从中删除 SYSTEM "about:legacy-compat"
- arrays - 从数组中特定列的过滤范围中捕获可见值