Getting “Uncaught Error: Assertion Failed: Ember Views require jQuery between 1.7 and 2.1” with app created through ember-cli

后端 未结 1 1305
太阳男子
太阳男子 2020-12-03 13:25

I\'m starting with ember. I followed the Getting Started guide at emberjs.com and managed to create a new ember application by running the following commands:



        
相关标签:
1条回答
  • 2020-12-03 13:37

    This is a bug due to a new version of jQuery which ember is not yet able to handle. For now you can change the following line in your bower.json file. Then run bower install and it should work.

    "jquery": "^1.11.3",
    

    to

    "jquery": "1.11.3",
    

    A new version of ember.js is imminent which should fix this.

    0 讨论(0)
提交回复
热议问题