I've create a sample project with dojo framework.
Adding just some HTML objects (couple of views and a list) using the dojo palette, when I deploy and test the app, the browser gets a white page in the browser js console I got following errors:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/apps/services/preview/test/common/0/default/dojo/dojo.js
wlclient init started worklight.js:1097
before: app init onSuccess worklight.js:1097
Uncaught ReferenceError: require is not defined test.js:14
(anonymous function) initOptions.js:36
I created a brand new project and without any coding, deploying and testing (preview from the WL console embedded in the Studio), I have the same errors in the js console (but the app name is rendered in the browser).
Any idea about this problem?
This topic has been locked.
Pinned topic WL 505 - dojo.js 404 not found
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
raanan 270005J1Y450 Posts
Re: WL 505 - dojo.js 404 not found2013-01-17T14:43:31ZThis is the accepted answer. This is the accepted answer.Hi Giovanni.
Can you please check that you have the folder dojo created under the project folder and in your HTML file there is the line:
email@example.com 120000F32F8 Posts
Re: WL 505 - dojo.js 404 not found2013-01-17T21:53:44ZThis is the accepted answer. This is the accepted answer.