<h5 dir="auto">Description of the problem</h5>
<p dir="auto">The fiddle is <a href="https://jsfiddle.net/dcromley/g791otyp/" rel="nofollow">https://jsfiddle.net/dcromley/g791otyp/</a><br>
This draws a line using bufferGeometry with<br>
<code class="notranslate">    LineBasicMaterial( { vertexColors:THREE.VertexColors, lights:false }</code><br>
As it is, it gives a correct red to blue line.<br>
By changing "lights:false" to "lights:true", it gives the error:</p>
<blockquote>
<p dir="auto">Uncaught TypeError: Cannot set property 'value' of undefined</p>
</blockquote>
<p dir="auto">It does not give this error using Revision 73.<br>
Maybe, "Who would want to do this"?  But I stumbled across this error.<br>
My thanks to all.  Let me know how I can conform better to the threejs society.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r95</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul dir="auto">
<li>[x ] Chrome Version 68.0.3440.106 (Official Build) (64-bit)</li>
</ul>
<h5 dir="auto">OS</h5>
<ul dir="auto">
<li>[x ] Windows</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">(*** This section is for bug reports and feature requests only. This is NOT a help site. Do not ask help questions here. If you need help, please use stackoverflow. ***)</p>
<h5 dir="auto">Description of the problem</h5>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var starsMaterialx = new THREE.PointsMaterial( { color: 0xFFFFFF, size: 5, lights: true } );
returns
Uncaught TypeError: Cannot set property 'value' of undefined
    at t (three.min.js:136)
while
var starsMaterialx = new THREE.PointsMaterial( { color: 0xFFFFFF, size: 5 } );
and
var starsMaterialx = new THREE.PointsMaterial( { color: 0xFFFFFF, size: 5, lights: false } );
works fine."><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">starsMaterialx</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">PointsMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-c1">0xFFFFFF</span><span class="pl-kos">,</span> <span class="pl-c1">size</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">lights</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">returns</span>
Uncaught <span class="pl-v">TypeError</span>: <span class="pl-v">Cannot</span> <span class="pl-s1">set</span> <span class="pl-s1">property</span> <span class="pl-s">'value'</span> <span class="pl-s1">of</span> <span class="pl-c1">undefined</span>
    <span class="pl-en">at</span> <span class="pl-s1">t</span> <span class="pl-kos">(</span><span class="pl-s1">three</span><span class="pl-kos">.</span><span class="pl-c1">min</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">136</span><span class="pl-kos">)</span>
<span class="pl-k">while</span>
<span class="pl-k">var</span> <span class="pl-s1">starsMaterialx</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">PointsMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-c1">0xFFFFFF</span><span class="pl-kos">,</span> <span class="pl-c1">size</span>: <span class="pl-c1">5</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">and</span>
<span class="pl-k">var</span> <span class="pl-s1">starsMaterialx</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">PointsMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-c1">0xFFFFFF</span><span class="pl-kos">,</span> <span class="pl-c1">size</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">lights</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">works</span> <span class="pl-s1">fine</span><span class="pl-kos">.</span></pre></div>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r82</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">iMac (Retina 5K, 27-inch, Late 2014)<br>
AMD Radeon R9 M295X 4096 MB</p>