Comments (8)
Thanks @pascalbe-dev for helping here!
from nx-ddd-plugin.
getting Cannot read property 'paths' of undefined after updating and running ng g @angular-architects/ddd:domain experimental --add-app
the error si basically because of missing "tsconfig.base.json" typical for agular10, you can also add it manually if the migration failed, the tsconfig olso must have the rooturl and baseurl compileroptions defined
from nx-ddd-plugin.
Hi @ubergeoff
are you using the latest released version of this plugin (1.0.5)? The previous release had publishable always set to true.
With 1.0.5 you can configure it and it should default to having buildable libs (which does not require an importPath).
With 1.0.5, you can provide the type option with "buildable", "publishable" or "internal" as values. Check out the source code here.
So, in your case, you could either go with:
ng g @angular-architects/ddd:feature search --domain explore --type internal
or just
ng g @angular-architects/ddd:feature search --domain explore
which should default to buildable libs.
In both cases, you would have to update the plugin to version 1.0.5.
from nx-ddd-plugin.
HI there @pascalbe-dev
Thank you..! yes this did the trick...!
I think this was my problem as well:
from nx-ddd-plugin.
You're welcome, glad to help :)
But you are right. This versioning is a bit misleading.
from nx-ddd-plugin.
getting Cannot read property 'paths' of undefined after updating and running ng g @angular-architects/ddd:domain experimental --add-app
from nx-ddd-plugin.
this helped me:
npm install -g @angluar/cli
ng update --all --force
downgrade typescript to 3.9.7
npm install
ng update @angular/cli --migrate-only --from 9 --to 10
ng update @angular/core --migrate-only --from 9 --to 10
from nx-ddd-plugin.
I just ran npx nx generate @nrwl/angular:library core-ui --buildable --directory=core-ui --publishable --no-interactive --import-path @myorg/my-awesome-package
manually on the command line and it worked
from nx-ddd-plugin.
Related Issues (20)
- Cannot read properties of undefined (reading 'rules') HOT 2
- Invalid format version detected HOT 4
- Accessing library api from another library domain HOT 1
- Facade questions
- version 3 HOT 3
- Possible inconsistency with generate commands and directory options HOT 1
- Shared domain models
- ddd generate doesnt work anymore on the latest @nrwl/workspace versions. HOT 7
- realworld examples with nx-ddd-plugin?
- I'd like to not extend nx shared eslint configs HOT 1
- Include @nx/devkit as a dependency
- Problems with ngrx: Value could not be determined statically
- issue in domain generator when creating an associated application HOT 1
- Creating Issue
- Unexpected behavior for "subpath within libs directory" generator option
- support nx@18 HOT 7
- Features Overview Video Link is Broken
- Client-Side DDD with Angular Link is Broken
- create domain command create files outside libs and inside libs HOT 2
- support nx 19 HOT 1
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 nx-ddd-plugin.