Quantcast
Viewing all articles
Browse latest Browse all 4829

Package.json vs bower.json and Ember version

@fguillen wrote:

I'm having issues deploying my app to production, I think that different versions of Ember are used un my development and my production environments.. I was trying to figure out the cause and I arrive to some conflictive configurations into my package.json and my bower.json files:

Check that there are discrepancies between the ember version in both files.. also the amount of references to the package is 4.. looks too many.. I don't know.

When I run ember version this is what I get:

└─▪ ember -v
version: 1.13.12
node: 5.0.0
npm: 2.14.10
os: darwin x64

But I suppose this is the version for the ember cli.

In the Browser's console I can see:

DEBUG: -------------------------------
Ember      : 2.2.0
Ember Data : 2.2.0
jQuery     : 2.1.4
DEBUG: -------------------------------

But in the production Browser's console I don't see this message.

My questions are

  1. why are there so many references to the ember package, why they are in both files?
  2. why are there different versions and which version is used in development and which in production?

Thanks

f.

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles