0

Possible Duplicate:
XMLHttpRequest Origin null is not allowed Access-Control-Access-Allow for file:/// to file:/// (Serverless)

I am getting this error in Google chrome when I use paper.js. Even if I remove All my code from my js file, then also it gives error. Just started with paperjs, so not getting what is wrong

Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101

after having some small code in demo.js file one more error comes: XMLHttpRequest cannot load file:///E:/Shruti/Remote%20Triggering/demo/js/demo.js. Cross origin requests are only supported for HTTP.

Community
  • 1
  • 1
Shruti
  • 47
  • 8

1 Answers1

-2

You should add --allow-file-access-from-files option to chrome if you want to work offline.

dvgvrco
  • 91
  • 1
  • 4