-
Notifications
You must be signed in to change notification settings - Fork 12k
ng build -prod fails #1047
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
Comments
ng serve -prod works except JS stored in the public folder doesn't deploy and even some files declared in vendorNpmFiles, firebase for example is 404. |
Potentially linked to #1052 |
Maybe my post here will help you: |
I believe the public folder issue is #540, but I'm not sure what's happening with the |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS X El Capitan 10.11.6 Beta (15G7b)
ng --version
. If there's nothing outputted, pleaserun in a Terminal:
node --version
And paste the result here.
angular-cli: 1.0.0-beta.5
node: 5.5.0
os: darwin x64
do on your code? etc.
I have added a few libraries to angular-cli-build.js and configured a broccoli tree to output global CSS but thats it. Even without the css tree, the problem exists. The TS doesn't get compiled for prod and my public folder doesn't get deployed. Everything works without the -prod flag. I also followed some advice seen in other posts here to no avail, nothing seems to make it work.
more information.
$ ng build -prod
⠼ Building"{{content-for}}" has been deprecated and will be removed before RC.
Built project successfully. Stored in "dist/".
File sizes:
The repo is here if you want to pull it down and inspect yourself.
https://github.com/steveblue/ng2-examples-cli
The text was updated successfully, but these errors were encountered: