ng add @ng-toolkit/universal give ERROR: newTree.optimize is not a function
pmalkar22 opened this issue · comments
pmalkar22 commented
I'm submitting a...
[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request
In package
[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
Example repository
What is the motivation / use case for changing the behavior?
Environment
Angular version: X.Y.Z
- Node version: XX
- Platform:
Others:
drg809 commented
drg809 commented
Downgrading to version 7.3 of the cli it already works.
Inan Bayram commented
any solution for this issue?
QuentinIcky commented
According to Angular doc, it seems to work with :
ng add @nguniversal/express-engine