Skip to content

Printing to console from within a module #60

Description

@elshor

I tried to call a module from the kernel that prints to console.log. The expected text did not show in the notebook. I also need to use the display function but it is not accessible from within the module.

Here is the code of the module:

module.exports = function(){console.log('should print this');return 44;};

The output is 44 without printing the text "should print this".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions