add "canvas" to npm dependencies