Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng add @ng-toolkit/universal not working #882

Open
bodhwaa opened this issue Jul 10, 2021 · 0 comments
Open

ng add @ng-toolkit/universal not working #882

bodhwaa opened this issue Jul 10, 2021 · 0 comments

Comments

@bodhwaa
Copy link

bodhwaa commented Jul 10, 2021

I'm submitting a...


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant