In Quick Start tutorial, is undefined

In Quick Start tutorial, is undefined

I practice cocos creator with “Quick Start” tutorial.

now I add star and if purple monster hit star, destroy star and spawn star part.
but in star.js, var playerPos =; is undefined.
I check just, undefined too.

I set in Game.js same to tutorial.
newStar.getComponent(‘Star’).game = this;

but Star.js can’t find

Why do I get this error?

and in cocos creator, in starPrefab, script component(Star.js) has lock icon.
if problem is this?
here is my project file.
cocos creator version is 1.9.0.
plz help

solved. I use star.js other side to.

Hi there,

Would you mind put it clearer? What did you do to solve this problem?