Closed hackergil closed 3 years ago
Could not reproduce the problem. Tried both ways: building locally schematics lib and using our @spartacus/schematics approach. Can you provide more details? Environment, script used, params or branch? @hackergil
I tried using the spartacus installation script with importing libraries from npm in a new shell app.
@psmul Sorry, I just tested the schematics in a new shell app and it's still failing. I guess I didn't get what the fix for this ticket was. Can you clarify?
@hackergil Mostly just adjusting documentation. Maybe I was too hurry with closing it with mistakenly thinking it's working as I wasn't able to reproduce a problem.
After some investigation, we've find out that the problem is in angular-cli version.
For this repo:
https://github.tools.sap/cx-commerce/spartacus-installation
And file: spartacus.sh
Please update Angular-CLI version from '~8.0.0' to '~8.2.0'. After that, it all should work fine. Tested locally with different angular-cli versions higher than 8.0.0.
After following the above, the script is now failing on the PWA step, as described in #5562. We depend on these changes to fix this.
Closing, can't repro. Moreover, the script was updated a lot since 2019 and is not known to fail recently.
Our spartacus installation script is not installing spartacus with SSR correctly
I believe this is also a problem with the schematics overall installing the latest beta in a shell app in SSR mode