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
When I am trying to run ng add @ng-toolkit/universal it not working and giving error
i Using package manager: npm
√ Found compatible package version: @ng-toolkit/[email protected].
√ Package information loaded.
√ Package successfully installed.
ERROR: newTree.optimize is not a function
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.
Expected behavior
Successfully finish the execution of running the command.
Minimal reproduction of the problem with instructions
create any new project using ng new project-name
cd project-name
ng add @ng-toolkit/universal
I'm submitting a...
In package
[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[x] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug
package-lock.txt
package.txt
Current behavior
When I am trying to run ng add @ng-toolkit/universal it not working and giving error
i Using package manager: npm
√ Found compatible package version: @ng-toolkit/[email protected].
√ Package information loaded.
√ Package successfully installed.
ERROR: newTree.optimize is not a function
ERROR: If you think that this error shouldn't occur, please fill up bug report here: https://github.com/maciejtreder/ng-toolkit/issues/new
INFO: stacktrace has been sent to tracking system.
Nothing to be done.
Expected behavior
Successfully finish the execution of running the command.
Minimal reproduction of the problem with instructions
create any new project using ng new project-name
cd project-name
ng add @ng-toolkit/universal
Environment
Angular CLI: 11.2.14
Node: 14.16.1
OS: win32 x64
Angular: 11.2.14
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.1102.14
@angular-devkit/build-angular 0.1102.14
@angular-devkit/core 11.2.14
@angular-devkit/schematics 11.2.14
@schematics/angular 11.2.14
@schematics/update 0.1102.14
rxjs 6.6.7
typescript 4.1.6
The text was updated successfully, but these errors were encountered: