TypeError: Cannot read property 'indexOf' of undefined ?

  • I got two errors when i open the project in intel xdk.

    Error opening project

    TypeError: Cannot read property 'length' of undefined

    TypeError: Cannot read property 'indexOf' of undefined

    please please please help me the solve this issue.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You are asking us to fix your teeth without opening your mouth.

  • @ Ashley,

    I am making the side shooter game for mobile platform, the game was running properly in phone, but it was slowing down after some time, so i fix the errors. Now when I am open the project in intel xdk I got two

    types of error,

    Error opening project

    TypeError: Cannot read property 'length' of undefined

    TypeError: Cannot read property 'indexOf' of undefined

    and I am finding the solution from last month but not getting answer from anyone sorry for I can not share the file.

    I have tried the another xdk file in intel xdk that's works good.

    and one another thing is some time the error has not shown in same project and apk generated successfully, but when i install that apk in phone, the app have crashed, means when i clicked on play button the game had exit.

    I hope you will suggest something.

    Thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)