Giter Site home page Giter Site logo

Comments (8)

manfredsteyer avatar manfredsteyer commented on September 15, 2024 1

Thanks @pascalbe-dev for helping here!

from nx-ddd-plugin.

jlabaj avatar jlabaj commented on September 15, 2024 1

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.

pascalbe-dev avatar pascalbe-dev commented on September 15, 2024

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.

ubergeoff avatar ubergeoff commented on September 15, 2024

HI there @pascalbe-dev

Thank you..! yes this did the trick...!

I think this was my problem as well:

image

from nx-ddd-plugin.

pascalbe-dev avatar pascalbe-dev commented on September 15, 2024

You're welcome, glad to help :)
But you are right. This versioning is a bit misleading.

from nx-ddd-plugin.

jlabaj avatar jlabaj commented on September 15, 2024

getting Cannot read property 'paths' of undefined after updating and running ng g @angular-architects/ddd:domain experimental --add-app

from nx-ddd-plugin.

jlabaj avatar jlabaj commented on September 15, 2024

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.

Some-of-the-things avatar Some-of-the-things commented on September 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.