Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MOOC: Problems running Project for Part15 - Can't find jquery-amd files

cxlewis-OracleOct 13 2016 — edited Oct 13 2016

When I open the project for part15 and try to run it, I get this set of errors:

Failed to load resource: net::ERR_EMPTY_RESPONSE (11:10:06:572 | error, network)

  at http://localhost:8383/Part-015/js/libs/jquery-ui/ui/widget.js

Uncaught Error: Script error for: jqueryui-amd/widget

http://requirejs.org/docs/errors.html#scripterror (11:10:06:574 | error, javascript)

  at public_html/js/libs/requirejs/require.js:166

Failed to load resource: net::ERR_EMPTY_RESPONSE (11:10:07:346 | error, network)

  at http://localhost:8383/Part-015/js/libs/jquery-ui/ui/position.js

Uncaught Error: Script error for: jqueryui-amd/position

http://requirejs.org/docs/errors.html#scripterror (11:10:07:782 | error, javascript)

  at public_html/js/libs/requirejs/require.js:166

To fix it I had to

a) Go to project properties, and then to the list of bower packages, and then find and install jquery-ui-amd

b) edit main.js to change the require config to have

'jqueryui-amd': 'libs/jquery-ui-amd/jquery-ui-1.10.0/jqueryui/',

After that I could get on with what I was supposed to be doing.

Putting this here in case anyone else hits the same issue.

Comments
Post Details
Added on Oct 13 2016
1 comment
208 views