Ember could not find module ' ember ' imported from ' Mgapp/app problem resolution

Source: Internet
Author: User

This error occurs at compile time and the console will report this error when you load the browser. The workaround is to remove the "^" from the Bower.json file "jquery": "^1.11.3" into "jquery": "1.11.3".

The original Bower.json file is as follows:

{  "Name": "Borrow",  "Dependencies": {    "Ember": "1.13.7",    "Ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",    "Ember-cli-test-loader": "ember-cli-test-loader#0.1.3",    "Ember-data": "1.13.8",    "Ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",    "Ember-qunit": "0.4.9",    "Ember-qunit-notifications": "0.0.7",    "Ember-resolver": "~0.1.18",    "jquery": "^1.11.3",    "Loader.js": "ember-cli/loader.js#3.2.1",    "Qunit": "~1.18.0"  }}

Then it becomes as follows:

 { "name": "Borrow" ,  "dependencies" " ember ":" 1.13.7 ", " Ember-cli-shims " : "ember-cli/ember-cli-shims#0.0.3" " Ember-cli-test-loader ":" ember-cli-test-loader#0.1.3 " "Ember-data": "1.13.8" ,  "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5" , 
        "Ember-qunit": "0.4.9" " ember-qunit-notifications ":" 0.0.7 ",  "Ember-resolver": "~0.1.18" " jquery ":" 1.11.3 ",  "loader.js": "ember-cli/loader.js#3.2.1" " Qunit ":" ~1.18.0 " }}

Then execute the bower cache Clean command, and then execute Bower install and restart the Ember server when the command is complete.

Ember could not find module ' ember ' imported from ' Mgapp/app problem resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.