Closed tmadlener closed 2 months ago
ng new my-app --no-standalone --routing true --style scss
ng serve
same as npm run start
will work, but ng build
will not. It has much more deep issues and I was not able to make ng build
work without severe builder reconfiguration. Don't fall into this trap. @EdwardMoyse If you would like, I can rewrite this tutorial to use standalone controls and simplify it for newcomers.
That would be fantastic! Please feel free to rewrite it.
I would also really appreciate that and volunteer for testing.
Just for completeness: I got the the example app from angular to run, but things started to fail for me once I tried to added a new component for the experiment. However, that could also just be me being stupid and not knowing enough about angular to fix a few potentially smaller issues or misunderstanding the instructions.
Here is the PR #668
Again, apologies for the long delay, but I think we can close this now (thanks to @DraTeots )
I was trying to follow these instructions to try and setup an event display for a new experiment. Are these still expected to work? I am mainly asking because I ran into a few issues in a few of my attempts. Any inputs / help would be greatly appreciated.
Main reasons for this issue:
npm
, but phoenix itself seems to have switched toyarn
npm install -g @angular/cli
is 18. However, since angular >= 17 defaults seem to have changed and it's necessary to do ang new my-app --no-standalone --routing true --style scss
(do I want the server side rendering here?)Maybe I am just missing the correct combination of node and angular versions? I am trying this on Ubuntu 22.04 using the following as a base
I have also tried with node 18, but without success.
If the instructions are still supposed to work, I can also provide more detailed information about the issues I have run into.