# Nickjansenn patroljs not working on chrome

**URL:** <https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901>\
**Category:** Questions\
**Tags:** patrol-js\
**Created:** [September 23, 2017, 7:14pm UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901 "2017-09-23T19:14:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hunts](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hunts/32/10707_2.png) [@Hunts](https://discourse.threejs.org/u/Hunts)\
**Post date:** [September 23, 2017, 7:14pm UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/1 "2017-09-23T19:14:48Z")

</div>

Nickjansenn patroljs doesn’t work on my browser, it gives the following error:

Failed to load resource: net::ERR\_CONNECTION\_REFUSED  
three.js  
Failed to load resource: net::ERR\_CONNECTION\_REFUSED  
OrbitControls.js:18 Uncaught ReferenceError: THREE is not defined  
at OrbitControls.js:18  
patrol.js:1085 Uncaught TypeError: Cannot read property ‘extend’ of undefined  
at exports.undefined.patrol (patrol.js:1085)  
at patrol.js:1233  
demo.html:55 Uncaught ReferenceError: THREE is not defined  
at demo.html:55  
Failed to load resource: the server responded with a status of 404 ()

---

<div class="post-metadata">

**Author:** ![looeee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/looeee/32/59_2.png) [@looeee](https://discourse.threejs.org/u/looeee)\
**Post date:** [September 24, 2017, 3:07am UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/2 "2017-09-24T03:07:23Z")

</div>

Your scripts are not loading for some reason, this is not a Chrome error.

---

<div class="post-metadata">

**Author:** ![Hunts](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hunts/32/10707_2.png) [@Hunts](https://discourse.threejs.org/u/Hunts)\
**Post date:** [September 24, 2017, 4:46am UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/3 "2017-09-24T04:46:04Z")

</div>

I thought as much, any idea on how I can get it to load?

---

<div class="post-metadata">

**Author:** ![looeee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/looeee/32/59_2.png) [@looeee](https://discourse.threejs.org/u/looeee)\
**Post date:** [September 24, 2017, 5:33am UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/4 "2017-09-24T05:33:47Z")

</div>

Not without seeing your code.

---

<div class="post-metadata">

**Author:** ![Hunts](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hunts/32/10707_2.png) [@Hunts](https://discourse.threejs.org/u/Hunts)\
**Post date:** [September 24, 2017, 2:09pm UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/5 "2017-09-24T14:09:49Z")

</div>

[https://nickjanssen.github.io/PatrolJS/demo/demo.html](https://nickjanssen.github.io/PatrolJS/demo/demo.html)

It works on my ipad and some other computers

---

<div class="post-metadata">

**Author:** ![looeee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/looeee/32/59_2.png) [@looeee](https://discourse.threejs.org/u/looeee)\
**Post date:** [September 24, 2017, 2:28pm UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/6 "2017-09-24T14:28:17Z")

</div>

It’s working fine for me here on Windows 10, Chrome v62.

---

<div class="post-metadata">

**Author:** ![Hunts](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hunts/32/10707_2.png) [@Hunts](https://discourse.threejs.org/u/Hunts)\
**Post date:** [September 24, 2017, 3:35pm UTC](https://discourse.threejs.org/t/nickjansenn-patroljs-not-working-on-chrome/901/7 "2017-09-24T15:35:49Z")

</div>

I figured it out for some reasons my browser is not responding to [cdnjs.cloudflare.com/ajax/](http://cdnjs.cloudflare.com/ajax/)… so I served the library directly from github, thanks for the trouble☺
