Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8443013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:00:36+00:00 2026-06-10T09:00:36+00:00

I am only starting to use kineticJS but I am getting some errors after

  • 0

I am only starting to use kineticJS but I am getting some errors after following
This tutorial

I don’t understand why but I am getting an exception from inside the KineticJS file:

"Uncaught TypeError: cannot call method 'appendChild' of undefined".

When I do a step by step alert()s, I see that it stops after

var stage = new Kinetic.Stage(“rightSide”, 578, 200);

but I most definitively have:

<canvas id="rightSide">
</canvas>

I also tried:

<div id="rightSide">
</div>

and I am getting the same error.

Thanks.

Edit:
in response to the comments below, this is Copy-Paste from the tutorial:

</head>
<body>
<div id="container">
</div>
</body>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:00:38+00:00Added an answer on June 10, 2026 at 9:00 am

    There is a change in Kinetic.Stage constructor since March https://github.com/ericdrowell/KineticJS/commit/7ced50f6943af544dbdfc95883ec41728db1d3bd

    Thus @Gleeb ‘s own answer reflects current practice in KineticJS v4.0.x instead of those docs / tutorials made in the early v3 era.


    Should make a pull request for backward compatibility.. something like

    if(arguments.length>1){
     config.container =  arguments[0];
     config.width = arguments[1];
     config.height = arguments[2];
    }
    

    … in the Stage constructor.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem getting some data since I'm just starting to use LINQToEntities,
This method in Android, MotionEvent.getPointerCount () , has only been starting to use since
Only just starting out with jQuery and I'm sure this is basic stuff for
I've been starting to use Fortran (95) for some numerical code (generating python modules).
I've been using the DI concept for some time now, but now I'm starting
I'm starting to use Paper Trail gem, I have this Product model: name:string qty:integer
I'm learning Mockito. Before starting to use mock objects I had some Unit tests
Sorry for the noob question, but I'm starting to use structs in objective-c for
I am only starting to learn WPF so please bear with me if this
Is it possible to use only several starting characters of a field value as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.