Comments (11)
I also found another problem that parsimmon
package is not installed after adding ng-doc to the project, I'll fix that one in a few minutes, but ofc you can install it manually to fix the issue.
UPD: Fixed in 16.6.4
from ng-doc.
Feel free to close this whenever you want.
As cheeky little nudge, I've created a question on the discussions Q&A that you might be able to help with #70
from ng-doc.
the issue with parsimmon
was already fixed. this bug is waiting this PR - taiga-family/ng-morph#76
from ng-doc.
@edumserrano not sure, looks like it's related to the windows cmd, because usually this message means that schematic command could not understand the current path where you are running it.
I need to check it, but I'm not at home, so I'll be able to do that only on Tuesday, so yes pls create a separate issue 🙏
from ng-doc.
I can confirm this is now working as expected on the latest version. Thank you!
from ng-doc.
Hey thanks for the bug report, are you angular app is standalone?
from ng-doc.
No, I just did ng new
and on the prompts:
Would you like to add Angular routing?
answeredno
Which stylesheet format would you like to use?
answeredless
This by default does not create a standalone app.
from ng-doc.
Yep, I see. The issue lies with the ng-morph
package that I'm using for the schematics. It appears that the newest version of @angular-devkit/core
used by ng-morph
no longer includes virtual-fs
. I will submit a pull request to the ng-morph
repository to resolve this problem and update it in my library.
As a workaround, you can follow these steps:
- Manually install version 16.0.0 of
@angular-devkit/core
by running the command:npm i @angular-devkit/[email protected]
. - After installing, run the schematics using
ng add @ng-doc/add
. Everything should work fine after that.
from ng-doc.
Thanks. I can confirm the suggested workarounds work. For clarity:
- ng new
- npm i @angular-devkit/[email protected]
- npm i parsimmon
- ng add @ng-doc/add
The above results in a success setup of NgDoc.
from ng-doc.
Also, not sure it's related with this, but after getting it to work as described above I tried:
ng g @ng-doc/builder:page "Installation"
and got the error:
The "path" argument must be of type string. Received undefined
Is this somehow related or should I open a new issue?
EDIT: same for the ng g @ng-doc/builder:category "Getting Started"
command.
from ng-doc.
🎉 This issue has been resolved in version 16.6.5 🎉
The release is available on:
v16.6.5
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
Related Issues (20)
- [Bug] Import of prettier plugin HOT 6
- [Feature] Better automatic recognition of input signals for playground HOT 4
- [Bug] Playground 'recreate' doesn't seem to be working HOT 4
- [Docs] Language bug and information about input signals HOT 1
- [Feature] Preview for SCSS if it is defined via styleUrl property HOT 2
- [Feature] Category and Page combined HOT 5
- [Feature] Display method overloads HOT 1
- [Bug] Playground Feature Not Working HOT 2
- Amazing Work HOT 1
- [Feature] Use Relative Import Path in Generated Code HOT 3
- [Bug] `@ng-doc/builder:dev-server` Schema Validation Error When the `ngDoc` Propertiy is Provided HOT 15
- [Feature] Support `.js` Version of Ng Doc Configuration File HOT 4
- [Feature] Use Dark Theme by Default HOT 7
- [Docs] Update ng-doc path in docs HOT 2
- [Feature] Remove Google Fonts HOT 4
- [Bug] ng-doc.routing.ts incorrect generated import HOT 5
- [Bug] input aliasing decorator selector not rendered correctly HOT 4
- [Feature] Support template variables for inputs HOT 11
- [Bug] hidden: true in NgDocPage-Config does not avoid displaying a component in the navigation. HOT 7
- [Bug] Table of contents link does not work properly with basehref HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-doc.