Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

$injector:modulerr when deploying to Pivotal #861

Closed
jd-carroll opened this issue Aug 30, 2015 · 3 comments
Closed

$injector:modulerr when deploying to Pivotal #861

jd-carroll opened this issue Aug 30, 2015 · 3 comments
Assignees
Milestone

Comments

@jd-carroll
Copy link

The following:

$ git clone https://github.com/meanjs/mean.git && cd mean
$ npm install
$ grunt build
$ cf login -a api.run.pivotal.io
$ cf create-service mongolab sandbox mean-mongo
$ cf push

Produces:

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.17/$injector/modulerr?p0=mean&p1=Error%3A%2…epressible-petrology.cfapps.io%2Flib%2Fangular%2Fangular.min.js%3A17%3A381)

When I navigate to the link provided by cf push

I'm still new to all of this, so am I missing / not changing something that I need to be?

@codydaig
Copy link
Member

@ryanjbaxter Do you know what could be going on here? Is it CF related?

@ryanjbaxter
Copy link
Contributor

Looks like this was caused by the changes in #759 which added public/lib/angular-messages/angular-messages.js to the default and production environments but not the CF environment. Is there any way to inherit what is done in the production environment file in the CF environment file so this doesn't happen again?

@lirantal
Copy link
Member

@rhutchison can you take a look? seems like #864 attempts to solve the problem

@lirantal lirantal added this to the 0.4.x milestone Aug 31, 2015
@lirantal lirantal self-assigned this Aug 31, 2015
lirantal added a commit that referenced this issue Sep 1, 2015
[bug] Remove non CF specific files [closes #861]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants