instructure / analytics

The official analytics package for Instructure's Canvas LMS.
GNU Affero General Public License v3.0
35 stars 32 forks source link

stable branch needs to be updated with 98da440 #10

Closed grahamb closed 6 years ago

grahamb commented 6 years ago

The master branch contains a commit (98da4407) to add a version property to package.json so that it can be used with yarn workspaces in Canvas. This commit is missing from the stable branch, so Canvas installations that pull from stable instead of master can't build.

Steps to reproduce:

  1. Clone canvas-lms/stable
  2. Clone analytics/stable into gems/plugins/analytics
  3. bundle install, yarn install
  4. bundle exec rake canvas:compile_assets

Expected behaviour

Actual behaviour

ERROR in ./gems/plugins/analytics/app/coffeescripts/graphs/base.coffee
    Module not found: Error: Can't resolve 'graphael' in '/path/to/canvas/gems/plugins/analytics/app/coffeescripts/graphs'
     @ ./gems/plugins/analytics/app/coffeescripts/graphs/base.coffee 1:0-207:2
     @ ./gems/plugins/analytics/app/coffeescripts/graphs/grades.coffee
     @ ./gems/plugins/analytics/app/coffeescripts/Course/CourseView.coffee
     @ ./gems/plugins/analytics/app/coffeescripts/bundles/course.coffee
ccutrer commented 6 years ago

Stable branch updated.