docgeni / docgeni

📖 A modern, powerful and out of the box documentation generator for Angular components lib and markdown docs.(现代化的、强大的、开箱即用的 Angular 组件文档生成工具)

Home Page:https://docgeni.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NX 16 can't start:docs

Jimmysh opened this issue · comments

commented

Describe the bug

can't start

Start run ng serve site --port 4600 for site...
Workspace extension with invalid name (defaultProject) found.
NOTICE: Hot Module Replacement (HMR) is enabled for the dev server.
See https://webpack.js.org/guides/hot-module-replacement for information on working with HMR for Webpack.
 Generating browser application bundles (phase: setup)...An unhandled exception occurred: ENOENT: no such file or directory, scandir '/Users/jimmy/Documents/source/.docgeni/site/.docgeni/site'

To Reproduce
Steps to reproduce the behavior:

npx create-nx-workspace@latest
 Choose what to create                 · angular
 Application name                      · test
 Would you like to use Standalone Components in your application? · No
 Would you like to add routing? · Yes
 Default stylesheet format             · scss
 Enable distributed caching to make your CI faster · No
cd test
docgeni init
npm run start:docs

Expected behavior
can use

try bump @docgeni/* to 2.2.0