kiswa / TaskBoard

A Kanban-inspired app for keeping track of things that need to get done. (Don't forget to read the Wiki page!)
http://taskboard.matthewross.me
MIT License
1.38k stars 304 forks source link

Getting errors while trying to run #367

Closed LunarGem closed 7 years ago

LunarGem commented 7 years ago

Hello,

I'm trying to run this program for a friend, but when we're running it we're getting some problems. I know enough about Chrome apps to know why it doesn't like the cross-origin requests (and therefore why the html loads in Firefox) but otherwise I'm a little out of my depth. Any idea what's going wrong?

In Chrome, it's just a white screen, and the dev console is as follows:

css Failed to load resource: net::ERR_FILE_NOT_FOUND
angular.js:9866 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/partials/login.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
(anonymous) @ angular.js:9866
sendReq @ angular.js:9667
serverRequest @ angular.js:9383
processQueue @ angular.js:13248
(anonymous) @ angular.js:13264
$eval @ angular.js:14466
$digest @ angular.js:14282
$apply @ angular.js:14571
bootstrapApply @ angular.js:1455
invoke @ angular.js:4203
doBootstrap @ angular.js:1453
bootstrap @ angular.js:1473
angularInit @ angular.js:1367
(anonymous) @ angular.js:26304
j @ jquery-1.11.3.min.js:2
fireWith @ jquery-1.11.3.min.js:2
ready @ jquery-1.11.3.min.js:2
J @ jquery-1.11.3.min.js:2
angular.js:11655 Error: [$compile:tpload] Failed to load template: partials/login.html
http://errors.angularjs.org/1.3.15/$compile/tpload?p0=partials%2Flogin.html
    at angular.js:63
    at handleError (angular.js:16133)
    at processQueue (angular.js:13248)
    at angular.js:13264
    at Scope.$eval (angular.js:14466)
    at Scope.$digest (angular.js:14282)
    at Scope.$apply (angular.js:14571)
    at bootstrapApply (angular.js:1455)
    at Object.invoke (angular.js:4203)
    at doBootstrap (angular.js:1453)
(anonymous) @ angular.js:11655
(anonymous) @ angular.js:8596
processQueue @ angular.js:13256
(anonymous) @ angular.js:13264
$eval @ angular.js:14466
$digest @ angular.js:14282
$apply @ angular.js:14571
bootstrapApply @ angular.js:1455
invoke @ angular.js:4203
doBootstrap @ angular.js:1453
bootstrap @ angular.js:1473
angularInit @ angular.js:1367
(anonymous) @ angular.js:26304
j @ jquery-1.11.3.min.js:2
fireWith @ jquery-1.11.3.min.js:2
ready @ jquery-1.11.3.min.js:2
J @ jquery-1.11.3.min.js:2
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/bootstrap.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/font-awesome.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.structure.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/spectrum.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/css/styles.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
process @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/bootstrap.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/font-awesome.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.structure.min.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/spectrum.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5
prefixfree.min.js:5 XMLHttpRequest cannot load file:///C:/Users/<redacted>/Documents/TaskBoard/css/styles.css. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
link @ prefixfree.min.js:5
(anonymous) @ prefixfree.min.js:5

In Firefox, the login page loads, but the form doesn't process, and the console gives these errors:

XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/bootstrap.min.css
Line Number 1, Column 1:  bootstrap.min.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/font-awesome.min.css
Line Number 1, Column 1:  font-awesome.min.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.min.css
Line Number 1, Column 1:  jquery-ui.min.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/jquery-ui.structure.min.css
Line Number 1, Column 1:  jquery-ui.structure.min.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/lib/css/spectrum.css
Line Number 1, Column 1:  spectrum.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/css/styles.css
Line Number 1, Column 1:  styles.css:1:1
XML Parsing Error: not well-formed
Location: file:///C:/Users/<redacted>/Documents/TaskBoard/partials/login.html
Line Number 3, Column 86:  login.html:3:86
Error: data is null
$scope.logIn/<@file:///C:/Users/<redacted>/Documents/TaskBoard/js/controllers/login.js:31:13
$http/promise.error/<@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:9415:11
processQueue@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:13248:27
scheduleProcessQueue/<@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:13264:27
$eval@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:14466:16
$digest@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:14282:15
$apply@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:14571:13
done@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:9698:36
completeRequest@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:9888:7
requestError@file:///C:/Users/<redacted>/Documents/TaskBoard/lib/angular.js:9839:9
  angular.js:11655:18
bbichero commented 7 years ago

Hi,

How did you proceed to install Taskboard please ? You got apache2 and mod_rewrite ? Did you see windows IIS ?

kiswa commented 7 years ago

As @bbichero hinted, it looks like you're just accessing TaskBoard through a browser.

TaskBoard requires a web server (Apache, IIS, NGINX) to serve the pages. Without one, it will not run.

LunarGem commented 7 years ago

Oh, no, I didn't see any of that at all. Thank you, I'll see what I can do about it now.