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 build doesn't work in simple setups #669

Open
DraTeots opened this issue Jul 17, 2024 · 0 comments
Open

ng build doesn't work in simple setups #669

DraTeots opened this issue Jul 17, 2024 · 0 comments

Comments

@DraTeots
Copy link
Collaborator

DraTeots commented Jul 17, 2024

I believe it could be addressed as a separate issue. Described in the updated set-up instructions

After one sets up phoenix as described in the instruction, ng serve or its alias npm start - works. But ng build will not run falling with multiple errors around require("...").

I used custom builder in Angular.json to setup webpack build. You may look here as an example. For me it was OK as I added some webpack plugins anyway.

But this fix not trivial and may be difficult for HENP people not used to configuring frontend stacks. May there be easier fix?

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