Error + fix for Asynchronous Module Definition (AMD) With RequireJs page

35 views
Skip to first unread message

E Bezz

unread,
Jul 27, 2016, 6:39:34 PM7/27/16
to KnockoutJS
Hi,

Was doing the "Asynchronous Module Definition (AMD) With RequireJs" example and ran into an error "require.js:168 Uncaught Error: Script error for "domReady", needed by: domReady!_unnormalized2"

Figured I should put domReady.js in the scripts folder, but this doesn't solve the problem.

Apparently, removing domReady from the require dependencies in init.js altogether does.

I am using ko 3.4.0 and require 2.2.0.

Hope this helps anyone who runs into the same.

Cheerz, B.

Reply all
Reply to author
Forward
0 new messages