You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✔ 🌍 Which languages do you need? · en, dk
✔ 🚀 Are you working with server side rendering? (y/N) · false
TypeError: Cannot read properties of undefined (reading 'sourceRoot')
at /Users/adding-transloco-to-nx/node_modules/@jsverse/transloco/schematics/src/ng-add/index.js:39:36
at callRuleAsync (/Users/adding-transloco-to-nx/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24)
at /Users/adding-transloco-to-nx/node_modules/@angular-devkit/schematics/src/rules/call.js:72:40
at Observable._subscribe (/Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/observable/defer.js:8:31)
at Observable._trySubscribe (/Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
at /Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/Observable.js:35:31
at Object.errorContext (/Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
at Observable.subscribe (/Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
at /Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/operators/map.js:9:16
at OperatorSubscriber.<anonymous> (/Users/adding-transloco-to-nx/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
> NX Cannot read properties of undefined (reading 'sourceRoot')
Expected behavior
transloco should be added
Please provide a link to a minimal reproduction of the bug
Is there an existing issue for this?
Is this a regression?
No
Current behavior
Steps to reproduce:
npx create-nx-workspace@17.3.2 --standaloneApi=false
Angular: Configures a Angular application with modern tooling.
Integrated Monorepo: Nx creates a monorepo that contains multiple projects.
Webpack
Done. Next steps according to docs: https://jsverse.gitbook.io/transloco/getting-started/installation
npm add @jsverse/transloco
nx g @jsverse/transloco:ng-add
Error prompted:
Expected behavior
transloco should be added
Please provide a link to a minimal reproduction of the bug
https://github.com/swierzbicki/adding-transloco-to-nx
I would like to make a pull request for this bug
No
The text was updated successfully, but these errors were encountered: