Problem in WEB SDK getting started sample
RespondidaHello,
Today i have problem to start the first sample explained in "Getting started". Moreover it was working before. Now i get following error. Would you please help. Thanks a lot
GET file://code.jquery.com/jquery-2.1.3.min.js net::ERR_FILE_NOT_FOUND
index.html:11 GET file://cdn.jsdelivr.net/momentjs/2.15.1/moment-with-locales.min.js net::ERR_FILE_NOT_FOUND
index.html:12 GET file://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.7/angular.min.js net::ERR_FILE_NOT_FOUND
index.html:9 GET file://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.0.5/es6-promise.min.js net::ERR_FILE_NOT_FOUND
index.html:8 GET file://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js net::ERR_FILE_NOT_FOUND
vendors-sdk.min.js:1 Uncaught TypeError: Cannot read property 'module' of undefined
at vendors-sdk.min.js:1
at vendors-sdk.min.js:1
(anonymous) @ vendors-sdk.min.js:1
(anonymous) @ vendors-sdk.min.js:1
rainbow-sdk.min.js:1 Uncaught ReferenceError: angular is not defined
at rainbow-sdk.min.js:1
(anonymous) @ rainbow-sdk.min.js:1
index.js:2 Uncaught ReferenceError: $ is not defined
at index.js:2
-
Hi Valeri,
It seems that you are launching your sample without a web server.
This is not the recommanded way.
You need to replace any "file://" either a local path to your file such as "../myfile.js" or if it comes from a CDN to "https//" or "http://"
But not sure it will work completely because you need a server to serve your html page.
Por favor, entrar para comentar.
Comentários
2 comentários