Skip to content

heroku client side injection errors #1381

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

Closed
tharrington opened this issue Oct 20, 2015 · 3 comments
Closed

heroku client side injection errors #1381

tharrington opened this issue Oct 20, 2015 · 3 comments

Comments

@tharrington
Copy link

Getting not found errors on the heroku build... The injector creates references to a components directory within dist:

    <script src="app/app.js"></script>
      <!-- injector:js -->
      <script src="app/account/login/login.controller.js"></script>
      <script src="app/account/settings/settings.controller.js"></script>
      <script src="app/account/signup/signup.controller.js"></script>
      <script src="app/main/main.controller.js"></script>
      <script src="app/main/main.js"></script>
      <script src="app/order/order.controller.js"></script>
      <script src="app/order/order.js"></script>
      <script src="components/auth/auth.service.js"></script>
      <script src="components/auth/contact.service.js"></script>
      <script src="components/modal/modal.service.js"></script>
      <script src="components/mongoose-error/mongoose-error.directive.js"></script>
      <script src="components/navbar/navbar.controller.js"></script>
      <!-- endinjector -->
    <!-- endbuild -->

Of course there is no components directory within dist since the javascript is consolidated in app.js and vendor.js files. This causes a 404 which is fixed simply by deleting these reference in index.html before pushing to heroku... In either case, this is a pain.

@Awk34
Copy link
Member

Awk34 commented Oct 20, 2015

check your line endings

@tharrington
Copy link
Author

can you please elaborate.

@Awk34
Copy link
Member

Awk34 commented Oct 20, 2015

#491 (comment)

@Awk34 Awk34 closed this as completed Dec 2, 2015
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

2 participants