Unable to import Session from @jupyterlab/services

I’m trying to use the JupyterLab services in NodeJS.

I run into some strange errors while import the Session namespace. I import the Kernel and Session like this:

import { Session, Kernel } from “@jupyterlab/services”;

Then, when I try to use them, Kernel is defined and usable. However, Session is undefined.

What am I doing wrong?