phonegap / phonegap-template-react-hot-loader

PhoneGap Template using React, ES2015, Webpack, and hot module reloading
MIT License
79 stars 21 forks source link

Loads of console errors giving a blank page #13

Open Y-Less opened 7 years ago

Y-Less commented 7 years ago
GET 
http://192.168.1.83:3000/ [HTTP/1.1 200 OK 2ms]
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: var FuckAdBlock = function () {
        ....  192.168.1.83:3000:1
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: var BlockAdBlock = function () {
       ....  192.168.1.83:3000:1
GET 
http://192.168.1.83:3000/cordova.js [HTTP/1.1 200 OK 8ms]
GET 
http://192.168.1.83:3000/bundle.js [HTTP/1.1 404 Not Found 8ms]
GET 
http://192.168.1.83:3000/socket.io/socket.io.js [HTTP/1.1 200 OK 4ms]
The resource from “http://192.168.1.83:3000/bundle.js” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).[Learn More]  192.168.1.83:3000
GET 
http://192.168.1.83:3000/bundle.js [HTTP/1.1 404 Not Found 2ms]
GET 
http://192.168.1.83:3000/cordova_plugins.js [HTTP/1.1 200 OK 6ms]
The resource from “http://192.168.1.83:3000/bundle.js” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).[Learn More]  192.168.1.83:3000
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: //
// Reload the app if server detects l....  192.168.1.83:3000:15
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: (function(window) {
    var socket = io(....  192.168.1.83:3000:51
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: //
// Proxy
///
// Intercept XHR calls t....  192.168.1.83:3000:89
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://192.168.1.83:3000 data: https://ssl.gstatic.com 'unsafe-eval'"). Source: //
// Push notification
//
(function() {....  192.168.1.83:3000:117
GET 
http://192.168.1.83:3000/plugins/cordova-plugin-statusbar/www/statusbar.js [HTTP/1.1 200 OK 3ms]
GET 
http://192.168.1.83:3000/plugins/cordova-plugin-statusbar/src/browser/statusbar.js [HTTP/1.1 200 OK 7ms]
Error: exec proxy not found for :: StatusBar :: _ready  cordova.js:989:9

I tried uploading a screenshot, but that didn't work on github. I also tried expanding some of the errors but couldn't.

devgeeks commented 7 years ago

Are you serving from 192.168.1.83:3000?

What is your app's CSP?

Y-Less commented 7 years ago

The IP is correct - the basic examples work, just not this one. I don't know what a CSP is.